@thera-hr/api-sdk 0.0.1-prerelease2663-dev-anthony → 0.0.1-prerelease2664-staging
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/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 +18 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +93 -31
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/{client/requests → types}/SetAutoPayRequest.d.ts +0 -8
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- 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.d.ts +2 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +9 -8
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.d.ts +3 -1
- 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/misc/resources/misc/client/Client.js +5 -5
- 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 +3 -3
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- 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 +10 -10
- 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 -1
- package/api/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
- package/api/resources/db/resources/company/types/EnabledApps.d.ts +2 -1
- package/{dist/api/resources/db/resources/company/types/MoniteCompanyDetails.d.ts → api/resources/db/resources/company/types/MercoaCompanyDetails.d.ts} +1 -1
- package/api/resources/db/resources/company/types/RequestedToEnableApps.d.ts +2 -1
- package/api/resources/db/resources/company/types/index.d.ts +1 -1
- package/api/resources/db/resources/company/types/index.js +1 -1
- package/api/resources/db/resources/index.d.ts +2 -0
- package/api/resources/db/resources/index.js +3 -1
- package/api/resources/db/resources/migrations/index.d.ts +1 -0
- package/api/resources/db/resources/migrations/index.js +17 -0
- package/api/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.d.ts +7 -0
- package/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +10 -0
- package/api/resources/db/resources/migrations/types/LedgerMigrationType.d.ts +8 -0
- package/api/resources/db/resources/migrations/types/LedgerMigrationType.js +10 -0
- package/api/resources/db/resources/migrations/types/MigrationLog.d.ts +12 -0
- package/api/resources/db/resources/migrations/types/MigrationMetadata.d.ts +10 -0
- package/api/resources/db/resources/migrations/types/MigrationMetadata.js +5 -0
- package/api/resources/db/resources/migrations/types/MigrationStatus.d.ts +8 -0
- package/api/resources/db/resources/migrations/types/MigrationStatus.js +10 -0
- package/api/resources/db/resources/migrations/types/MigrationType.d.ts +7 -0
- package/api/resources/db/resources/migrations/types/MigrationType.js +9 -0
- package/api/resources/db/resources/migrations/types/index.d.ts +7 -0
- package/api/resources/db/resources/migrations/types/index.js +23 -0
- package/api/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +1 -1
- package/api/resources/db/resources/user/types/MercoaUserDetails.js +5 -0
- package/api/resources/db/resources/user/types/MfaType.d.ts +3 -1
- package/api/resources/db/resources/user/types/MfaType.js +2 -0
- package/api/resources/db/resources/user/types/User.d.ts +1 -1
- package/api/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/api/resources/db/resources/user/types/index.d.ts +1 -1
- package/api/resources/db/resources/user/types/index.js +1 -1
- 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/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 +18 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +93 -31
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/{client/requests → types}/SetAutoPayRequest.d.ts +0 -8
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetAutoPayRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- 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/companyApi/types/Manager.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- 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.d.ts +2 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +9 -8
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.d.ts +3 -1
- 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/misc/resources/misc/client/Client.js +5 -5
- 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 +3 -3
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- 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 +10 -10
- 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 -1
- package/dist/api/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
- package/dist/api/resources/db/resources/company/types/EnabledApps.d.ts +2 -1
- package/{api/resources/db/resources/company/types/MoniteCompanyDetails.d.ts → dist/api/resources/db/resources/company/types/MercoaCompanyDetails.d.ts} +1 -1
- package/dist/api/resources/db/resources/company/types/MercoaCompanyDetails.js +5 -0
- package/dist/api/resources/db/resources/company/types/RequestedToEnableApps.d.ts +2 -1
- package/dist/api/resources/db/resources/company/types/index.d.ts +1 -1
- package/dist/api/resources/db/resources/company/types/index.js +1 -1
- 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/migrations/index.d.ts +1 -0
- package/dist/api/resources/db/resources/migrations/index.js +17 -0
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.d.ts +7 -0
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js +5 -0
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +10 -0
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +5 -0
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationType.d.ts +8 -0
- package/dist/api/resources/db/resources/migrations/types/LedgerMigrationType.js +10 -0
- package/dist/api/resources/db/resources/migrations/types/MigrationLog.d.ts +12 -0
- package/dist/api/resources/db/resources/migrations/types/MigrationLog.js +5 -0
- package/dist/api/resources/db/resources/migrations/types/MigrationMetadata.d.ts +10 -0
- package/dist/api/resources/db/resources/migrations/types/MigrationMetadata.js +5 -0
- package/dist/api/resources/db/resources/migrations/types/MigrationStatus.d.ts +8 -0
- package/dist/api/resources/db/resources/migrations/types/MigrationStatus.js +10 -0
- package/dist/api/resources/db/resources/migrations/types/MigrationType.d.ts +7 -0
- package/dist/api/resources/db/resources/migrations/types/MigrationType.js +9 -0
- package/dist/api/resources/db/resources/migrations/types/index.d.ts +7 -0
- package/dist/api/resources/db/resources/migrations/types/index.js +23 -0
- package/dist/api/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +1 -1
- package/dist/api/resources/db/resources/user/types/MercoaUserDetails.js +5 -0
- package/dist/api/resources/db/resources/user/types/MfaType.d.ts +3 -1
- package/dist/api/resources/db/resources/user/types/MfaType.js +2 -0
- package/dist/api/resources/db/resources/user/types/User.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/dist/api/resources/db/resources/user/types/index.d.ts +1 -1
- package/dist/api/resources/db/resources/user/types/index.js +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.js +1 -3
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetAutoPayRequest.d.ts +13 -0
- package/{serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests → dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types}/SetAutoPayRequest.js +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.js +34 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.d.ts +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.js +2 -1
- package/dist/serialization/resources/db/resources/company/types/Company.d.ts +2 -2
- package/dist/serialization/resources/db/resources/company/types/Company.js +2 -2
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/types/CompanySettings.js +1 -0
- package/dist/serialization/resources/db/resources/company/types/EnabledApps.d.ts +2 -1
- package/dist/serialization/resources/db/resources/company/types/EnabledApps.js +2 -1
- package/{serialization/resources/db/resources/company/types/MoniteCompanyDetails.d.ts → dist/serialization/resources/db/resources/company/types/MercoaCompanyDetails.d.ts} +2 -2
- package/{serialization/resources/db/resources/company/types/MoniteCompanyDetails.js → dist/serialization/resources/db/resources/company/types/MercoaCompanyDetails.js} +2 -2
- package/dist/serialization/resources/db/resources/company/types/RequestedToEnableApps.d.ts +2 -1
- package/dist/serialization/resources/db/resources/company/types/RequestedToEnableApps.js +2 -1
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -1
- package/dist/serialization/resources/db/resources/company/types/index.js +1 -1
- 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/migrations/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/migrations/index.js +17 -0
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.d.ts +13 -0
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js +34 -0
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +17 -0
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +38 -0
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationType.d.ts +10 -0
- package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationType.js +31 -0
- package/dist/serialization/resources/db/resources/migrations/types/MigrationLog.d.ts +20 -0
- package/dist/serialization/resources/db/resources/migrations/types/MigrationLog.js +41 -0
- package/dist/serialization/resources/db/resources/migrations/types/MigrationMetadata.d.ts +14 -0
- package/dist/serialization/resources/db/resources/migrations/types/MigrationMetadata.js +39 -0
- package/dist/serialization/resources/db/resources/migrations/types/MigrationStatus.d.ts +10 -0
- package/dist/serialization/resources/db/resources/migrations/types/MigrationStatus.js +31 -0
- package/dist/serialization/resources/db/resources/migrations/types/MigrationType.d.ts +10 -0
- package/dist/serialization/resources/db/resources/migrations/types/MigrationType.js +31 -0
- package/dist/serialization/resources/db/resources/migrations/types/index.d.ts +7 -0
- package/dist/serialization/resources/db/resources/migrations/types/index.js +23 -0
- package/dist/serialization/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +2 -2
- package/dist/serialization/resources/db/resources/user/types/{MoniteUserDetails.js → MercoaUserDetails.js} +2 -2
- package/dist/serialization/resources/db/resources/user/types/MfaType.d.ts +1 -1
- package/dist/serialization/resources/db/resources/user/types/MfaType.js +1 -1
- package/dist/serialization/resources/db/resources/user/types/User.d.ts +2 -2
- package/dist/serialization/resources/db/resources/user/types/User.js +2 -2
- package/dist/serialization/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/dist/serialization/resources/db/resources/user/types/UserCompanySettings.js +0 -1
- package/dist/serialization/resources/db/resources/user/types/index.d.ts +1 -1
- package/dist/serialization/resources/db/resources/user/types/index.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.js +1 -3
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetAutoPayRequest.d.ts +13 -0
- package/{dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests → serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types}/SetAutoPayRequest.js +1 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.js +34 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +2 -2
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +2 -2
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.d.ts +2 -1
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.js +2 -1
- package/serialization/resources/db/resources/company/types/Company.d.ts +2 -2
- package/serialization/resources/db/resources/company/types/Company.js +2 -2
- package/serialization/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
- package/serialization/resources/db/resources/company/types/CompanySettings.js +1 -0
- package/serialization/resources/db/resources/company/types/EnabledApps.d.ts +2 -1
- package/serialization/resources/db/resources/company/types/EnabledApps.js +2 -1
- package/{dist/serialization/resources/db/resources/company/types/MoniteCompanyDetails.d.ts → serialization/resources/db/resources/company/types/MercoaCompanyDetails.d.ts} +2 -2
- package/{dist/serialization/resources/db/resources/company/types/MoniteCompanyDetails.js → serialization/resources/db/resources/company/types/MercoaCompanyDetails.js} +2 -2
- package/serialization/resources/db/resources/company/types/RequestedToEnableApps.d.ts +2 -1
- package/serialization/resources/db/resources/company/types/RequestedToEnableApps.js +2 -1
- package/serialization/resources/db/resources/company/types/index.d.ts +1 -1
- package/serialization/resources/db/resources/company/types/index.js +1 -1
- package/serialization/resources/db/resources/index.d.ts +2 -0
- package/serialization/resources/db/resources/index.js +3 -1
- package/serialization/resources/db/resources/migrations/index.d.ts +1 -0
- package/serialization/resources/db/resources/migrations/index.js +17 -0
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.d.ts +13 -0
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js +34 -0
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +17 -0
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +38 -0
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationType.d.ts +10 -0
- package/serialization/resources/db/resources/migrations/types/LedgerMigrationType.js +31 -0
- package/serialization/resources/db/resources/migrations/types/MigrationLog.d.ts +20 -0
- package/serialization/resources/db/resources/migrations/types/MigrationLog.js +41 -0
- package/serialization/resources/db/resources/migrations/types/MigrationMetadata.d.ts +14 -0
- package/serialization/resources/db/resources/migrations/types/MigrationMetadata.js +39 -0
- package/serialization/resources/db/resources/migrations/types/MigrationStatus.d.ts +10 -0
- package/serialization/resources/db/resources/migrations/types/MigrationStatus.js +31 -0
- package/serialization/resources/db/resources/migrations/types/MigrationType.d.ts +10 -0
- package/serialization/resources/db/resources/migrations/types/MigrationType.js +31 -0
- package/serialization/resources/db/resources/migrations/types/index.d.ts +7 -0
- package/serialization/resources/db/resources/migrations/types/index.js +23 -0
- package/serialization/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +2 -2
- package/serialization/resources/db/resources/user/types/{MoniteUserDetails.js → MercoaUserDetails.js} +2 -2
- package/serialization/resources/db/resources/user/types/MfaType.d.ts +1 -1
- package/serialization/resources/db/resources/user/types/MfaType.js +1 -1
- package/serialization/resources/db/resources/user/types/User.d.ts +2 -2
- package/serialization/resources/db/resources/user/types/User.js +2 -2
- package/serialization/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
- package/serialization/resources/db/resources/user/types/UserCompanySettings.js +0 -1
- package/serialization/resources/db/resources/user/types/index.d.ts +1 -1
- package/serialization/resources/db/resources/user/types/index.js +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/SetAutoPayRequest.d.ts +0 -13
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/SetAutoPayRequest.d.ts +0 -13
- /package/api/resources/api/resources/thera/resources/bank/resources/bankApi/{client/requests → types}/SetAutoPayRequest.js +0 -0
- /package/api/resources/{db/resources/company/types/MoniteCompanyDetails.js → api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.js} +0 -0
- /package/api/resources/db/resources/{user/types/MoniteUserDetails.js → company/types/MercoaCompanyDetails.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/SetAutoPayRequest.js → api/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js} +0 -0
- /package/{dist/api/resources/db/resources/company/types/MoniteCompanyDetails.js → api/resources/db/resources/migrations/types/LedgerMigrationMetadata.js} +0 -0
- /package/{dist/api/resources/db/resources/user/types/MoniteUserDetails.js → api/resources/db/resources/migrations/types/MigrationLog.js} +0 -0
package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js
CHANGED
|
@@ -71,7 +71,7 @@ class UserApi {
|
|
|
71
71
|
Authorization: yield this._getAuthorizationHeader(),
|
|
72
72
|
"X-Fern-Language": "JavaScript",
|
|
73
73
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
74
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
74
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2664-staging",
|
|
75
75
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
76
76
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
77
77
|
},
|
|
@@ -137,7 +137,7 @@ class UserApi {
|
|
|
137
137
|
Authorization: yield this._getAuthorizationHeader(),
|
|
138
138
|
"X-Fern-Language": "JavaScript",
|
|
139
139
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
140
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
140
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2664-staging",
|
|
141
141
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
142
142
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
143
143
|
},
|
|
@@ -200,7 +200,7 @@ class UserApi {
|
|
|
200
200
|
Authorization: yield this._getAuthorizationHeader(),
|
|
201
201
|
"X-Fern-Language": "JavaScript",
|
|
202
202
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
203
|
-
"X-Fern-SDK-Version": "0.0.1-
|
|
203
|
+
"X-Fern-SDK-Version": "0.0.1-prerelease2664-staging",
|
|
204
204
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
205
205
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
206
206
|
},
|
|
@@ -47,7 +47,7 @@ export interface Company {
|
|
|
47
47
|
*/
|
|
48
48
|
onboarderUserId?: string;
|
|
49
49
|
creationTimestamp?: Date;
|
|
50
|
-
|
|
50
|
+
mercoaCompanyDetails?: TheraApi.db.MercoaCompanyDetails;
|
|
51
51
|
companyAccountingInformation?: TheraApi.db.CompanyAccountingInformation;
|
|
52
52
|
companyBankingDetails?: TheraApi.db.CompanyBankingDetails;
|
|
53
53
|
}
|
|
@@ -37,7 +37,7 @@ export * from "./W2ImplementationStatus";
|
|
|
37
37
|
export * from "./CompanyPayFrequency";
|
|
38
38
|
export * from "./PayrollRun";
|
|
39
39
|
export * from "./PaymentMethodStatus";
|
|
40
|
-
export * from "./
|
|
40
|
+
export * from "./MercoaCompanyDetails";
|
|
41
41
|
export * from "./AddCompanyBeneficiary";
|
|
42
42
|
export * from "./CompanyBeneficiary";
|
|
43
43
|
export * from "./CompanyBankingDetails";
|
|
@@ -53,7 +53,7 @@ __exportStar(require("./W2ImplementationStatus"), exports);
|
|
|
53
53
|
__exportStar(require("./CompanyPayFrequency"), exports);
|
|
54
54
|
__exportStar(require("./PayrollRun"), exports);
|
|
55
55
|
__exportStar(require("./PaymentMethodStatus"), exports);
|
|
56
|
-
__exportStar(require("./
|
|
56
|
+
__exportStar(require("./MercoaCompanyDetails"), exports);
|
|
57
57
|
__exportStar(require("./AddCompanyBeneficiary"), exports);
|
|
58
58
|
__exportStar(require("./CompanyBeneficiary"), exports);
|
|
59
59
|
__exportStar(require("./CompanyBankingDetails"), exports);
|
|
@@ -10,6 +10,8 @@ export * as generic from "./generic";
|
|
|
10
10
|
export * from "./generic/types";
|
|
11
11
|
export * as invoice from "./invoice";
|
|
12
12
|
export * from "./invoice/types";
|
|
13
|
+
export * as migrations from "./migrations";
|
|
14
|
+
export * from "./migrations/types";
|
|
13
15
|
export * as paymentMethod from "./paymentMethod";
|
|
14
16
|
export * from "./paymentMethod/types";
|
|
15
17
|
export * as user from "./user";
|
|
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.user = exports.paymentMethod = exports.invoice = exports.generic = exports.employment = exports.document = exports.contract = exports.company = void 0;
|
|
29
|
+
exports.user = exports.paymentMethod = exports.migrations = exports.invoice = exports.generic = exports.employment = exports.document = exports.contract = exports.company = void 0;
|
|
30
30
|
exports.company = __importStar(require("./company"));
|
|
31
31
|
__exportStar(require("./company/types"), exports);
|
|
32
32
|
exports.contract = __importStar(require("./contract"));
|
|
@@ -39,6 +39,8 @@ exports.generic = __importStar(require("./generic"));
|
|
|
39
39
|
__exportStar(require("./generic/types"), exports);
|
|
40
40
|
exports.invoice = __importStar(require("./invoice"));
|
|
41
41
|
__exportStar(require("./invoice/types"), exports);
|
|
42
|
+
exports.migrations = __importStar(require("./migrations"));
|
|
43
|
+
__exportStar(require("./migrations/types"), exports);
|
|
42
44
|
exports.paymentMethod = __importStar(require("./paymentMethod"));
|
|
43
45
|
__exportStar(require("./paymentMethod/types"), exports);
|
|
44
46
|
exports.user = __importStar(require("./user"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TheraApi from "../../../../../index";
|
|
5
|
+
export interface LedgerMigrationMetadata {
|
|
6
|
+
ledgerMigrationType: TheraApi.db.LedgerMigrationType;
|
|
7
|
+
sourceLedgerTrxId: string[];
|
|
8
|
+
additionalData: Record<string, string>;
|
|
9
|
+
errorMetadata?: TheraApi.db.LedgerMigrationErrorMetadata;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type LedgerMigrationType = "STRIPE_PAY_IN_V1_V2" | "WISE_PAY_OUT_V1_V2";
|
|
5
|
+
export declare const LedgerMigrationType: {
|
|
6
|
+
readonly StripePayInV1V2: "STRIPE_PAY_IN_V1_V2";
|
|
7
|
+
readonly WisePayOutV1V2: "WISE_PAY_OUT_V1_V2";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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.LedgerMigrationType = void 0;
|
|
7
|
+
exports.LedgerMigrationType = {
|
|
8
|
+
StripePayInV1V2: "STRIPE_PAY_IN_V1_V2",
|
|
9
|
+
WisePayOutV1V2: "WISE_PAY_OUT_V1_V2",
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TheraApi from "../../../../../index";
|
|
5
|
+
export interface MigrationLog {
|
|
6
|
+
id: string;
|
|
7
|
+
runId: string;
|
|
8
|
+
createdAt: Date;
|
|
9
|
+
type: TheraApi.db.MigrationType;
|
|
10
|
+
status: TheraApi.db.MigrationStatus;
|
|
11
|
+
metadata: TheraApi.db.MigrationMetadata;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TheraApi from "../../../../../index";
|
|
5
|
+
export declare type MigrationMetadata = TheraApi.db.MigrationMetadata.LedgerMigration;
|
|
6
|
+
export declare namespace MigrationMetadata {
|
|
7
|
+
interface LedgerMigration extends TheraApi.db.LedgerMigrationMetadata {
|
|
8
|
+
type: "ledgerMigration";
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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.MigrationStatus = void 0;
|
|
7
|
+
exports.MigrationStatus = {
|
|
8
|
+
Success: "SUCCESS",
|
|
9
|
+
Failure: "FAILURE",
|
|
10
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./MigrationLog";
|
|
2
|
+
export * from "./MigrationType";
|
|
3
|
+
export * from "./MigrationStatus";
|
|
4
|
+
export * from "./MigrationMetadata";
|
|
5
|
+
export * from "./LedgerMigrationMetadata";
|
|
6
|
+
export * from "./LedgerMigrationType";
|
|
7
|
+
export * from "./LedgerMigrationErrorMetadata";
|
|
@@ -0,0 +1,23 @@
|
|
|
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("./MigrationLog"), exports);
|
|
18
|
+
__exportStar(require("./MigrationType"), exports);
|
|
19
|
+
__exportStar(require("./MigrationStatus"), exports);
|
|
20
|
+
__exportStar(require("./MigrationMetadata"), exports);
|
|
21
|
+
__exportStar(require("./LedgerMigrationMetadata"), exports);
|
|
22
|
+
__exportStar(require("./LedgerMigrationType"), exports);
|
|
23
|
+
__exportStar(require("./LedgerMigrationErrorMetadata"), exports);
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type MfaType = "EMAIL" | "TOTP";
|
|
4
|
+
export declare type MfaType = "EMAIL" | "TOTP" | "SMS" | "WHATSAPP";
|
|
5
5
|
export declare const MfaType: {
|
|
6
6
|
readonly Email: "EMAIL";
|
|
7
7
|
readonly Totp: "TOTP";
|
|
8
|
+
readonly Sms: "SMS";
|
|
9
|
+
readonly Whatsapp: "WHATSAPP";
|
|
8
10
|
};
|
|
@@ -11,7 +11,7 @@ export interface User {
|
|
|
11
11
|
employeeInformation: TheraApi.db.EmployeeInformation;
|
|
12
12
|
lastPosthogEventDate: string;
|
|
13
13
|
creationTimestamp?: Date;
|
|
14
|
-
|
|
14
|
+
mercoaUserDetails?: TheraApi.db.MercoaUserDetails;
|
|
15
15
|
mfaUserDetails?: TheraApi.db.MfaUserDetails;
|
|
16
16
|
/** Map of company IDs to their notification settings */
|
|
17
17
|
notificationsByCompanyId: Record<string, TheraApi.db.NotificationAlerts>;
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as TheraApi from "../../../../../index";
|
|
5
5
|
export interface UserCompanySettings {
|
|
6
|
-
v2AccountIdsByCurrency: Record<string, string>;
|
|
7
6
|
accountIdsByCurrency: Record<string, string>;
|
|
8
7
|
autoWithdrawalsOn: boolean;
|
|
9
8
|
documents?: TheraApi.db.UserCompanyDocuments;
|
|
@@ -32,7 +32,7 @@ export * from "./UserCompanyDocuments";
|
|
|
32
32
|
export * from "./UsIrs1099NecDocumentIds";
|
|
33
33
|
export * from "./UserApiResponse";
|
|
34
34
|
export * from "./EmployeeInformationResponse";
|
|
35
|
-
export * from "./
|
|
35
|
+
export * from "./MercoaUserDetails";
|
|
36
36
|
export * from "./MfaType";
|
|
37
37
|
export * from "./MfaUserDetails";
|
|
38
38
|
export * from "./NotificationAlerts";
|
|
@@ -48,7 +48,7 @@ __exportStar(require("./UserCompanyDocuments"), exports);
|
|
|
48
48
|
__exportStar(require("./UsIrs1099NecDocumentIds"), exports);
|
|
49
49
|
__exportStar(require("./UserApiResponse"), exports);
|
|
50
50
|
__exportStar(require("./EmployeeInformationResponse"), exports);
|
|
51
|
-
__exportStar(require("./
|
|
51
|
+
__exportStar(require("./MercoaUserDetails"), exports);
|
|
52
52
|
__exportStar(require("./MfaType"), exports);
|
|
53
53
|
__exportStar(require("./MfaUserDetails"), exports);
|
|
54
54
|
__exportStar(require("./NotificationAlerts"), exports);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { PlaidUpdateFlowLinkTokenRequest } from "./PlaidUpdateFlowLinkTokenRequest";
|
|
2
2
|
export { VerifyAccountSignupRequest } from "./VerifyAccountSignupRequest";
|
|
3
|
-
export { SetAutoPayRequest } from "./SetAutoPayRequest";
|
|
4
3
|
export { EditWithdrawalMethodRequest } from "./EditWithdrawalMethodRequest";
|
|
5
4
|
export { SetAutoWithdrawalRequest } from "./SetAutoWithdrawalRequest";
|
|
6
5
|
export { CreateCheckPaymentMethodFromPlaidRequest } from "./CreateCheckPaymentMethodFromPlaidRequest";
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateStripePaymentMethodFromPlaidRequest = exports.CreateCheckPaymentMethodFromPlaidRequest = exports.SetAutoWithdrawalRequest = exports.EditWithdrawalMethodRequest = exports.
|
|
3
|
+
exports.CreateStripePaymentMethodFromPlaidRequest = exports.CreateCheckPaymentMethodFromPlaidRequest = exports.SetAutoWithdrawalRequest = exports.EditWithdrawalMethodRequest = exports.VerifyAccountSignupRequest = exports.PlaidUpdateFlowLinkTokenRequest = void 0;
|
|
4
4
|
var PlaidUpdateFlowLinkTokenRequest_1 = require("./PlaidUpdateFlowLinkTokenRequest");
|
|
5
5
|
Object.defineProperty(exports, "PlaidUpdateFlowLinkTokenRequest", { enumerable: true, get: function () { return PlaidUpdateFlowLinkTokenRequest_1.PlaidUpdateFlowLinkTokenRequest; } });
|
|
6
6
|
var VerifyAccountSignupRequest_1 = require("./VerifyAccountSignupRequest");
|
|
7
7
|
Object.defineProperty(exports, "VerifyAccountSignupRequest", { enumerable: true, get: function () { return VerifyAccountSignupRequest_1.VerifyAccountSignupRequest; } });
|
|
8
|
-
var SetAutoPayRequest_1 = require("./SetAutoPayRequest");
|
|
9
|
-
Object.defineProperty(exports, "SetAutoPayRequest", { enumerable: true, get: function () { return SetAutoPayRequest_1.SetAutoPayRequest; } });
|
|
10
8
|
var EditWithdrawalMethodRequest_1 = require("./EditWithdrawalMethodRequest");
|
|
11
9
|
Object.defineProperty(exports, "EditWithdrawalMethodRequest", { enumerable: true, get: function () { return EditWithdrawalMethodRequest_1.EditWithdrawalMethodRequest; } });
|
|
12
10
|
var SetAutoWithdrawalRequest_1 = require("./SetAutoWithdrawalRequest");
|
|
@@ -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 SetAutoPayRequest: core.serialization.ObjectSchema<serializers.api.thera.bank.SetAutoPayRequest.Raw, TheraApi.api.thera.bank.SetAutoPayRequest>;
|
|
8
|
+
export declare namespace SetAutoPayRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
paymentMethodId?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.SetAutoPayRequest = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
31
|
exports.SetAutoPayRequest = core.serialization.object({
|
|
32
32
|
enabled: core.serialization.boolean(),
|
|
33
33
|
paymentMethodId: core.serialization.string().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
|
+
import { SetAutoPayRequest } from "./SetAutoPayRequest";
|
|
8
|
+
export declare const SetBulkAutoPayForTeamsRequest: core.serialization.ObjectSchema<serializers.api.thera.bank.SetBulkAutoPayForTeamsRequest.Raw, TheraApi.api.thera.bank.SetBulkAutoPayForTeamsRequest>;
|
|
9
|
+
export declare namespace SetBulkAutoPayForTeamsRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
autopayRequestByTeamId: Record<string, SetAutoPayRequest.Raw>;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.SetBulkAutoPayForTeamsRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
+
const SetAutoPayRequest_1 = require("./SetAutoPayRequest");
|
|
32
|
+
exports.SetBulkAutoPayForTeamsRequest = core.serialization.object({
|
|
33
|
+
autopayRequestByTeamId: core.serialization.record(core.serialization.string(), SetAutoPayRequest_1.SetAutoPayRequest),
|
|
34
|
+
});
|
|
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./SetAutoPayRequest"), exports);
|
|
18
|
+
__exportStar(require("./SetBulkAutoPayForTeamsRequest"), exports);
|
|
17
19
|
__exportStar(require("./ReattachStripeAccountMandateRequest"), exports);
|
|
18
20
|
__exportStar(require("./CompleteAccountSignupRequest"), exports);
|
|
19
21
|
__exportStar(require("./GetPaymentMethodsResponse"), exports);
|
|
@@ -6,12 +6,12 @@ import * as TheraApi from "../../../../../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../../../../../core";
|
|
7
7
|
import { UserApiResponse } from "../../../../../../../../db/resources/user/types/UserApiResponse";
|
|
8
8
|
import { CompanyPermissions } from "./CompanyPermissions";
|
|
9
|
-
import {
|
|
9
|
+
import { MercoaUserDetails } from "../../../../../../../../db/resources/user/types/MercoaUserDetails";
|
|
10
10
|
export declare const Manager: core.serialization.ObjectSchema<serializers.api.thera.company.Manager.Raw, TheraApi.api.thera.company.Manager>;
|
|
11
11
|
export declare namespace Manager {
|
|
12
12
|
interface Raw {
|
|
13
13
|
user: UserApiResponse.Raw;
|
|
14
14
|
companyPermissions: CompanyPermissions.Raw;
|
|
15
|
-
|
|
15
|
+
mercoaUserDetails?: MercoaUserDetails.Raw | null;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -30,9 +30,9 @@ exports.Manager = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
31
|
const UserApiResponse_1 = require("../../../../../../../../db/resources/user/types/UserApiResponse");
|
|
32
32
|
const CompanyPermissions_1 = require("./CompanyPermissions");
|
|
33
|
-
const
|
|
33
|
+
const MercoaUserDetails_1 = require("../../../../../../../../db/resources/user/types/MercoaUserDetails");
|
|
34
34
|
exports.Manager = core.serialization.object({
|
|
35
35
|
user: UserApiResponse_1.UserApiResponse,
|
|
36
36
|
companyPermissions: CompanyPermissions_1.CompanyPermissions,
|
|
37
|
-
|
|
37
|
+
mercoaUserDetails: MercoaUserDetails_1.MercoaUserDetails.optional(),
|
|
38
38
|
});
|
|
@@ -7,7 +7,8 @@ import * as core from "../../../../../../../../../../core";
|
|
|
7
7
|
export declare const EditInvoiceRequest: core.serialization.ObjectSchema<serializers.api.thera.disbursement.EditInvoiceRequest.Raw, TheraApi.api.thera.disbursement.EditInvoiceRequest>;
|
|
8
8
|
export declare namespace EditInvoiceRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
-
amount
|
|
10
|
+
amount?: number | null;
|
|
11
11
|
workUnitTotal?: number | null;
|
|
12
|
+
date?: string | null;
|
|
12
13
|
}
|
|
13
14
|
}
|
|
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.EditInvoiceRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
31
|
exports.EditInvoiceRequest = core.serialization.object({
|
|
32
|
-
amount: core.serialization.number(),
|
|
32
|
+
amount: core.serialization.number().optional(),
|
|
33
33
|
workUnitTotal: core.serialization.number().optional(),
|
|
34
|
+
date: core.serialization.string().optional(),
|
|
34
35
|
});
|
|
@@ -13,7 +13,7 @@ import { CompanySettings } from "./CompanySettings";
|
|
|
13
13
|
import { BankAccountResponseMetadata } from "./BankAccountResponseMetadata";
|
|
14
14
|
import { Team } from "./Team";
|
|
15
15
|
import { TpCompanyInformation } from "./TpCompanyInformation";
|
|
16
|
-
import {
|
|
16
|
+
import { MercoaCompanyDetails } from "./MercoaCompanyDetails";
|
|
17
17
|
import { CompanyAccountingInformation } from "./CompanyAccountingInformation";
|
|
18
18
|
import { CompanyBankingDetails } from "./CompanyBankingDetails";
|
|
19
19
|
export declare const Company: core.serialization.ObjectSchema<serializers.db.Company.Raw, TheraApi.db.Company>;
|
|
@@ -47,7 +47,7 @@ export declare namespace Company {
|
|
|
47
47
|
tp?: TpCompanyInformation.Raw | null;
|
|
48
48
|
onboarderUserId?: string | null;
|
|
49
49
|
creationTimestamp?: string | null;
|
|
50
|
-
|
|
50
|
+
mercoaCompanyDetails?: MercoaCompanyDetails.Raw | null;
|
|
51
51
|
companyAccountingInformation?: CompanyAccountingInformation.Raw | null;
|
|
52
52
|
companyBankingDetails?: CompanyBankingDetails.Raw | null;
|
|
53
53
|
}
|
|
@@ -37,7 +37,7 @@ const CompanySettings_1 = require("./CompanySettings");
|
|
|
37
37
|
const BankAccountResponseMetadata_1 = require("./BankAccountResponseMetadata");
|
|
38
38
|
const Team_1 = require("./Team");
|
|
39
39
|
const TpCompanyInformation_1 = require("./TpCompanyInformation");
|
|
40
|
-
const
|
|
40
|
+
const MercoaCompanyDetails_1 = require("./MercoaCompanyDetails");
|
|
41
41
|
const CompanyAccountingInformation_1 = require("./CompanyAccountingInformation");
|
|
42
42
|
const CompanyBankingDetails_1 = require("./CompanyBankingDetails");
|
|
43
43
|
exports.Company = core.serialization.object({
|
|
@@ -69,7 +69,7 @@ exports.Company = core.serialization.object({
|
|
|
69
69
|
tp: TpCompanyInformation_1.TpCompanyInformation.optional(),
|
|
70
70
|
onboarderUserId: core.serialization.string().optional(),
|
|
71
71
|
creationTimestamp: core.serialization.date().optional(),
|
|
72
|
-
|
|
72
|
+
mercoaCompanyDetails: MercoaCompanyDetails_1.MercoaCompanyDetails.optional(),
|
|
73
73
|
companyAccountingInformation: CompanyAccountingInformation_1.CompanyAccountingInformation.optional(),
|
|
74
74
|
companyBankingDetails: CompanyBankingDetails_1.CompanyBankingDetails.optional(),
|
|
75
75
|
});
|