@thera-hr/api-sdk 1.2.0-prerelease2400-dev-2 → 1.2.0-prerelease2413-production
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/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +11 -57
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +62 -266
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRangeRequest.d.ts +25 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +1 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -3
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -3
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +14 -14
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/Company.d.ts +1 -0
- package/api/resources/db/resources/company/types/StripeAccountInfo.d.ts +7 -0
- package/api/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.d.ts +9 -0
- package/api/resources/db/resources/company/types/index.d.ts +2 -0
- package/api/resources/db/resources/company/types/index.js +2 -0
- package/api/resources/db/resources/generic/types/GenericType.d.ts +1 -0
- package/api/resources/db/resources/index.d.ts +2 -0
- package/api/resources/db/resources/index.js +3 -1
- package/api/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.d.ts +1 -0
- package/api/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +4 -0
- package/api/resources/db/resources/paymentMethod/types/StripeAccountType.d.ts +9 -0
- package/api/resources/db/resources/paymentMethod/types/StripeAccountType.js +11 -0
- package/api/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
- package/api/resources/db/resources/paymentMethod/types/index.js +1 -0
- package/api/resources/db/resources/payoutQueue/index.d.ts +1 -0
- package/api/resources/db/resources/payoutQueue/index.js +17 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +9 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutProvider.js +11 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +50 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
- package/api/resources/db/resources/payoutQueue/types/PayoutStatus.js +12 -0
- package/api/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
- package/api/resources/db/resources/payoutQueue/types/index.js +19 -0
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +11 -57
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +62 -266
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRangeRequest.d.ts +25 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +1 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -3
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -3
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +29 -29
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +6 -6
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +11 -11
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +15 -15
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +14 -14
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/Company.d.ts +1 -0
- package/dist/api/resources/db/resources/company/types/StripeAccountInfo.d.ts +7 -0
- package/dist/api/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.d.ts +9 -0
- package/dist/api/resources/db/resources/company/types/index.d.ts +2 -0
- package/dist/api/resources/db/resources/company/types/index.js +2 -0
- package/dist/api/resources/db/resources/generic/types/GenericType.d.ts +1 -0
- package/dist/api/resources/db/resources/index.d.ts +2 -0
- package/dist/api/resources/db/resources/index.js +3 -1
- package/dist/api/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.d.ts +1 -0
- package/dist/api/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +4 -0
- package/dist/api/resources/db/resources/paymentMethod/types/StripeAccountType.d.ts +9 -0
- package/dist/api/resources/db/resources/paymentMethod/types/StripeAccountType.js +11 -0
- package/dist/api/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
- package/dist/api/resources/db/resources/paymentMethod/types/index.js +1 -0
- package/dist/api/resources/db/resources/payoutQueue/index.d.ts +1 -0
- package/dist/api/resources/db/resources/payoutQueue/index.js +17 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +9 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutProvider.js +11 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +50 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
- package/dist/api/resources/db/resources/payoutQueue/types/PayoutStatus.js +12 -0
- package/dist/api/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
- package/dist/api/resources/db/resources/payoutQueue/types/index.js +19 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +0 -4
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +1 -5
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/{ExportedInvoiceDeduction.js → GetWorkerTransactionsRangeResponse.js} +5 -6
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -3
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -3
- package/dist/serialization/resources/db/resources/company/types/Company.d.ts +2 -0
- package/dist/serialization/resources/db/resources/company/types/Company.js +2 -0
- package/dist/serialization/resources/db/resources/company/types/StripeAccountInfo.d.ts +13 -0
- package/dist/serialization/resources/{api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.js → db/resources/company/types/StripeAccountInfo.js} +6 -4
- package/dist/serialization/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.d.ts +15 -0
- package/dist/serialization/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.js +46 -0
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +2 -0
- package/dist/serialization/resources/db/resources/company/types/index.js +2 -0
- package/dist/serialization/resources/db/resources/generic/types/GenericType.d.ts +1 -0
- package/dist/serialization/resources/db/resources/generic/types/GenericType.js +1 -0
- package/dist/serialization/resources/db/resources/index.d.ts +2 -0
- package/dist/serialization/resources/db/resources/index.js +3 -1
- package/dist/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.d.ts +1 -0
- package/dist/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.js +1 -0
- package/dist/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +4 -0
- package/dist/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.js +4 -0
- package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAccountType.d.ts +10 -0
- package/dist/serialization/resources/{api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.js → db/resources/paymentMethod/types/StripeAccountType.js} +3 -3
- package/dist/serialization/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/paymentMethod/types/index.js +1 -0
- package/dist/serialization/resources/db/resources/payoutQueue/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/payoutQueue/index.js +17 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +10 -0
- package/dist/serialization/resources/{api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.js → db/resources/payoutQueue/types/PayoutProvider.js} +3 -3
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +35 -0
- package/{serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js → dist/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.js} +24 -14
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.js +41 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
- package/dist/serialization/resources/db/resources/payoutQueue/types/index.js +19 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +11 -258
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.d.ts +0 -4
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js +1 -5
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/{ExportedInvoiceDeduction.js → GetWorkerTransactionsRangeResponse.js} +5 -6
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -3
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -3
- package/serialization/resources/db/resources/company/types/Company.d.ts +2 -0
- package/serialization/resources/db/resources/company/types/Company.js +2 -0
- package/serialization/resources/db/resources/company/types/StripeAccountInfo.d.ts +13 -0
- package/{dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.js → serialization/resources/db/resources/company/types/StripeAccountInfo.js} +6 -4
- package/serialization/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.d.ts +15 -0
- package/serialization/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.js +46 -0
- package/serialization/resources/db/resources/company/types/index.d.ts +2 -0
- package/serialization/resources/db/resources/company/types/index.js +2 -0
- package/serialization/resources/db/resources/generic/types/GenericType.d.ts +1 -0
- package/serialization/resources/db/resources/generic/types/GenericType.js +1 -0
- package/serialization/resources/db/resources/index.d.ts +2 -0
- package/serialization/resources/db/resources/index.js +3 -1
- package/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.d.ts +1 -0
- package/serialization/resources/db/resources/paymentMethod/types/CompanyPaymentMethod.js +1 -0
- package/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.d.ts +4 -0
- package/serialization/resources/db/resources/paymentMethod/types/PlaidPostVerificationPaymentMethodDetails.js +4 -0
- package/serialization/resources/db/resources/paymentMethod/types/StripeAccountType.d.ts +10 -0
- package/serialization/resources/{api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.js → db/resources/paymentMethod/types/StripeAccountType.js} +3 -3
- package/serialization/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
- package/serialization/resources/db/resources/paymentMethod/types/index.js +1 -0
- package/serialization/resources/db/resources/payoutQueue/index.d.ts +1 -0
- package/serialization/resources/db/resources/payoutQueue/index.js +17 -0
- package/serialization/resources/db/resources/payoutQueue/types/PayoutProvider.d.ts +10 -0
- package/serialization/resources/{api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.js → db/resources/payoutQueue/types/PayoutProvider.js} +3 -3
- package/serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.d.ts +35 -0
- package/{dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js → serialization/resources/db/resources/payoutQueue/types/PayoutQueueItem.js} +24 -14
- package/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.d.ts +10 -0
- package/serialization/resources/db/resources/payoutQueue/types/PayoutStatus.js +41 -0
- package/serialization/resources/db/resources/payoutQueue/types/index.d.ts +3 -0
- package/serialization/resources/db/resources/payoutQueue/types/index.js +19 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.d.ts +0 -25
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.d.ts +0 -25
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.d.ts +0 -20
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.d.ts +0 -20
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -23
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -9
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -19
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.d.ts +0 -25
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.d.ts +0 -25
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.d.ts +0 -20
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.d.ts +0 -20
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -23
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -9
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -19
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js +0 -5
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.d.ts +0 -9
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.d.ts +0 -11
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.d.ts +0 -9
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.d.ts +0 -11
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -29
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -60
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -15
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -25
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesCsv.d.ts +0 -9
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.d.ts +0 -11
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerInvoicesJson.js +0 -42
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsCsv.d.ts +0 -9
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.d.ts +0 -11
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/exportWorkerWithdrawalsJson.js +0 -42
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.d.ts +0 -29
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js +0 -60
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.d.ts +0 -15
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.d.ts +0 -25
- /package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/{ExportWorkerInvoicesCsvRequest.js → GetWorkerTransactionsRangeRequest.js} +0 -0
- /package/api/resources/api/resources/thera/resources/bank/resources/bankApi/{client/requests/ExportWorkerInvoicesJsonRequest.js → types/GetWorkerTransactionsRangeResponse.js} +0 -0
- /package/api/resources/{api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.js → db/resources/company/types/StripeAccountInfo.js} +0 -0
- /package/api/resources/{api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsJsonRequest.js → db/resources/company/types/StripeMultipleAccountCustomerInfo.js} +0 -0
- /package/api/resources/{api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoice.js → db/resources/payoutQueue/types/PayoutQueueItem.js} +0 -0
- /package/{api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedInvoiceDeduction.js → dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetWorkerTransactionsRangeRequest.js} +0 -0
- /package/{api/resources/api/resources/thera/resources/bank/resources/bankApi/types/ExportedWithdrawal.js → dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetWorkerTransactionsRangeResponse.js} +0 -0
- /package/dist/api/resources/{api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesCsvRequest.js → db/resources/company/types/StripeAccountInfo.js} +0 -0
- /package/dist/api/resources/{api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerInvoicesJsonRequest.js → db/resources/company/types/StripeMultipleAccountCustomerInfo.js} +0 -0
- /package/dist/api/resources/{api/resources/thera/resources/bank/resources/bankApi/client/requests/ExportWorkerWithdrawalsCsvRequest.js → db/resources/payoutQueue/types/PayoutQueueItem.js} +0 -0
package/reference.md
CHANGED
|
@@ -2585,169 +2585,7 @@ await client.api.thera.bank.bankApi.getWorkerTransactions("string", "string", {
|
|
|
2585
2585
|
</dl>
|
|
2586
2586
|
</details>
|
|
2587
2587
|
|
|
2588
|
-
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">
|
|
2589
|
-
<dl>
|
|
2590
|
-
<dd>
|
|
2591
|
-
|
|
2592
|
-
#### 📝 Description
|
|
2593
|
-
|
|
2594
|
-
<dl>
|
|
2595
|
-
<dd>
|
|
2596
|
-
|
|
2597
|
-
<dl>
|
|
2598
|
-
<dd>
|
|
2599
|
-
|
|
2600
|
-
Get a specific worker transaction by its ledger transaction ID
|
|
2601
|
-
|
|
2602
|
-
</dd>
|
|
2603
|
-
</dl>
|
|
2604
|
-
</dd>
|
|
2605
|
-
</dl>
|
|
2606
|
-
|
|
2607
|
-
#### 🔌 Usage
|
|
2608
|
-
|
|
2609
|
-
<dl>
|
|
2610
|
-
<dd>
|
|
2611
|
-
|
|
2612
|
-
<dl>
|
|
2613
|
-
<dd>
|
|
2614
|
-
|
|
2615
|
-
```typescript
|
|
2616
|
-
await client.api.thera.bank.bankApi.getWorkerTransactionById("string", "string", "string");
|
|
2617
|
-
```
|
|
2618
|
-
|
|
2619
|
-
</dd>
|
|
2620
|
-
</dl>
|
|
2621
|
-
</dd>
|
|
2622
|
-
</dl>
|
|
2623
|
-
|
|
2624
|
-
#### ⚙️ Parameters
|
|
2625
|
-
|
|
2626
|
-
<dl>
|
|
2627
|
-
<dd>
|
|
2628
|
-
|
|
2629
|
-
<dl>
|
|
2630
|
-
<dd>
|
|
2631
|
-
|
|
2632
|
-
**userId:** `string`
|
|
2633
|
-
|
|
2634
|
-
</dd>
|
|
2635
|
-
</dl>
|
|
2636
|
-
|
|
2637
|
-
<dl>
|
|
2638
|
-
<dd>
|
|
2639
|
-
|
|
2640
|
-
**companyId:** `string`
|
|
2641
|
-
|
|
2642
|
-
</dd>
|
|
2643
|
-
</dl>
|
|
2644
|
-
|
|
2645
|
-
<dl>
|
|
2646
|
-
<dd>
|
|
2647
|
-
|
|
2648
|
-
**transactionId:** `string`
|
|
2649
|
-
|
|
2650
|
-
</dd>
|
|
2651
|
-
</dl>
|
|
2652
|
-
|
|
2653
|
-
<dl>
|
|
2654
|
-
<dd>
|
|
2655
|
-
|
|
2656
|
-
**requestOptions:** `BankApi.RequestOptions`
|
|
2657
|
-
|
|
2658
|
-
</dd>
|
|
2659
|
-
</dl>
|
|
2660
|
-
</dd>
|
|
2661
|
-
</dl>
|
|
2662
|
-
|
|
2663
|
-
</dd>
|
|
2664
|
-
</dl>
|
|
2665
|
-
</details>
|
|
2666
|
-
|
|
2667
|
-
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">exportWorkerInvoicesCsv</a>(userId, companyId, { ...params }) -> string</code></summary>
|
|
2668
|
-
<dl>
|
|
2669
|
-
<dd>
|
|
2670
|
-
|
|
2671
|
-
#### 📝 Description
|
|
2672
|
-
|
|
2673
|
-
<dl>
|
|
2674
|
-
<dd>
|
|
2675
|
-
|
|
2676
|
-
<dl>
|
|
2677
|
-
<dd>
|
|
2678
|
-
|
|
2679
|
-
Export worker invoices as CSV with optional filtering by contracts and date range
|
|
2680
|
-
|
|
2681
|
-
</dd>
|
|
2682
|
-
</dl>
|
|
2683
|
-
</dd>
|
|
2684
|
-
</dl>
|
|
2685
|
-
|
|
2686
|
-
#### 🔌 Usage
|
|
2687
|
-
|
|
2688
|
-
<dl>
|
|
2689
|
-
<dd>
|
|
2690
|
-
|
|
2691
|
-
<dl>
|
|
2692
|
-
<dd>
|
|
2693
|
-
|
|
2694
|
-
```typescript
|
|
2695
|
-
await client.api.thera.bank.bankApi.exportWorkerInvoicesCsv("string", "string", {
|
|
2696
|
-
contractIds: "string",
|
|
2697
|
-
startDate: "2023-01-15",
|
|
2698
|
-
endDate: "2023-01-15",
|
|
2699
|
-
});
|
|
2700
|
-
```
|
|
2701
|
-
|
|
2702
|
-
</dd>
|
|
2703
|
-
</dl>
|
|
2704
|
-
</dd>
|
|
2705
|
-
</dl>
|
|
2706
|
-
|
|
2707
|
-
#### ⚙️ Parameters
|
|
2708
|
-
|
|
2709
|
-
<dl>
|
|
2710
|
-
<dd>
|
|
2711
|
-
|
|
2712
|
-
<dl>
|
|
2713
|
-
<dd>
|
|
2714
|
-
|
|
2715
|
-
**userId:** `string`
|
|
2716
|
-
|
|
2717
|
-
</dd>
|
|
2718
|
-
</dl>
|
|
2719
|
-
|
|
2720
|
-
<dl>
|
|
2721
|
-
<dd>
|
|
2722
|
-
|
|
2723
|
-
**companyId:** `string`
|
|
2724
|
-
|
|
2725
|
-
</dd>
|
|
2726
|
-
</dl>
|
|
2727
|
-
|
|
2728
|
-
<dl>
|
|
2729
|
-
<dd>
|
|
2730
|
-
|
|
2731
|
-
**request:** `TheraApi.api.thera.bank.ExportWorkerInvoicesCsvRequest`
|
|
2732
|
-
|
|
2733
|
-
</dd>
|
|
2734
|
-
</dl>
|
|
2735
|
-
|
|
2736
|
-
<dl>
|
|
2737
|
-
<dd>
|
|
2738
|
-
|
|
2739
|
-
**requestOptions:** `BankApi.RequestOptions`
|
|
2740
|
-
|
|
2741
|
-
</dd>
|
|
2742
|
-
</dl>
|
|
2743
|
-
</dd>
|
|
2744
|
-
</dl>
|
|
2745
|
-
|
|
2746
|
-
</dd>
|
|
2747
|
-
</dl>
|
|
2748
|
-
</details>
|
|
2749
|
-
|
|
2750
|
-
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">exportWorkerInvoicesJson</a>(userId, companyId, { ...params }) -> TheraApi.ExportedInvoice[]</code></summary>
|
|
2588
|
+
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getWorkerTransactionsRange</a>(userId, companyId, { ...params }) -> TheraApi.GetWorkerTransactionsRangeResponse</code></summary>
|
|
2751
2589
|
<dl>
|
|
2752
2590
|
<dd>
|
|
2753
2591
|
|
|
@@ -2759,7 +2597,7 @@ await client.api.thera.bank.bankApi.exportWorkerInvoicesCsv("string", "string",
|
|
|
2759
2597
|
<dl>
|
|
2760
2598
|
<dd>
|
|
2761
2599
|
|
|
2762
|
-
|
|
2600
|
+
Get all worker transactions within a date range. Uses autoPager to fetch all results (no pagination).
|
|
2763
2601
|
|
|
2764
2602
|
</dd>
|
|
2765
2603
|
</dl>
|
|
@@ -2775,92 +2613,10 @@ Export worker invoices as JSON array with optional filtering by contracts and da
|
|
|
2775
2613
|
<dd>
|
|
2776
2614
|
|
|
2777
2615
|
```typescript
|
|
2778
|
-
await client.api.thera.bank.bankApi.
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
});
|
|
2783
|
-
```
|
|
2784
|
-
|
|
2785
|
-
</dd>
|
|
2786
|
-
</dl>
|
|
2787
|
-
</dd>
|
|
2788
|
-
</dl>
|
|
2789
|
-
|
|
2790
|
-
#### ⚙️ Parameters
|
|
2791
|
-
|
|
2792
|
-
<dl>
|
|
2793
|
-
<dd>
|
|
2794
|
-
|
|
2795
|
-
<dl>
|
|
2796
|
-
<dd>
|
|
2797
|
-
|
|
2798
|
-
**userId:** `string`
|
|
2799
|
-
|
|
2800
|
-
</dd>
|
|
2801
|
-
</dl>
|
|
2802
|
-
|
|
2803
|
-
<dl>
|
|
2804
|
-
<dd>
|
|
2805
|
-
|
|
2806
|
-
**companyId:** `string`
|
|
2807
|
-
|
|
2808
|
-
</dd>
|
|
2809
|
-
</dl>
|
|
2810
|
-
|
|
2811
|
-
<dl>
|
|
2812
|
-
<dd>
|
|
2813
|
-
|
|
2814
|
-
**request:** `TheraApi.api.thera.bank.ExportWorkerInvoicesJsonRequest`
|
|
2815
|
-
|
|
2816
|
-
</dd>
|
|
2817
|
-
</dl>
|
|
2818
|
-
|
|
2819
|
-
<dl>
|
|
2820
|
-
<dd>
|
|
2821
|
-
|
|
2822
|
-
**requestOptions:** `BankApi.RequestOptions`
|
|
2823
|
-
|
|
2824
|
-
</dd>
|
|
2825
|
-
</dl>
|
|
2826
|
-
</dd>
|
|
2827
|
-
</dl>
|
|
2828
|
-
|
|
2829
|
-
</dd>
|
|
2830
|
-
</dl>
|
|
2831
|
-
</details>
|
|
2832
|
-
|
|
2833
|
-
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">exportWorkerWithdrawalsCsv</a>(userId, companyId, { ...params }) -> string</code></summary>
|
|
2834
|
-
<dl>
|
|
2835
|
-
<dd>
|
|
2836
|
-
|
|
2837
|
-
#### 📝 Description
|
|
2838
|
-
|
|
2839
|
-
<dl>
|
|
2840
|
-
<dd>
|
|
2841
|
-
|
|
2842
|
-
<dl>
|
|
2843
|
-
<dd>
|
|
2844
|
-
|
|
2845
|
-
Export worker withdrawals as CSV with optional filtering by date range
|
|
2846
|
-
|
|
2847
|
-
</dd>
|
|
2848
|
-
</dl>
|
|
2849
|
-
</dd>
|
|
2850
|
-
</dl>
|
|
2851
|
-
|
|
2852
|
-
#### 🔌 Usage
|
|
2853
|
-
|
|
2854
|
-
<dl>
|
|
2855
|
-
<dd>
|
|
2856
|
-
|
|
2857
|
-
<dl>
|
|
2858
|
-
<dd>
|
|
2859
|
-
|
|
2860
|
-
```typescript
|
|
2861
|
-
await client.api.thera.bank.bankApi.exportWorkerWithdrawalsCsv("string", "string", {
|
|
2862
|
-
startDate: "2023-01-15",
|
|
2863
|
-
endDate: "2023-01-15",
|
|
2616
|
+
await client.api.thera.bank.bankApi.getWorkerTransactionsRange("string", "string", {
|
|
2617
|
+
startDate: "string",
|
|
2618
|
+
endDate: "string",
|
|
2619
|
+
exportAs: "string",
|
|
2864
2620
|
});
|
|
2865
2621
|
```
|
|
2866
2622
|
|
|
@@ -2893,7 +2649,7 @@ await client.api.thera.bank.bankApi.exportWorkerWithdrawalsCsv("string", "string
|
|
|
2893
2649
|
<dl>
|
|
2894
2650
|
<dd>
|
|
2895
2651
|
|
|
2896
|
-
**request:** `TheraApi.api.thera.bank.
|
|
2652
|
+
**request:** `TheraApi.api.thera.bank.GetWorkerTransactionsRangeRequest`
|
|
2897
2653
|
|
|
2898
2654
|
</dd>
|
|
2899
2655
|
</dl>
|
|
@@ -2912,7 +2668,7 @@ await client.api.thera.bank.bankApi.exportWorkerWithdrawalsCsv("string", "string
|
|
|
2912
2668
|
</dl>
|
|
2913
2669
|
</details>
|
|
2914
2670
|
|
|
2915
|
-
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">
|
|
2671
|
+
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getWorkerTransactionById</a>(userId, companyId, transactionId) -> TheraApi.WorkerTransaction</code></summary>
|
|
2916
2672
|
<dl>
|
|
2917
2673
|
<dd>
|
|
2918
2674
|
|
|
@@ -2924,7 +2680,7 @@ await client.api.thera.bank.bankApi.exportWorkerWithdrawalsCsv("string", "string
|
|
|
2924
2680
|
<dl>
|
|
2925
2681
|
<dd>
|
|
2926
2682
|
|
|
2927
|
-
|
|
2683
|
+
Get a specific worker transaction by its ledger transaction ID
|
|
2928
2684
|
|
|
2929
2685
|
</dd>
|
|
2930
2686
|
</dl>
|
|
@@ -2940,10 +2696,7 @@ Export worker withdrawals as JSON array with optional filtering by date range
|
|
|
2940
2696
|
<dd>
|
|
2941
2697
|
|
|
2942
2698
|
```typescript
|
|
2943
|
-
await client.api.thera.bank.bankApi.
|
|
2944
|
-
startDate: "2023-01-15",
|
|
2945
|
-
endDate: "2023-01-15",
|
|
2946
|
-
});
|
|
2699
|
+
await client.api.thera.bank.bankApi.getWorkerTransactionById("string", "string", "string");
|
|
2947
2700
|
```
|
|
2948
2701
|
|
|
2949
2702
|
</dd>
|
|
@@ -2975,7 +2728,7 @@ await client.api.thera.bank.bankApi.exportWorkerWithdrawalsJson("string", "strin
|
|
|
2975
2728
|
<dl>
|
|
2976
2729
|
<dd>
|
|
2977
2730
|
|
|
2978
|
-
**
|
|
2731
|
+
**transactionId:** `string`
|
|
2979
2732
|
|
|
2980
2733
|
</dd>
|
|
2981
2734
|
</dl>
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
export * as getPlaidBankDetails from "./getPlaidBankDetails";
|
|
2
2
|
export * as getSupportedWithdrawalMethods from "./getSupportedWithdrawalMethods";
|
|
3
|
-
export * as exportWorkerInvoicesCsv from "./exportWorkerInvoicesCsv";
|
|
4
|
-
export * as exportWorkerInvoicesJson from "./exportWorkerInvoicesJson";
|
|
5
|
-
export * as exportWorkerWithdrawalsCsv from "./exportWorkerWithdrawalsCsv";
|
|
6
|
-
export * as exportWorkerWithdrawalsJson from "./exportWorkerWithdrawalsJson";
|
|
7
3
|
export * from "./requests";
|
package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/index.js
CHANGED
|
@@ -36,11 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.getSupportedWithdrawalMethods = exports.getPlaidBankDetails = void 0;
|
|
40
40
|
exports.getPlaidBankDetails = __importStar(require("./getPlaidBankDetails"));
|
|
41
41
|
exports.getSupportedWithdrawalMethods = __importStar(require("./getSupportedWithdrawalMethods"));
|
|
42
|
-
exports.exportWorkerInvoicesCsv = __importStar(require("./exportWorkerInvoicesCsv"));
|
|
43
|
-
exports.exportWorkerInvoicesJson = __importStar(require("./exportWorkerInvoicesJson"));
|
|
44
|
-
exports.exportWorkerWithdrawalsCsv = __importStar(require("./exportWorkerWithdrawalsCsv"));
|
|
45
|
-
exports.exportWorkerWithdrawalsJson = __importStar(require("./exportWorkerWithdrawalsJson"));
|
|
46
42
|
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { WorkerTransaction } from "./WorkerTransaction";
|
|
8
|
+
export declare const GetWorkerTransactionsRangeResponse: core.serialization.ObjectSchema<serializers.api.thera.bank.GetWorkerTransactionsRangeResponse.Raw, TheraApi.api.thera.bank.GetWorkerTransactionsRangeResponse>;
|
|
9
|
+
export declare namespace GetWorkerTransactionsRangeResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
transactions: WorkerTransaction.Raw[];
|
|
12
|
+
csv?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -36,11 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.GetWorkerTransactionsRangeResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
description: core.serialization.string().optional(),
|
|
41
|
+
const WorkerTransaction_1 = require("./WorkerTransaction");
|
|
42
|
+
exports.GetWorkerTransactionsRangeResponse = core.serialization.object({
|
|
43
|
+
transactions: core.serialization.list(WorkerTransaction_1.WorkerTransaction),
|
|
44
|
+
csv: core.serialization.string().optional(),
|
|
46
45
|
});
|
|
@@ -61,6 +61,7 @@ export * from "./HistoricalInvoice";
|
|
|
61
61
|
export * from "./GetWorkerBalancesResponse";
|
|
62
62
|
export * from "./WorkerBalance";
|
|
63
63
|
export * from "./GetWorkerTransactionsResponse";
|
|
64
|
+
export * from "./GetWorkerTransactionsRangeResponse";
|
|
64
65
|
export * from "./WorkerTransaction";
|
|
65
66
|
export * from "./WorkerTransactionDetails";
|
|
66
67
|
export * from "./WorkerWithdrawalTransaction";
|
|
@@ -73,6 +74,3 @@ export * from "./SetAutoWithdrawalResponse";
|
|
|
73
74
|
export * from "./WorkerTransactionStatus";
|
|
74
75
|
export * from "./SetBulkAutoApproveInvoiceForTeamsRequest";
|
|
75
76
|
export * from "./GetPayInCountResponse";
|
|
76
|
-
export * from "./ExportedInvoice";
|
|
77
|
-
export * from "./ExportedInvoiceDeduction";
|
|
78
|
-
export * from "./ExportedWithdrawal";
|
package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js
CHANGED
|
@@ -77,6 +77,7 @@ __exportStar(require("./HistoricalInvoice"), exports);
|
|
|
77
77
|
__exportStar(require("./GetWorkerBalancesResponse"), exports);
|
|
78
78
|
__exportStar(require("./WorkerBalance"), exports);
|
|
79
79
|
__exportStar(require("./GetWorkerTransactionsResponse"), exports);
|
|
80
|
+
__exportStar(require("./GetWorkerTransactionsRangeResponse"), exports);
|
|
80
81
|
__exportStar(require("./WorkerTransaction"), exports);
|
|
81
82
|
__exportStar(require("./WorkerTransactionDetails"), exports);
|
|
82
83
|
__exportStar(require("./WorkerWithdrawalTransaction"), exports);
|
|
@@ -89,6 +90,3 @@ __exportStar(require("./SetAutoWithdrawalResponse"), exports);
|
|
|
89
90
|
__exportStar(require("./WorkerTransactionStatus"), exports);
|
|
90
91
|
__exportStar(require("./SetBulkAutoApproveInvoiceForTeamsRequest"), exports);
|
|
91
92
|
__exportStar(require("./GetPayInCountResponse"), exports);
|
|
92
|
-
__exportStar(require("./ExportedInvoice"), exports);
|
|
93
|
-
__exportStar(require("./ExportedInvoiceDeduction"), exports);
|
|
94
|
-
__exportStar(require("./ExportedWithdrawal"), exports);
|
|
@@ -12,6 +12,7 @@ import { Flags } from "./Flags";
|
|
|
12
12
|
import { CompanySettings } from "./CompanySettings";
|
|
13
13
|
import { BankAccountResponseMetadata } from "./BankAccountResponseMetadata";
|
|
14
14
|
import { Team } from "./Team";
|
|
15
|
+
import { StripeMultipleAccountCustomerInfo } from "./StripeMultipleAccountCustomerInfo";
|
|
15
16
|
import { TpCompanyInformation } from "./TpCompanyInformation";
|
|
16
17
|
import { MercoaCompanyDetails } from "./MercoaCompanyDetails";
|
|
17
18
|
import { CompanyAccountingInformation } from "./CompanyAccountingInformation";
|
|
@@ -44,6 +45,7 @@ export declare namespace Company {
|
|
|
44
45
|
ledgerAccountIdsByCurrency: Record<string, string>;
|
|
45
46
|
v2LedgerAccountIdsByCurrency: Record<string, string>;
|
|
46
47
|
teamsById: Record<string, Team.Raw>;
|
|
48
|
+
stripeMultipleAccountInfo?: StripeMultipleAccountCustomerInfo.Raw | null;
|
|
47
49
|
urls: string[];
|
|
48
50
|
companyDescription?: string | null;
|
|
49
51
|
tp?: TpCompanyInformation.Raw | null;
|
|
@@ -46,6 +46,7 @@ const Flags_1 = require("./Flags");
|
|
|
46
46
|
const CompanySettings_1 = require("./CompanySettings");
|
|
47
47
|
const BankAccountResponseMetadata_1 = require("./BankAccountResponseMetadata");
|
|
48
48
|
const Team_1 = require("./Team");
|
|
49
|
+
const StripeMultipleAccountCustomerInfo_1 = require("./StripeMultipleAccountCustomerInfo");
|
|
49
50
|
const TpCompanyInformation_1 = require("./TpCompanyInformation");
|
|
50
51
|
const MercoaCompanyDetails_1 = require("./MercoaCompanyDetails");
|
|
51
52
|
const CompanyAccountingInformation_1 = require("./CompanyAccountingInformation");
|
|
@@ -76,6 +77,7 @@ exports.Company = core.serialization.object({
|
|
|
76
77
|
ledgerAccountIdsByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
77
78
|
v2LedgerAccountIdsByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
78
79
|
teamsById: core.serialization.record(core.serialization.string(), Team_1.Team),
|
|
80
|
+
stripeMultipleAccountInfo: StripeMultipleAccountCustomerInfo_1.StripeMultipleAccountCustomerInfo.optional(),
|
|
79
81
|
urls: core.serialization.list(core.serialization.string()),
|
|
80
82
|
companyDescription: core.serialization.string().optional(),
|
|
81
83
|
tp: TpCompanyInformation_1.TpCompanyInformation.optional(),
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const StripeAccountInfo: core.serialization.ObjectSchema<serializers.db.StripeAccountInfo.Raw, TheraApi.db.StripeAccountInfo>;
|
|
8
|
+
export declare namespace StripeAccountInfo {
|
|
9
|
+
interface Raw {
|
|
10
|
+
stripeCustomerId: string;
|
|
11
|
+
defaultPaymentMethodId: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
exports.StripeAccountInfo = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.StripeAccountInfo = core.serialization.object({
|
|
42
|
+
stripeCustomerId: core.serialization.string(),
|
|
43
|
+
defaultPaymentMethodId: core.serialization.string(),
|
|
44
|
+
});
|
package/serialization/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { StripeAccountInfo } from "./StripeAccountInfo";
|
|
8
|
+
export declare const StripeMultipleAccountCustomerInfo: core.serialization.ObjectSchema<serializers.db.StripeMultipleAccountCustomerInfo.Raw, TheraApi.db.StripeMultipleAccountCustomerInfo>;
|
|
9
|
+
export declare namespace StripeMultipleAccountCustomerInfo {
|
|
10
|
+
interface Raw {
|
|
11
|
+
mainAccount: StripeAccountInfo.Raw;
|
|
12
|
+
revenueAccount: StripeAccountInfo.Raw;
|
|
13
|
+
eorAccount: StripeAccountInfo.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
package/serialization/resources/db/resources/company/types/StripeMultipleAccountCustomerInfo.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.StripeMultipleAccountCustomerInfo = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const StripeAccountInfo_1 = require("./StripeAccountInfo");
|
|
42
|
+
exports.StripeMultipleAccountCustomerInfo = core.serialization.object({
|
|
43
|
+
mainAccount: StripeAccountInfo_1.StripeAccountInfo,
|
|
44
|
+
revenueAccount: StripeAccountInfo_1.StripeAccountInfo,
|
|
45
|
+
eorAccount: StripeAccountInfo_1.StripeAccountInfo,
|
|
46
|
+
});
|
|
@@ -53,3 +53,5 @@ export * from "./HolidayDate";
|
|
|
53
53
|
export * from "./UserHolidaysResponse";
|
|
54
54
|
export * from "./AssociateUsersToHolidayPolicyResponse";
|
|
55
55
|
export * from "./DeleteCustomHolidayResponse";
|
|
56
|
+
export * from "./StripeMultipleAccountCustomerInfo";
|
|
57
|
+
export * from "./StripeAccountInfo";
|
|
@@ -69,3 +69,5 @@ __exportStar(require("./HolidayDate"), exports);
|
|
|
69
69
|
__exportStar(require("./UserHolidaysResponse"), exports);
|
|
70
70
|
__exportStar(require("./AssociateUsersToHolidayPolicyResponse"), exports);
|
|
71
71
|
__exportStar(require("./DeleteCustomHolidayResponse"), exports);
|
|
72
|
+
__exportStar(require("./StripeMultipleAccountCustomerInfo"), exports);
|
|
73
|
+
__exportStar(require("./StripeAccountInfo"), exports);
|
|
@@ -9,6 +9,7 @@ export declare const GenericType: core.serialization.ObjectSchema<serializers.db
|
|
|
9
9
|
export declare namespace GenericType {
|
|
10
10
|
interface Raw {
|
|
11
11
|
key: GenericTypeKey.Raw;
|
|
12
|
+
processPayouts: boolean;
|
|
12
13
|
fxLedgerAccountIdByCurrency: Record<string, string>;
|
|
13
14
|
stripeFxAccountIdByCurrency: Record<string, string>;
|
|
14
15
|
theraApAccountIdByCurrency: Record<string, string>;
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
41
41
|
const GenericTypeKey_1 = require("./GenericTypeKey");
|
|
42
42
|
exports.GenericType = core.serialization.object({
|
|
43
43
|
key: GenericTypeKey_1.GenericTypeKey,
|
|
44
|
+
processPayouts: core.serialization.boolean(),
|
|
44
45
|
fxLedgerAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
45
46
|
stripeFxAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
46
47
|
theraApAccountIdByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
|
|
@@ -16,5 +16,7 @@ export * as migrations from "./migrations";
|
|
|
16
16
|
export * from "./migrations/types";
|
|
17
17
|
export * as paymentMethod from "./paymentMethod";
|
|
18
18
|
export * from "./paymentMethod/types";
|
|
19
|
+
export * as payoutQueue from "./payoutQueue";
|
|
20
|
+
export * from "./payoutQueue/types";
|
|
19
21
|
export * as user from "./user";
|
|
20
22
|
export * from "./user/types";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.user = exports.paymentMethod = exports.migrations = exports.invoice = exports.generic = exports.expense = exports.employment = exports.document = exports.contract = exports.company = void 0;
|
|
39
|
+
exports.user = exports.payoutQueue = exports.paymentMethod = exports.migrations = exports.invoice = exports.generic = exports.expense = exports.employment = exports.document = exports.contract = exports.company = void 0;
|
|
40
40
|
exports.company = __importStar(require("./company"));
|
|
41
41
|
__exportStar(require("./company/types"), exports);
|
|
42
42
|
exports.contract = __importStar(require("./contract"));
|
|
@@ -55,5 +55,7 @@ exports.migrations = __importStar(require("./migrations"));
|
|
|
55
55
|
__exportStar(require("./migrations/types"), exports);
|
|
56
56
|
exports.paymentMethod = __importStar(require("./paymentMethod"));
|
|
57
57
|
__exportStar(require("./paymentMethod/types"), exports);
|
|
58
|
+
exports.payoutQueue = __importStar(require("./payoutQueue"));
|
|
59
|
+
__exportStar(require("./payoutQueue/types"), exports);
|
|
58
60
|
exports.user = __importStar(require("./user"));
|
|
59
61
|
__exportStar(require("./user/types"), exports);
|
|
@@ -50,4 +50,5 @@ exports.CompanyPaymentMethod = core.serialization.object({
|
|
|
50
50
|
details: PaymentMethodDetails_1.PaymentMethodDetails,
|
|
51
51
|
deletionDetails: CompanyPaymentMethodDeletionDetails_1.CompanyPaymentMethodDeletionDetails.optional(),
|
|
52
52
|
stripeMandateStatus: StripeMandateStatus_1.StripeMandateStatus.optional(),
|
|
53
|
+
stripeCustomerId: core.serialization.string().optional(),
|
|
53
54
|
});
|
|
@@ -4,10 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as TheraApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
+
import { StripeAccountType } from "./StripeAccountType";
|
|
7
8
|
export declare const PlaidPostVerificationPaymentMethodDetails: core.serialization.ObjectSchema<serializers.db.PlaidPostVerificationPaymentMethodDetails.Raw, TheraApi.db.PlaidPostVerificationPaymentMethodDetails>;
|
|
8
9
|
export declare namespace PlaidPostVerificationPaymentMethodDetails {
|
|
9
10
|
interface Raw {
|
|
10
11
|
stripePaymentMethodId: string;
|
|
12
|
+
revenueStripePaymentMethodId?: string | null;
|
|
13
|
+
eorStripePaymentMethodId?: string | null;
|
|
11
14
|
stripeBankAccountToken: string;
|
|
12
15
|
tpPlaidProcessorToken?: string | null;
|
|
13
16
|
tpCounterPartyId?: string | null;
|
|
@@ -15,5 +18,6 @@ export declare namespace PlaidPostVerificationPaymentMethodDetails {
|
|
|
15
18
|
checkBankAccountId?: string | null;
|
|
16
19
|
accountNumber: string;
|
|
17
20
|
routingNumber: string;
|
|
21
|
+
accountType?: StripeAccountType.Raw | null;
|
|
18
22
|
}
|
|
19
23
|
}
|
|
@@ -38,8 +38,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.PlaidPostVerificationPaymentMethodDetails = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const StripeAccountType_1 = require("./StripeAccountType");
|
|
41
42
|
exports.PlaidPostVerificationPaymentMethodDetails = core.serialization.object({
|
|
42
43
|
stripePaymentMethodId: core.serialization.string(),
|
|
44
|
+
revenueStripePaymentMethodId: core.serialization.string().optional(),
|
|
45
|
+
eorStripePaymentMethodId: core.serialization.string().optional(),
|
|
43
46
|
stripeBankAccountToken: core.serialization.string(),
|
|
44
47
|
tpPlaidProcessorToken: core.serialization.string().optional(),
|
|
45
48
|
tpCounterPartyId: core.serialization.string().optional(),
|
|
@@ -47,4 +50,5 @@ exports.PlaidPostVerificationPaymentMethodDetails = core.serialization.object({
|
|
|
47
50
|
checkBankAccountId: core.serialization.string().optional(),
|
|
48
51
|
accountNumber: core.serialization.string(),
|
|
49
52
|
routingNumber: core.serialization.string(),
|
|
53
|
+
accountType: StripeAccountType_1.StripeAccountType.optional(),
|
|
50
54
|
});
|