@thera-hr/api-sdk 0.0.1331 → 0.0.1427
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/index.d.ts +0 -1
- package/api/resources/api/resources/index.js +1 -2
- package/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
- package/api/resources/api/resources/thera/client/Client.d.ts +0 -3
- package/api/resources/api/resources/thera/client/Client.js +6 -11
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +5 -49
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/index.js +1 -2
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/api/resources/db/resources/employment/types/BiWeeklyPayCycleEnd.d.ts +7 -0
- package/api/resources/db/resources/employment/types/DayOfWeek.d.ts +13 -0
- package/api/resources/db/resources/employment/types/DayOfWeek.js +15 -0
- package/api/resources/db/resources/employment/types/Employment.d.ts +1 -0
- package/api/resources/db/resources/employment/types/FifteenthAndEndOfMonth.d.ts +5 -0
- package/api/resources/db/resources/employment/types/LastDayOfMonth.d.ts +5 -0
- package/api/resources/db/resources/employment/types/MonthlyPayCycleEnd.d.ts +18 -0
- package/api/resources/db/resources/employment/types/PayCycle.d.ts +11 -0
- package/api/resources/db/resources/employment/types/PayCycleEnd.d.ts +21 -0
- package/api/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +14 -0
- package/api/resources/db/resources/employment/types/WeeklyPayCycleEnd.d.ts +7 -0
- package/api/resources/db/resources/employment/types/index.d.ts +9 -0
- package/api/resources/db/resources/employment/types/index.js +9 -0
- package/api/resources/db/resources/index.d.ts +0 -2
- package/api/resources/db/resources/index.js +1 -3
- package/dist/api/resources/api/resources/index.d.ts +0 -1
- package/dist/api/resources/api/resources/index.js +1 -2
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/client/Client.d.ts +0 -3
- package/dist/api/resources/api/resources/thera/client/Client.js +6 -11
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +5 -49
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/index.js +1 -2
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/dist/api/resources/db/resources/employment/types/BiWeeklyPayCycleEnd.d.ts +7 -0
- package/dist/api/resources/db/resources/employment/types/DayOfWeek.d.ts +13 -0
- package/dist/api/resources/db/resources/employment/types/DayOfWeek.js +15 -0
- package/dist/api/resources/db/resources/employment/types/Employment.d.ts +1 -0
- package/dist/api/resources/db/resources/employment/types/FifteenthAndEndOfMonth.d.ts +5 -0
- package/dist/api/resources/db/resources/employment/types/LastDayOfMonth.d.ts +5 -0
- package/dist/api/resources/db/resources/employment/types/MonthlyPayCycleEnd.d.ts +18 -0
- package/dist/api/resources/db/resources/employment/types/PayCycle.d.ts +11 -0
- package/dist/api/resources/db/resources/employment/types/PayCycle.js +5 -0
- package/dist/api/resources/db/resources/employment/types/PayCycleEnd.d.ts +21 -0
- package/dist/api/resources/db/resources/employment/types/PayCycleEnd.js +5 -0
- package/dist/api/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +14 -0
- package/dist/api/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.js +5 -0
- package/dist/api/resources/db/resources/employment/types/WeeklyPayCycleEnd.d.ts +7 -0
- package/dist/api/resources/db/resources/employment/types/WeeklyPayCycleEnd.js +5 -0
- package/dist/api/resources/db/resources/employment/types/index.d.ts +9 -0
- package/dist/api/resources/db/resources/employment/types/index.js +9 -0
- package/dist/api/resources/db/resources/index.d.ts +0 -2
- package/dist/api/resources/db/resources/index.js +1 -3
- package/dist/serialization/resources/api/resources/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/index.js +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/index.js +1 -2
- package/dist/serialization/resources/db/resources/employment/types/BiWeeklyPayCycleEnd.d.ts +12 -0
- package/dist/serialization/resources/db/resources/{gustoAuth/types/GustoAuth.js → employment/types/BiWeeklyPayCycleEnd.js} +3 -6
- package/dist/serialization/resources/db/resources/employment/types/DayOfWeek.d.ts +10 -0
- package/dist/serialization/resources/db/resources/employment/types/DayOfWeek.js +31 -0
- package/dist/serialization/resources/db/resources/employment/types/Employment.d.ts +1 -0
- package/dist/serialization/resources/db/resources/employment/types/Employment.js +1 -0
- package/dist/serialization/resources/db/resources/employment/types/FifteenthAndEndOfMonth.d.ts +11 -0
- package/{serialization/resources/api/resources/gusto/resources/oauthToken/types/GrantType.js → dist/serialization/resources/db/resources/employment/types/FifteenthAndEndOfMonth.js} +3 -3
- package/dist/serialization/resources/db/resources/employment/types/LastDayOfMonth.d.ts +11 -0
- package/dist/serialization/resources/{api/resources/gusto/resources/oauthToken/types/GrantType.js → db/resources/employment/types/LastDayOfMonth.js} +3 -3
- package/dist/serialization/resources/db/resources/employment/types/MonthlyPayCycleEnd.d.ts +21 -0
- package/dist/serialization/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js → db/resources/employment/types/MonthlyPayCycleEnd.js} +15 -9
- package/dist/serialization/resources/db/resources/employment/types/PayCycle.d.ts +15 -0
- package/dist/serialization/resources/db/resources/employment/types/PayCycle.js +36 -0
- package/dist/serialization/resources/db/resources/employment/types/PayCycleEnd.d.ts +24 -0
- package/dist/serialization/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js → db/resources/employment/types/PayCycleEnd.js} +16 -8
- package/dist/serialization/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +17 -0
- package/{serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js → dist/serialization/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.js} +12 -6
- package/dist/serialization/resources/db/resources/employment/types/WeeklyPayCycleEnd.d.ts +12 -0
- package/{serialization/resources/db/resources/gustoAuth/types/GustoAuth.js → dist/serialization/resources/db/resources/employment/types/WeeklyPayCycleEnd.js} +3 -6
- package/dist/serialization/resources/db/resources/employment/types/index.d.ts +9 -0
- package/dist/serialization/resources/db/resources/employment/types/index.js +9 -0
- package/dist/serialization/resources/db/resources/index.d.ts +0 -2
- package/dist/serialization/resources/db/resources/index.js +1 -3
- package/package.json +1 -1
- package/serialization/resources/api/resources/index.d.ts +0 -1
- package/serialization/resources/api/resources/index.js +1 -2
- package/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/index.js +1 -2
- package/serialization/resources/db/resources/employment/types/BiWeeklyPayCycleEnd.d.ts +12 -0
- package/serialization/resources/db/resources/employment/types/BiWeeklyPayCycleEnd.js +33 -0
- package/serialization/resources/db/resources/employment/types/DayOfWeek.d.ts +10 -0
- package/serialization/resources/db/resources/employment/types/DayOfWeek.js +31 -0
- package/serialization/resources/db/resources/employment/types/Employment.d.ts +1 -0
- package/serialization/resources/db/resources/employment/types/Employment.js +1 -0
- package/serialization/resources/db/resources/employment/types/FifteenthAndEndOfMonth.d.ts +11 -0
- package/serialization/resources/db/resources/employment/types/FifteenthAndEndOfMonth.js +31 -0
- package/serialization/resources/db/resources/employment/types/LastDayOfMonth.d.ts +11 -0
- package/serialization/resources/db/resources/employment/types/LastDayOfMonth.js +31 -0
- package/serialization/resources/db/resources/employment/types/MonthlyPayCycleEnd.d.ts +21 -0
- package/serialization/resources/db/resources/employment/types/MonthlyPayCycleEnd.js +44 -0
- package/serialization/resources/db/resources/employment/types/PayCycle.d.ts +15 -0
- package/serialization/resources/db/resources/employment/types/PayCycle.js +36 -0
- package/serialization/resources/db/resources/employment/types/PayCycleEnd.d.ts +24 -0
- package/serialization/resources/db/resources/employment/types/PayCycleEnd.js +45 -0
- package/serialization/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +17 -0
- package/{dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js → serialization/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.js} +12 -6
- package/serialization/resources/db/resources/employment/types/WeeklyPayCycleEnd.d.ts +12 -0
- package/serialization/resources/db/resources/employment/types/WeeklyPayCycleEnd.js +33 -0
- package/serialization/resources/db/resources/employment/types/index.d.ts +9 -0
- package/serialization/resources/db/resources/employment/types/index.js +9 -0
- package/serialization/resources/db/resources/index.d.ts +0 -2
- package/serialization/resources/db/resources/index.js +1 -3
- package/api/resources/api/resources/gusto/index.d.ts +0 -1
- package/api/resources/api/resources/gusto/index.js +0 -17
- package/api/resources/api/resources/gusto/resources/index.d.ts +0 -2
- package/api/resources/api/resources/gusto/resources/index.js +0 -31
- package/api/resources/api/resources/gusto/resources/oauthToken/index.d.ts +0 -1
- package/api/resources/api/resources/gusto/resources/oauthToken/index.js +0 -17
- package/api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts +0 -8
- package/api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.js +0 -10
- package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +0 -11
- package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +0 -11
- package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +0 -11
- package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +0 -10
- package/api/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +0 -5
- package/api/resources/api/resources/gusto/resources/oauthToken/types/index.js +0 -21
- package/api/resources/api/resources/thera/resources/authentication/client/Client.d.ts +0 -17
- package/api/resources/api/resources/thera/resources/authentication/client/Client.js +0 -18
- package/api/resources/api/resources/thera/resources/authentication/client/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/authentication/client/index.js +0 -2
- package/api/resources/api/resources/thera/resources/authentication/index.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/authentication/index.js +0 -18
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.d.ts +0 -17
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.js +0 -91
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.js +0 -2
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +0 -18
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +0 -9
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +0 -17
- package/api/resources/api/resources/thera/resources/authentication/resources/index.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/authentication/resources/index.js +0 -31
- package/api/resources/db/resources/gustoAuth/index.d.ts +0 -1
- package/api/resources/db/resources/gustoAuth/index.js +0 -17
- package/api/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +0 -9
- package/api/resources/db/resources/gustoAuth/types/index.d.ts +0 -1
- package/api/resources/db/resources/gustoAuth/types/index.js +0 -17
- package/dist/api/resources/api/resources/gusto/index.d.ts +0 -1
- package/dist/api/resources/api/resources/gusto/index.js +0 -17
- package/dist/api/resources/api/resources/gusto/resources/index.d.ts +0 -2
- package/dist/api/resources/api/resources/gusto/resources/index.js +0 -31
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/index.d.ts +0 -1
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/index.js +0 -17
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts +0 -8
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.js +0 -10
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +0 -11
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +0 -11
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +0 -11
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +0 -10
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +0 -5
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/index.js +0 -21
- package/dist/api/resources/api/resources/thera/resources/authentication/client/Client.d.ts +0 -17
- package/dist/api/resources/api/resources/thera/resources/authentication/client/Client.js +0 -18
- package/dist/api/resources/api/resources/thera/resources/authentication/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/authentication/client/index.js +0 -2
- package/dist/api/resources/api/resources/thera/resources/authentication/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/authentication/index.js +0 -18
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.d.ts +0 -17
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.js +0 -91
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.js +0 -2
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +0 -18
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +0 -9
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +0 -17
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/index.js +0 -31
- package/dist/api/resources/db/resources/gustoAuth/index.d.ts +0 -1
- package/dist/api/resources/db/resources/gustoAuth/index.js +0 -17
- package/dist/api/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +0 -9
- package/dist/api/resources/db/resources/gustoAuth/types/index.d.ts +0 -1
- package/dist/api/resources/db/resources/gustoAuth/types/index.js +0 -17
- package/dist/serialization/resources/api/resources/gusto/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/gusto/index.js +0 -17
- package/dist/serialization/resources/api/resources/gusto/resources/index.d.ts +0 -2
- package/dist/serialization/resources/api/resources/gusto/resources/index.js +0 -31
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/index.js +0 -17
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts +0 -10
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +0 -16
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js +0 -37
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +0 -17
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +0 -16
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +0 -16
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js +0 -37
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +0 -5
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.js +0 -21
- package/dist/serialization/resources/api/resources/thera/resources/authentication/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/authentication/index.js +0 -17
- package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +0 -17
- package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +0 -14
- package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +0 -17
- package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/index.d.ts +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/index.js +0 -31
- package/dist/serialization/resources/db/resources/gustoAuth/index.d.ts +0 -1
- package/dist/serialization/resources/db/resources/gustoAuth/index.js +0 -17
- package/dist/serialization/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +0 -15
- package/dist/serialization/resources/db/resources/gustoAuth/types/index.d.ts +0 -1
- package/dist/serialization/resources/db/resources/gustoAuth/types/index.js +0 -17
- package/serialization/resources/api/resources/gusto/index.d.ts +0 -1
- package/serialization/resources/api/resources/gusto/index.js +0 -17
- package/serialization/resources/api/resources/gusto/resources/index.d.ts +0 -2
- package/serialization/resources/api/resources/gusto/resources/index.js +0 -31
- package/serialization/resources/api/resources/gusto/resources/oauthToken/index.d.ts +0 -1
- package/serialization/resources/api/resources/gusto/resources/oauthToken/index.js +0 -17
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts +0 -10
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +0 -16
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js +0 -37
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +0 -17
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js +0 -38
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +0 -16
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js +0 -37
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +0 -16
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js +0 -37
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +0 -5
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.js +0 -21
- package/serialization/resources/api/resources/thera/resources/authentication/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/authentication/index.js +0 -17
- package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +0 -17
- package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +0 -14
- package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +0 -17
- package/serialization/resources/api/resources/thera/resources/authentication/resources/index.d.ts +0 -2
- package/serialization/resources/api/resources/thera/resources/authentication/resources/index.js +0 -31
- package/serialization/resources/db/resources/gustoAuth/index.d.ts +0 -1
- package/serialization/resources/db/resources/gustoAuth/index.js +0 -17
- package/serialization/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +0 -15
- package/serialization/resources/db/resources/gustoAuth/types/index.d.ts +0 -1
- package/serialization/resources/db/resources/gustoAuth/types/index.js +0 -17
- /package/api/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js → db/resources/employment/types/BiWeeklyPayCycleEnd.js} +0 -0
- /package/api/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js → db/resources/employment/types/FifteenthAndEndOfMonth.js} +0 -0
- /package/api/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js → db/resources/employment/types/LastDayOfMonth.js} +0 -0
- /package/api/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js → db/resources/employment/types/MonthlyPayCycleEnd.js} +0 -0
- /package/api/resources/{api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js → db/resources/employment/types/PayCycle.js} +0 -0
- /package/api/resources/db/resources/{gustoAuth/types/GustoAuth.js → employment/types/PayCycleEnd.js} +0 -0
- /package/{dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js → api/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.js} +0 -0
- /package/{dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js → api/resources/db/resources/employment/types/WeeklyPayCycleEnd.js} +0 -0
- /package/dist/api/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js → db/resources/employment/types/BiWeeklyPayCycleEnd.js} +0 -0
- /package/dist/api/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js → db/resources/employment/types/FifteenthAndEndOfMonth.js} +0 -0
- /package/dist/api/resources/{api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js → db/resources/employment/types/LastDayOfMonth.js} +0 -0
- /package/dist/api/resources/db/resources/{gustoAuth/types/GustoAuth.js → employment/types/MonthlyPayCycleEnd.js} +0 -0
|
@@ -23,8 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.zeal = exports.thera = exports.test = exports.services = exports.response = exports.request =
|
|
27
|
-
exports.gusto = __importStar(require("./gusto"));
|
|
26
|
+
exports.zeal = exports.thera = exports.test = exports.services = exports.response = exports.request = void 0;
|
|
28
27
|
exports.request = __importStar(require("./request"));
|
|
29
28
|
exports.response = __importStar(require("./response"));
|
|
30
29
|
exports.services = __importStar(require("./services"));
|
|
@@ -47,7 +47,7 @@ class File_ {
|
|
|
47
47
|
Authorization: await this._getAuthorizationHeader(),
|
|
48
48
|
"X-Fern-Language": "JavaScript",
|
|
49
49
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
50
|
-
"X-Fern-SDK-Version": "0.0.
|
|
50
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
51
51
|
},
|
|
52
52
|
contentType: "application/json",
|
|
53
53
|
body: await serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
|
|
@@ -86,7 +86,7 @@ class File_ {
|
|
|
86
86
|
Authorization: await this._getAuthorizationHeader(),
|
|
87
87
|
"X-Fern-Language": "JavaScript",
|
|
88
88
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
89
|
-
"X-Fern-SDK-Version": "0.0.
|
|
89
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
90
90
|
},
|
|
91
91
|
contentType: "application/json",
|
|
92
92
|
body: await serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
|
|
@@ -125,7 +125,7 @@ class File_ {
|
|
|
125
125
|
Authorization: await this._getAuthorizationHeader(),
|
|
126
126
|
"X-Fern-Language": "JavaScript",
|
|
127
127
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
128
|
-
"X-Fern-SDK-Version": "0.0.
|
|
128
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
129
129
|
},
|
|
130
130
|
contentType: "application/json",
|
|
131
131
|
timeoutMs: 60000,
|
|
@@ -166,7 +166,7 @@ class File_ {
|
|
|
166
166
|
Authorization: await this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
169
|
-
"X-Fern-SDK-Version": "0.0.
|
|
169
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
170
170
|
},
|
|
171
171
|
contentType: "application/json",
|
|
172
172
|
timeoutMs: 60000,
|
|
@@ -47,7 +47,7 @@ class Invoices {
|
|
|
47
47
|
Authorization: await this._getAuthorizationHeader(),
|
|
48
48
|
"X-Fern-Language": "JavaScript",
|
|
49
49
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
50
|
-
"X-Fern-SDK-Version": "0.0.
|
|
50
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
51
51
|
},
|
|
52
52
|
contentType: "application/json",
|
|
53
53
|
body: await serializers.api.test.VoidInvoiceRequest.jsonOrThrow(request, {
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "../../../../../../core";
|
|
5
|
-
import { Authentication } from "../resources/authentication/client/Client";
|
|
6
5
|
import { Bank } from "../resources/bank/client/Client";
|
|
7
6
|
import { Company } from "../resources/company/client/Client";
|
|
8
7
|
import { Payroll } from "../resources/payroll/client/Client";
|
|
@@ -15,8 +14,6 @@ export declare namespace Thera {
|
|
|
15
14
|
export declare class Thera {
|
|
16
15
|
protected readonly options: Thera.Options;
|
|
17
16
|
constructor(options: Thera.Options);
|
|
18
|
-
protected _authentication: Authentication | undefined;
|
|
19
|
-
get authentication(): Authentication;
|
|
20
17
|
protected _bank: Bank | undefined;
|
|
21
18
|
get bank(): Bank;
|
|
22
19
|
protected _company: Company | undefined;
|
|
@@ -4,30 +4,25 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Thera = void 0;
|
|
7
|
-
const Client_1 = require("../resources/
|
|
8
|
-
const Client_2 = require("../resources/
|
|
9
|
-
const Client_3 = require("../resources/
|
|
10
|
-
const Client_4 = require("../resources/payroll/client/Client");
|
|
7
|
+
const Client_1 = require("../resources/bank/client/Client");
|
|
8
|
+
const Client_2 = require("../resources/company/client/Client");
|
|
9
|
+
const Client_3 = require("../resources/payroll/client/Client");
|
|
11
10
|
class Thera {
|
|
12
11
|
options;
|
|
13
12
|
constructor(options) {
|
|
14
13
|
this.options = options;
|
|
15
14
|
}
|
|
16
|
-
_authentication;
|
|
17
|
-
get authentication() {
|
|
18
|
-
return (this._authentication ??= new Client_1.Authentication(this.options));
|
|
19
|
-
}
|
|
20
15
|
_bank;
|
|
21
16
|
get bank() {
|
|
22
|
-
return (this._bank ??= new
|
|
17
|
+
return (this._bank ??= new Client_1.Bank(this.options));
|
|
23
18
|
}
|
|
24
19
|
_company;
|
|
25
20
|
get company() {
|
|
26
|
-
return (this._company ??= new
|
|
21
|
+
return (this._company ??= new Client_2.Company(this.options));
|
|
27
22
|
}
|
|
28
23
|
_payroll;
|
|
29
24
|
get payroll() {
|
|
30
|
-
return (this._payroll ??= new
|
|
25
|
+
return (this._payroll ??= new Client_3.Payroll(this.options));
|
|
31
26
|
}
|
|
32
27
|
}
|
|
33
28
|
exports.Thera = Thera;
|
package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts
CHANGED
|
@@ -13,13 +13,9 @@ export declare class BankApi {
|
|
|
13
13
|
protected readonly options: BankApi.Options;
|
|
14
14
|
constructor(options: BankApi.Options);
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Get Plaid's link-token
|
|
17
17
|
*/
|
|
18
18
|
generateBankSignup(request?: TheraApi.api.thera.bank.GenerateBankSignupRequest): Promise<TheraApi.api.thera.bank.GetBankAccountSignupKey>;
|
|
19
|
-
/**
|
|
20
|
-
* For uses in Dev/Staging Env only!
|
|
21
|
-
*/
|
|
22
|
-
getPublicTokenSandbox(): Promise<TheraApi.api.thera.bank.GetSandboxPublicKey>;
|
|
23
19
|
/**
|
|
24
20
|
* Verify that company's bank account has been provided to Plaid
|
|
25
21
|
*/
|
|
@@ -41,7 +41,7 @@ class BankApi {
|
|
|
41
41
|
this.options = options;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Get Plaid's link-token
|
|
45
45
|
*/
|
|
46
46
|
async generateBankSignup(request = {}) {
|
|
47
47
|
const { redirectUri } = request;
|
|
@@ -56,7 +56,7 @@ class BankApi {
|
|
|
56
56
|
Authorization: await this._getAuthorizationHeader(),
|
|
57
57
|
"X-Fern-Language": "JavaScript",
|
|
58
58
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
59
|
-
"X-Fern-SDK-Version": "0.0.
|
|
59
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
60
60
|
},
|
|
61
61
|
contentType: "application/json",
|
|
62
62
|
queryParameters: _queryParams,
|
|
@@ -90,50 +90,6 @@ class BankApi {
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
/**
|
|
94
|
-
* For uses in Dev/Staging Env only!
|
|
95
|
-
*/
|
|
96
|
-
async getPublicTokenSandbox() {
|
|
97
|
-
const _response = await core.fetcher({
|
|
98
|
-
url: (0, url_join_1.default)(this.options.environment, "sandbox/bank/account/publicToken"),
|
|
99
|
-
method: "GET",
|
|
100
|
-
headers: {
|
|
101
|
-
Authorization: await this._getAuthorizationHeader(),
|
|
102
|
-
"X-Fern-Language": "JavaScript",
|
|
103
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
104
|
-
"X-Fern-SDK-Version": "0.0.1331",
|
|
105
|
-
},
|
|
106
|
-
contentType: "application/json",
|
|
107
|
-
timeoutMs: 60000,
|
|
108
|
-
});
|
|
109
|
-
if (_response.ok) {
|
|
110
|
-
return await serializers.api.thera.bank.GetSandboxPublicKey.parseOrThrow(_response.body, {
|
|
111
|
-
unrecognizedObjectKeys: "passthrough",
|
|
112
|
-
allowUnrecognizedUnionMembers: true,
|
|
113
|
-
allowUnrecognizedEnumValues: true,
|
|
114
|
-
breadcrumbsPrefix: ["response"],
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
if (_response.error.reason === "status-code") {
|
|
118
|
-
throw new errors.TheraApiError({
|
|
119
|
-
statusCode: _response.error.statusCode,
|
|
120
|
-
body: _response.error.body,
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
switch (_response.error.reason) {
|
|
124
|
-
case "non-json":
|
|
125
|
-
throw new errors.TheraApiError({
|
|
126
|
-
statusCode: _response.error.statusCode,
|
|
127
|
-
body: _response.error.rawBody,
|
|
128
|
-
});
|
|
129
|
-
case "timeout":
|
|
130
|
-
throw new errors.TheraApiTimeoutError();
|
|
131
|
-
case "unknown":
|
|
132
|
-
throw new errors.TheraApiError({
|
|
133
|
-
message: _response.error.errorMessage,
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
93
|
/**
|
|
138
94
|
* Verify that company's bank account has been provided to Plaid
|
|
139
95
|
*/
|
|
@@ -145,7 +101,7 @@ class BankApi {
|
|
|
145
101
|
Authorization: await this._getAuthorizationHeader(),
|
|
146
102
|
"X-Fern-Language": "JavaScript",
|
|
147
103
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
148
|
-
"X-Fern-SDK-Version": "0.0.
|
|
104
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
149
105
|
},
|
|
150
106
|
contentType: "application/json",
|
|
151
107
|
body: await serializers.api.thera.bank.VerifyAccountSignupRequest.jsonOrThrow(request, {
|
|
@@ -187,7 +143,7 @@ class BankApi {
|
|
|
187
143
|
Authorization: await this._getAuthorizationHeader(),
|
|
188
144
|
"X-Fern-Language": "JavaScript",
|
|
189
145
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
190
|
-
"X-Fern-SDK-Version": "0.0.
|
|
146
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
191
147
|
},
|
|
192
148
|
contentType: "application/json",
|
|
193
149
|
timeoutMs: 60000,
|
|
@@ -226,7 +182,7 @@ class BankApi {
|
|
|
226
182
|
Authorization: await this._getAuthorizationHeader(),
|
|
227
183
|
"X-Fern-Language": "JavaScript",
|
|
228
184
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
229
|
-
"X-Fern-SDK-Version": "0.0.
|
|
185
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
230
186
|
},
|
|
231
187
|
contentType: "application/json",
|
|
232
188
|
body: await serializers.api.thera.bank.VerifyMicrodepositRequest.jsonOrThrow(request, {
|
|
@@ -50,7 +50,7 @@ class CompanyW2PayrollApi {
|
|
|
50
50
|
Authorization: await this._getAuthorizationHeader(),
|
|
51
51
|
"X-Fern-Language": "JavaScript",
|
|
52
52
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
53
|
-
"X-Fern-SDK-Version": "0.0.
|
|
53
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
54
54
|
},
|
|
55
55
|
contentType: "application/json",
|
|
56
56
|
body: await serializers.api.thera.company.OnboardW2PayrollRequest.jsonOrThrow(request, {
|
|
@@ -23,9 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.payroll = exports.company = exports.bank = exports.
|
|
26
|
+
exports.payroll = exports.company = exports.bank = exports.address = void 0;
|
|
27
27
|
exports.address = __importStar(require("./address"));
|
|
28
|
-
exports.authentication = __importStar(require("./authentication"));
|
|
29
28
|
exports.bank = __importStar(require("./bank"));
|
|
30
29
|
exports.company = __importStar(require("./company"));
|
|
31
30
|
exports.payroll = __importStar(require("./payroll"));
|
package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js
CHANGED
|
@@ -50,7 +50,7 @@ class OncycleApi {
|
|
|
50
50
|
Authorization: await this._getAuthorizationHeader(),
|
|
51
51
|
"X-Fern-Language": "JavaScript",
|
|
52
52
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
53
|
-
"X-Fern-SDK-Version": "0.0.
|
|
53
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
54
54
|
},
|
|
55
55
|
contentType: "application/json",
|
|
56
56
|
timeoutMs: 60000,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type DayOfWeek = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
|
|
5
|
+
export declare const DayOfWeek: {
|
|
6
|
+
readonly Monday: "MONDAY";
|
|
7
|
+
readonly Tuesday: "TUESDAY";
|
|
8
|
+
readonly Wednesday: "WEDNESDAY";
|
|
9
|
+
readonly Thursday: "THURSDAY";
|
|
10
|
+
readonly Friday: "FRIDAY";
|
|
11
|
+
readonly Saturday: "SATURDAY";
|
|
12
|
+
readonly Sunday: "SUNDAY";
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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.DayOfWeek = void 0;
|
|
7
|
+
exports.DayOfWeek = {
|
|
8
|
+
Monday: "MONDAY",
|
|
9
|
+
Tuesday: "TUESDAY",
|
|
10
|
+
Wednesday: "WEDNESDAY",
|
|
11
|
+
Thursday: "THURSDAY",
|
|
12
|
+
Friday: "FRIDAY",
|
|
13
|
+
Saturday: "SATURDAY",
|
|
14
|
+
Sunday: "SUNDAY",
|
|
15
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TheraApi from "../../../../..";
|
|
5
|
+
export declare type MonthlyPayCycleEnd = TheraApi.db.MonthlyPayCycleEnd.DayOfMonth | TheraApi.db.MonthlyPayCycleEnd.LastDayOfMonth | TheraApi.db.MonthlyPayCycleEnd.LastDayOfWeekOfMonth;
|
|
6
|
+
export declare namespace MonthlyPayCycleEnd {
|
|
7
|
+
interface DayOfMonth {
|
|
8
|
+
type: "dayOfMonth";
|
|
9
|
+
value: number;
|
|
10
|
+
}
|
|
11
|
+
interface LastDayOfMonth extends TheraApi.db.LastDayOfMonth {
|
|
12
|
+
type: "lastDayOfMonth";
|
|
13
|
+
}
|
|
14
|
+
interface LastDayOfWeekOfMonth {
|
|
15
|
+
type: "lastDayOfWeekOfMonth";
|
|
16
|
+
value: TheraApi.db.DayOfWeek;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TheraApi from "../../../../..";
|
|
5
|
+
export interface PayCycle {
|
|
6
|
+
/** This field is currently not used. Adheres to Timezone DB version tzdata2022g. */
|
|
7
|
+
timezone: string;
|
|
8
|
+
cycleStartDate: string;
|
|
9
|
+
cycleEnd: TheraApi.db.PayCycleEnd;
|
|
10
|
+
paymentDueDays: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TheraApi from "../../../../..";
|
|
5
|
+
export declare type PayCycleEnd = TheraApi.db.PayCycleEnd.Weekly | TheraApi.db.PayCycleEnd.Biweekly | TheraApi.db.PayCycleEnd.Monthly | TheraApi.db.PayCycleEnd.Semimonthly;
|
|
6
|
+
export declare namespace PayCycleEnd {
|
|
7
|
+
interface Weekly extends TheraApi.db.WeeklyPayCycleEnd {
|
|
8
|
+
type: "weekly";
|
|
9
|
+
}
|
|
10
|
+
interface Biweekly extends TheraApi.db.BiWeeklyPayCycleEnd {
|
|
11
|
+
type: "biweekly";
|
|
12
|
+
}
|
|
13
|
+
interface Monthly {
|
|
14
|
+
type: "monthly";
|
|
15
|
+
value: TheraApi.db.MonthlyPayCycleEnd;
|
|
16
|
+
}
|
|
17
|
+
interface Semimonthly {
|
|
18
|
+
type: "semimonthly";
|
|
19
|
+
value: TheraApi.db.SemiMonthlyPayCycleEnd;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TheraApi from "../../../../..";
|
|
5
|
+
export declare type SemiMonthlyPayCycleEnd = TheraApi.db.SemiMonthlyPayCycleEnd.FifteenthAndEndOfMonth | TheraApi.db.SemiMonthlyPayCycleEnd.DayOfMonth;
|
|
6
|
+
export declare namespace SemiMonthlyPayCycleEnd {
|
|
7
|
+
interface FifteenthAndEndOfMonth extends TheraApi.db.FifteenthAndEndOfMonth {
|
|
8
|
+
type: "fifteenthAndEndOfMonth";
|
|
9
|
+
}
|
|
10
|
+
interface DayOfMonth {
|
|
11
|
+
type: "dayOfMonth";
|
|
12
|
+
value: number;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -21,3 +21,12 @@ export * from "./GenericEmploymentDocument";
|
|
|
21
21
|
export * from "./ModifyRecurrencesRequest";
|
|
22
22
|
export * from "./RecurrenceModifications";
|
|
23
23
|
export * from "./ModifyRecurrencesResponse";
|
|
24
|
+
export * from "./PayCycle";
|
|
25
|
+
export * from "./PayCycleEnd";
|
|
26
|
+
export * from "./WeeklyPayCycleEnd";
|
|
27
|
+
export * from "./BiWeeklyPayCycleEnd";
|
|
28
|
+
export * from "./MonthlyPayCycleEnd";
|
|
29
|
+
export * from "./SemiMonthlyPayCycleEnd";
|
|
30
|
+
export * from "./FifteenthAndEndOfMonth";
|
|
31
|
+
export * from "./LastDayOfMonth";
|
|
32
|
+
export * from "./DayOfWeek";
|
|
@@ -37,3 +37,12 @@ __exportStar(require("./GenericEmploymentDocument"), exports);
|
|
|
37
37
|
__exportStar(require("./ModifyRecurrencesRequest"), exports);
|
|
38
38
|
__exportStar(require("./RecurrenceModifications"), exports);
|
|
39
39
|
__exportStar(require("./ModifyRecurrencesResponse"), exports);
|
|
40
|
+
__exportStar(require("./PayCycle"), exports);
|
|
41
|
+
__exportStar(require("./PayCycleEnd"), exports);
|
|
42
|
+
__exportStar(require("./WeeklyPayCycleEnd"), exports);
|
|
43
|
+
__exportStar(require("./BiWeeklyPayCycleEnd"), exports);
|
|
44
|
+
__exportStar(require("./MonthlyPayCycleEnd"), exports);
|
|
45
|
+
__exportStar(require("./SemiMonthlyPayCycleEnd"), exports);
|
|
46
|
+
__exportStar(require("./FifteenthAndEndOfMonth"), exports);
|
|
47
|
+
__exportStar(require("./LastDayOfMonth"), exports);
|
|
48
|
+
__exportStar(require("./DayOfWeek"), exports);
|
|
@@ -2,8 +2,6 @@ export * as document from "./document";
|
|
|
2
2
|
export * from "./document/types";
|
|
3
3
|
export * as employment from "./employment";
|
|
4
4
|
export * from "./employment/types";
|
|
5
|
-
export * as gustoAuth from "./gustoAuth";
|
|
6
|
-
export * from "./gustoAuth/types";
|
|
7
5
|
export * as payment from "./payment";
|
|
8
6
|
export * as user from "./user";
|
|
9
7
|
export * from "./user/types";
|
|
@@ -26,13 +26,11 @@ 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.payment = exports.
|
|
29
|
+
exports.user = exports.payment = exports.employment = exports.document = void 0;
|
|
30
30
|
exports.document = __importStar(require("./document"));
|
|
31
31
|
__exportStar(require("./document/types"), exports);
|
|
32
32
|
exports.employment = __importStar(require("./employment"));
|
|
33
33
|
__exportStar(require("./employment/types"), exports);
|
|
34
|
-
exports.gustoAuth = __importStar(require("./gustoAuth"));
|
|
35
|
-
__exportStar(require("./gustoAuth/types"), exports);
|
|
36
34
|
exports.payment = __importStar(require("./payment"));
|
|
37
35
|
exports.user = __importStar(require("./user"));
|
|
38
36
|
__exportStar(require("./user/types"), exports);
|
|
@@ -23,8 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.zeal = exports.thera = exports.test = exports.services = exports.response = exports.request =
|
|
27
|
-
exports.gusto = __importStar(require("./gusto"));
|
|
26
|
+
exports.zeal = exports.thera = exports.test = exports.services = exports.response = exports.request = void 0;
|
|
28
27
|
exports.request = __importStar(require("./request"));
|
|
29
28
|
exports.response = __importStar(require("./response"));
|
|
30
29
|
exports.services = __importStar(require("./services"));
|
|
@@ -47,7 +47,7 @@ class File_ {
|
|
|
47
47
|
Authorization: await this._getAuthorizationHeader(),
|
|
48
48
|
"X-Fern-Language": "JavaScript",
|
|
49
49
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
50
|
-
"X-Fern-SDK-Version": "0.0.
|
|
50
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
51
51
|
},
|
|
52
52
|
contentType: "application/json",
|
|
53
53
|
body: await serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
|
|
@@ -86,7 +86,7 @@ class File_ {
|
|
|
86
86
|
Authorization: await this._getAuthorizationHeader(),
|
|
87
87
|
"X-Fern-Language": "JavaScript",
|
|
88
88
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
89
|
-
"X-Fern-SDK-Version": "0.0.
|
|
89
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
90
90
|
},
|
|
91
91
|
contentType: "application/json",
|
|
92
92
|
body: await serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
|
|
@@ -125,7 +125,7 @@ class File_ {
|
|
|
125
125
|
Authorization: await this._getAuthorizationHeader(),
|
|
126
126
|
"X-Fern-Language": "JavaScript",
|
|
127
127
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
128
|
-
"X-Fern-SDK-Version": "0.0.
|
|
128
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
129
129
|
},
|
|
130
130
|
contentType: "application/json",
|
|
131
131
|
timeoutMs: 60000,
|
|
@@ -166,7 +166,7 @@ class File_ {
|
|
|
166
166
|
Authorization: await this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
169
|
-
"X-Fern-SDK-Version": "0.0.
|
|
169
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
170
170
|
},
|
|
171
171
|
contentType: "application/json",
|
|
172
172
|
timeoutMs: 60000,
|
|
@@ -47,7 +47,7 @@ class Invoices {
|
|
|
47
47
|
Authorization: await this._getAuthorizationHeader(),
|
|
48
48
|
"X-Fern-Language": "JavaScript",
|
|
49
49
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
50
|
-
"X-Fern-SDK-Version": "0.0.
|
|
50
|
+
"X-Fern-SDK-Version": "0.0.1427",
|
|
51
51
|
},
|
|
52
52
|
contentType: "application/json",
|
|
53
53
|
body: await serializers.api.test.VoidInvoiceRequest.jsonOrThrow(request, {
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "../../../../../../core";
|
|
5
|
-
import { Authentication } from "../resources/authentication/client/Client";
|
|
6
5
|
import { Bank } from "../resources/bank/client/Client";
|
|
7
6
|
import { Company } from "../resources/company/client/Client";
|
|
8
7
|
import { Payroll } from "../resources/payroll/client/Client";
|
|
@@ -15,8 +14,6 @@ export declare namespace Thera {
|
|
|
15
14
|
export declare class Thera {
|
|
16
15
|
protected readonly options: Thera.Options;
|
|
17
16
|
constructor(options: Thera.Options);
|
|
18
|
-
protected _authentication: Authentication | undefined;
|
|
19
|
-
get authentication(): Authentication;
|
|
20
17
|
protected _bank: Bank | undefined;
|
|
21
18
|
get bank(): Bank;
|
|
22
19
|
protected _company: Company | undefined;
|
|
@@ -4,30 +4,25 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Thera = void 0;
|
|
7
|
-
const Client_1 = require("../resources/
|
|
8
|
-
const Client_2 = require("../resources/
|
|
9
|
-
const Client_3 = require("../resources/
|
|
10
|
-
const Client_4 = require("../resources/payroll/client/Client");
|
|
7
|
+
const Client_1 = require("../resources/bank/client/Client");
|
|
8
|
+
const Client_2 = require("../resources/company/client/Client");
|
|
9
|
+
const Client_3 = require("../resources/payroll/client/Client");
|
|
11
10
|
class Thera {
|
|
12
11
|
options;
|
|
13
12
|
constructor(options) {
|
|
14
13
|
this.options = options;
|
|
15
14
|
}
|
|
16
|
-
_authentication;
|
|
17
|
-
get authentication() {
|
|
18
|
-
return (this._authentication ??= new Client_1.Authentication(this.options));
|
|
19
|
-
}
|
|
20
15
|
_bank;
|
|
21
16
|
get bank() {
|
|
22
|
-
return (this._bank ??= new
|
|
17
|
+
return (this._bank ??= new Client_1.Bank(this.options));
|
|
23
18
|
}
|
|
24
19
|
_company;
|
|
25
20
|
get company() {
|
|
26
|
-
return (this._company ??= new
|
|
21
|
+
return (this._company ??= new Client_2.Company(this.options));
|
|
27
22
|
}
|
|
28
23
|
_payroll;
|
|
29
24
|
get payroll() {
|
|
30
|
-
return (this._payroll ??= new
|
|
25
|
+
return (this._payroll ??= new Client_3.Payroll(this.options));
|
|
31
26
|
}
|
|
32
27
|
}
|
|
33
28
|
exports.Thera = Thera;
|
package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts
CHANGED
|
@@ -13,13 +13,9 @@ export declare class BankApi {
|
|
|
13
13
|
protected readonly options: BankApi.Options;
|
|
14
14
|
constructor(options: BankApi.Options);
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Get Plaid's link-token
|
|
17
17
|
*/
|
|
18
18
|
generateBankSignup(request?: TheraApi.api.thera.bank.GenerateBankSignupRequest): Promise<TheraApi.api.thera.bank.GetBankAccountSignupKey>;
|
|
19
|
-
/**
|
|
20
|
-
* For uses in Dev/Staging Env only!
|
|
21
|
-
*/
|
|
22
|
-
getPublicTokenSandbox(): Promise<TheraApi.api.thera.bank.GetSandboxPublicKey>;
|
|
23
19
|
/**
|
|
24
20
|
* Verify that company's bank account has been provided to Plaid
|
|
25
21
|
*/
|