@thera-hr/api-sdk 0.0.1002 → 0.0.1061
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/api/client/Client.d.ts +3 -0
- package/api/resources/api/client/Client.js +5 -0
- package/api/resources/api/resources/gusto/resources/index.d.ts +2 -0
- package/{dist/api/resources/db/resources/test → api/resources/api/resources/gusto}/resources/index.js +3 -3
- package/api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts +8 -0
- package/{dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js → api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.js} +4 -4
- package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +11 -0
- package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +11 -0
- package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +11 -0
- package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +10 -0
- package/api/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +5 -0
- package/api/resources/api/resources/gusto/resources/oauthToken/types/index.js +21 -0
- package/api/resources/api/resources/index.d.ts +3 -1
- package/api/resources/api/resources/index.js +4 -2
- package/api/resources/api/resources/services/index.d.ts +1 -1
- package/api/resources/api/resources/services/index.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.d.ts +1 -0
- package/api/resources/api/resources/services/resources/file/client/Client.js +43 -2
- package/api/resources/api/resources/services/resources/file/index.d.ts +1 -0
- package/api/resources/api/resources/services/resources/file/index.js +1 -0
- package/api/resources/api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.d.ts +6 -0
- package/api/resources/api/resources/services/resources/file/types/index.d.ts +1 -0
- package/api/resources/api/resources/services/resources/file/types/index.js +17 -0
- package/api/resources/api/resources/services/resources/index.d.ts +1 -0
- package/api/resources/api/resources/services/resources/index.js +1 -0
- package/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
- package/api/resources/api/resources/thera/client/Client.d.ts +17 -0
- package/api/resources/api/resources/thera/client/Client.js +18 -0
- package/api/resources/api/resources/thera/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/client/index.js +2 -0
- package/api/resources/api/resources/thera/index.d.ts +2 -0
- package/api/resources/api/resources/thera/index.js +18 -0
- package/api/resources/api/resources/thera/resources/authentication/client/Client.d.ts +17 -0
- package/api/resources/api/resources/thera/resources/authentication/client/Client.js +18 -0
- package/api/resources/api/resources/thera/resources/authentication/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/authentication/client/index.js +2 -0
- package/api/resources/api/resources/thera/resources/authentication/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/authentication/index.js +18 -0
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.d.ts +17 -0
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.js +91 -0
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.js +2 -0
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +18 -0
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +9 -0
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +17 -0
- package/api/resources/api/resources/thera/resources/authentication/resources/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/authentication/resources/index.js +31 -0
- package/api/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/{serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js → api/resources/api/resources/thera/resources/index.js} +2 -6
- package/api/resources/db/resources/employment/types/EmploymentDocuments.d.ts +2 -1
- package/{dist/api/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts → api/resources/db/resources/employment/types/GenericEmploymentDocument.d.ts} +2 -2
- package/api/resources/db/resources/employment/types/index.d.ts +1 -0
- package/api/resources/db/resources/employment/types/index.js +1 -0
- package/api/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +9 -0
- package/api/resources/db/resources/gustoAuth/types/index.d.ts +1 -0
- package/api/resources/db/resources/gustoAuth/types/index.js +17 -0
- package/api/resources/db/resources/index.d.ts +2 -1
- package/api/resources/db/resources/index.js +3 -2
- package/dist/api/resources/api/client/Client.d.ts +3 -0
- package/dist/api/resources/api/client/Client.js +5 -0
- package/dist/api/resources/api/resources/gusto/resources/index.d.ts +2 -0
- package/dist/{serialization/resources/db/resources/test → api/resources/api/resources/gusto}/resources/index.js +3 -3
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts +8 -0
- package/{api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js → dist/api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.js} +4 -4
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +11 -0
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +11 -0
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +11 -0
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +10 -0
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +5 -0
- package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/index.js +21 -0
- package/dist/api/resources/api/resources/index.d.ts +3 -1
- package/dist/api/resources/api/resources/index.js +4 -2
- package/dist/api/resources/api/resources/services/index.d.ts +1 -1
- package/dist/api/resources/api/resources/services/index.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.d.ts +1 -0
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +43 -2
- package/dist/api/resources/api/resources/services/resources/file/index.d.ts +1 -0
- package/dist/api/resources/api/resources/services/resources/file/index.js +1 -0
- package/dist/api/resources/api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.d.ts +6 -0
- package/dist/api/resources/api/resources/services/resources/file/types/index.d.ts +1 -0
- package/dist/api/resources/api/resources/services/resources/file/types/index.js +17 -0
- package/dist/api/resources/api/resources/services/resources/index.d.ts +1 -0
- package/dist/api/resources/api/resources/services/resources/index.js +1 -0
- 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 +17 -0
- package/dist/api/resources/api/resources/thera/client/Client.js +18 -0
- package/dist/api/resources/api/resources/thera/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/client/index.js +2 -0
- package/dist/api/resources/api/resources/thera/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/client/Client.d.ts +17 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/client/Client.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/client/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.d.ts +17 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.js +91 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +9 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +17 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/authentication/resources/index.js +31 -0
- package/dist/api/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/dist/{serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js → api/resources/api/resources/thera/resources/index.js} +2 -6
- package/dist/api/resources/db/resources/employment/types/EmploymentDocuments.d.ts +2 -1
- package/{api/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts → dist/api/resources/db/resources/employment/types/GenericEmploymentDocument.d.ts} +2 -2
- package/dist/api/resources/db/resources/employment/types/index.d.ts +1 -0
- package/dist/api/resources/db/resources/employment/types/index.js +1 -0
- package/dist/api/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +9 -0
- package/dist/api/resources/db/resources/gustoAuth/types/index.d.ts +1 -0
- package/dist/api/resources/db/resources/gustoAuth/types/index.js +17 -0
- package/dist/api/resources/db/resources/index.d.ts +2 -1
- package/dist/api/resources/db/resources/index.js +3 -2
- package/dist/serialization/resources/api/resources/gusto/resources/index.d.ts +2 -0
- package/{api/resources/db/resources/test → dist/serialization/resources/api/resources/gusto}/resources/index.js +3 -3
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/index.js +17 -0
- package/{serialization/resources/db/resources/test/resources/employment/types/FernWageType.d.ts → dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts} +3 -3
- package/{serialization/resources/db/resources/test/resources/employment/types/FernWageType.js → dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GrantType.js} +2 -2
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +16 -0
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js +37 -0
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +17 -0
- package/{serialization/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.js → dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js} +8 -3
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +16 -0
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js +37 -0
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +16 -0
- package/dist/serialization/resources/{db/resources/test/resources/employment/types/FernFrequency.js → api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js} +7 -8
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +5 -0
- package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.js +21 -0
- package/dist/serialization/resources/api/resources/index.d.ts +3 -1
- package/dist/serialization/resources/api/resources/index.js +4 -2
- package/dist/serialization/resources/api/resources/services/resources/file/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/services/resources/file/index.js +1 -0
- package/dist/serialization/resources/api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.d.ts +12 -0
- package/dist/serialization/resources/{db/resources/test/resources/employment/types/FernPerPaycheckFrequency.js → api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.js} +3 -3
- package/dist/serialization/resources/api/resources/services/resources/file/types/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/services/resources/file/types/index.js +17 -0
- package/dist/serialization/resources/api/resources/services/resources/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/services/resources/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/authentication/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/authentication/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +14 -0
- package/dist/serialization/resources/{db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.js → api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js} +6 -4
- package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/index.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/index.js +27 -0
- package/dist/serialization/resources/db/resources/employment/types/EmploymentDocuments.d.ts +1 -1
- package/dist/serialization/resources/db/resources/employment/types/EmploymentDocuments.js +1 -1
- package/dist/serialization/resources/db/resources/employment/types/GenericEmploymentDocument.d.ts +13 -0
- package/{serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.js → dist/serialization/resources/db/resources/employment/types/GenericEmploymentDocument.js} +4 -4
- package/dist/serialization/resources/db/resources/employment/types/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/employment/types/index.js +1 -0
- package/dist/serialization/resources/db/resources/gustoAuth/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/gustoAuth/index.js +17 -0
- package/dist/serialization/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +15 -0
- package/dist/serialization/resources/db/resources/{test/resources/employment/types/FernDeduction.js → gustoAuth/types/GustoAuth.js} +7 -4
- package/dist/serialization/resources/db/resources/gustoAuth/types/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/gustoAuth/types/index.js +17 -0
- package/dist/serialization/resources/db/resources/index.d.ts +2 -1
- package/dist/serialization/resources/db/resources/index.js +3 -2
- package/package.json +1 -1
- package/serialization/resources/api/resources/gusto/index.d.ts +1 -0
- package/serialization/resources/api/resources/gusto/index.js +17 -0
- package/serialization/resources/api/resources/gusto/resources/index.d.ts +2 -0
- package/serialization/resources/{db/resources/test → api/resources/gusto}/resources/index.js +3 -3
- package/serialization/resources/api/resources/gusto/resources/oauthToken/index.d.ts +1 -0
- package/serialization/resources/api/resources/gusto/resources/oauthToken/index.js +17 -0
- package/{dist/serialization/resources/db/resources/test/resources/employment/types/FernWageType.d.ts → serialization/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts} +3 -3
- package/{dist/serialization/resources/db/resources/test/resources/employment/types/FernWageType.js → serialization/resources/api/resources/gusto/resources/oauthToken/types/GrantType.js} +2 -2
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +16 -0
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js +37 -0
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +17 -0
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js +38 -0
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +16 -0
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js +37 -0
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +16 -0
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js +37 -0
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +5 -0
- package/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.js +21 -0
- package/serialization/resources/api/resources/index.d.ts +3 -1
- package/serialization/resources/api/resources/index.js +4 -2
- package/serialization/resources/api/resources/services/resources/file/index.d.ts +1 -0
- package/serialization/resources/api/resources/services/resources/file/index.js +1 -0
- package/serialization/resources/api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.d.ts +12 -0
- package/{dist/serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.js → serialization/resources/api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.js} +3 -4
- package/serialization/resources/api/resources/services/resources/file/types/index.d.ts +1 -0
- package/serialization/resources/api/resources/services/resources/file/types/index.js +17 -0
- package/serialization/resources/api/resources/services/resources/index.d.ts +1 -0
- package/serialization/resources/api/resources/services/resources/index.js +1 -0
- package/serialization/resources/api/resources/thera/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/authentication/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/authentication/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +14 -0
- package/{dist/serialization/resources/db/resources/test/resources/employment/types/FernEarning.js → serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js} +6 -9
- package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/authentication/resources/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/authentication/resources/index.js +31 -0
- package/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/index.js +27 -0
- package/serialization/resources/db/resources/employment/types/EmploymentDocuments.d.ts +1 -1
- package/serialization/resources/db/resources/employment/types/EmploymentDocuments.js +1 -1
- package/serialization/resources/db/resources/employment/types/GenericEmploymentDocument.d.ts +13 -0
- package/serialization/resources/db/resources/{test/resources/employment/types/FernDeduction.js → employment/types/GenericEmploymentDocument.js} +5 -4
- package/serialization/resources/db/resources/employment/types/index.d.ts +1 -0
- package/serialization/resources/db/resources/employment/types/index.js +1 -0
- package/serialization/resources/db/resources/gustoAuth/index.d.ts +1 -0
- package/serialization/resources/db/resources/gustoAuth/index.js +17 -0
- package/serialization/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +15 -0
- package/serialization/resources/db/resources/gustoAuth/types/GustoAuth.js +36 -0
- package/serialization/resources/db/resources/gustoAuth/types/index.d.ts +1 -0
- package/serialization/resources/db/resources/gustoAuth/types/index.js +17 -0
- package/serialization/resources/db/resources/index.d.ts +2 -1
- package/serialization/resources/db/resources/index.js +3 -2
- package/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +0 -9
- package/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +0 -11
- package/api/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +0 -6
- package/api/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +0 -10
- package/api/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +0 -26
- package/api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +0 -8
- package/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +0 -8
- package/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +0 -10
- package/api/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +0 -7
- package/api/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +0 -10
- package/api/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +0 -11
- package/api/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +0 -7
- package/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +0 -8
- package/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js +0 -10
- package/api/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +0 -6
- package/api/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +0 -8
- package/api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +0 -14
- package/api/resources/db/resources/test/resources/employment/types/FernWageType.d.ts +0 -9
- package/api/resources/db/resources/test/resources/employment/types/FernWageType.js +0 -11
- package/api/resources/db/resources/test/resources/employment/types/index.d.ts +0 -16
- package/api/resources/db/resources/test/resources/employment/types/index.js +0 -32
- package/api/resources/db/resources/test/resources/index.d.ts +0 -2
- package/dist/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +0 -9
- package/dist/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +0 -11
- package/dist/api/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +0 -6
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +0 -10
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +0 -26
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +0 -8
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js +0 -10
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +0 -8
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +0 -10
- package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +0 -7
- package/dist/api/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +0 -10
- package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +0 -11
- package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestone.js +0 -5
- package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +0 -7
- package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.js +0 -5
- package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +0 -8
- package/dist/api/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +0 -6
- package/dist/api/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.js +0 -5
- package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +0 -8
- package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrence.js +0 -5
- package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +0 -14
- package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js +0 -5
- package/dist/api/resources/db/resources/test/resources/employment/types/FernReimbursement.js +0 -5
- package/dist/api/resources/db/resources/test/resources/employment/types/FernWageType.d.ts +0 -9
- package/dist/api/resources/db/resources/test/resources/employment/types/FernWageType.js +0 -11
- package/dist/api/resources/db/resources/test/resources/employment/types/index.d.ts +0 -16
- package/dist/api/resources/db/resources/test/resources/employment/types/index.js +0 -32
- package/dist/api/resources/db/resources/test/resources/index.d.ts +0 -2
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +0 -10
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +0 -31
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +0 -12
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +0 -13
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +0 -31
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.js +0 -52
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +0 -10
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js +0 -31
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +0 -10
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +0 -31
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +0 -12
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +0 -13
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +0 -16
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.js +0 -37
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +0 -12
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.js +0 -33
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +0 -10
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +0 -12
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +0 -13
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.js +0 -34
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +0 -17
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js +0 -41
- package/dist/serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts +0 -13
- package/dist/serialization/resources/db/resources/test/resources/employment/types/index.d.ts +0 -16
- package/dist/serialization/resources/db/resources/test/resources/employment/types/index.js +0 -32
- package/dist/serialization/resources/db/resources/test/resources/index.d.ts +0 -2
- package/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +0 -10
- package/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +0 -31
- package/serialization/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +0 -12
- package/serialization/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +0 -13
- package/serialization/resources/db/resources/test/resources/employment/types/FernEarning.js +0 -38
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +0 -31
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.js +0 -52
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +0 -10
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js +0 -31
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +0 -10
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +0 -31
- package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +0 -12
- package/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +0 -13
- package/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.js +0 -38
- package/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +0 -16
- package/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.js +0 -37
- package/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +0 -12
- package/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.js +0 -33
- package/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +0 -10
- package/serialization/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +0 -12
- package/serialization/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.js +0 -33
- package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +0 -13
- package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.js +0 -34
- package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +0 -17
- package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js +0 -41
- package/serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts +0 -13
- package/serialization/resources/db/resources/test/resources/employment/types/index.d.ts +0 -16
- package/serialization/resources/db/resources/test/resources/employment/types/index.js +0 -32
- package/serialization/resources/db/resources/test/resources/index.d.ts +0 -2
- /package/api/resources/{db/resources/test → api/resources/gusto}/index.d.ts +0 -0
- /package/api/resources/{db/resources/test → api/resources/gusto}/index.js +0 -0
- /package/api/resources/{db/resources/test/resources/employment → api/resources/gusto/resources/oauthToken}/index.d.ts +0 -0
- /package/api/resources/{db/resources/test/resources/employment → api/resources/gusto/resources/oauthToken}/index.js +0 -0
- /package/api/resources/{db/resources/test/resources/employment/types/FernDeduction.js → api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js} +0 -0
- /package/api/resources/{db/resources/test/resources/employment/types/FernEarning.js → api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js} +0 -0
- /package/api/resources/{db/resources/test/resources/employment/types/FernEmployment.js → api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js} +0 -0
- /package/api/resources/{db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.js → api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js} +0 -0
- /package/api/resources/{db/resources/test/resources/employment/types/FernFrequency.js → api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.js} +0 -0
- /package/api/resources/{db/resources/test/resources/employment/types/FernMilestone.js → api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js} +0 -0
- /package/api/resources/db/resources/{test/resources/employment/types/FernMilestoneDetails.js → employment/types/GenericEmploymentDocument.js} +0 -0
- /package/{dist/api/resources/db/resources/test/resources/employment → api/resources/db/resources/gustoAuth}/index.d.ts +0 -0
- /package/{dist/api/resources/db/resources/test/resources/employment → api/resources/db/resources/gustoAuth}/index.js +0 -0
- /package/api/resources/db/resources/{test/resources/employment/types/FernPerPaycheckFrequency.js → gustoAuth/types/GustoAuth.js} +0 -0
- /package/dist/api/resources/{db/resources/test → api/resources/gusto}/index.d.ts +0 -0
- /package/dist/api/resources/{db/resources/test → api/resources/gusto}/index.js +0 -0
- /package/dist/{serialization/resources/db/resources/test/resources/employment → api/resources/api/resources/gusto/resources/oauthToken}/index.d.ts +0 -0
- /package/dist/{serialization/resources/db/resources/test/resources/employment → api/resources/api/resources/gusto/resources/oauthToken}/index.js +0 -0
- /package/{api/resources/db/resources/test/resources/employment/types/FernRecurrence.js → dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js} +0 -0
- /package/{api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js → dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js} +0 -0
- /package/{api/resources/db/resources/test/resources/employment/types/FernReimbursement.js → dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js} +0 -0
- /package/dist/api/resources/{db/resources/test/resources/employment/types/FernDeduction.js → api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js} +0 -0
- /package/dist/api/resources/{db/resources/test/resources/employment/types/FernEarning.js → api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.js} +0 -0
- /package/dist/api/resources/{db/resources/test/resources/employment/types/FernEmployment.js → api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js} +0 -0
- /package/dist/api/resources/db/resources/{test/resources/employment/types/FernEmploymentW2PayrollDetails.js → employment/types/GenericEmploymentDocument.js} +0 -0
- /package/{serialization/resources/db/resources/test/resources/employment → dist/api/resources/db/resources/gustoAuth}/index.d.ts +0 -0
- /package/{serialization/resources/db/resources/test/resources/employment → dist/api/resources/db/resources/gustoAuth}/index.js +0 -0
- /package/dist/api/resources/db/resources/{test/resources/employment/types/FernFrequency.js → gustoAuth/types/GustoAuth.js} +0 -0
- /package/dist/serialization/resources/{db/resources/test → api/resources/gusto}/index.d.ts +0 -0
- /package/dist/serialization/resources/{db/resources/test → api/resources/gusto}/index.js +0 -0
- /package/{serialization/resources/db/resources/test → dist/serialization/resources/api/resources/thera}/index.d.ts +0 -0
- /package/{serialization/resources/db/resources/test → dist/serialization/resources/api/resources/thera}/index.js +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../../../../../../../../../core";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../..";
|
|
6
|
+
export declare namespace GustoAuthentication {
|
|
7
|
+
interface Options {
|
|
8
|
+
environment: string;
|
|
9
|
+
token: core.Supplier<core.BearerToken>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export declare class GustoAuthentication {
|
|
13
|
+
protected readonly options: GustoAuthentication.Options;
|
|
14
|
+
constructor(options: GustoAuthentication.Options);
|
|
15
|
+
gustoAccessToken(theraCompanyId: string): Promise<TheraApi.api.thera.authentication.GustoAccessTokenResponse>;
|
|
16
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
29
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
|
+
};
|
|
31
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
+
exports.GustoAuthentication = void 0;
|
|
33
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
34
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
35
|
+
const serializers = __importStar(require("../../../../../../../../../../serialization"));
|
|
36
|
+
const errors = __importStar(require("../../../../../../../../../../errors"));
|
|
37
|
+
class GustoAuthentication {
|
|
38
|
+
options;
|
|
39
|
+
constructor(options) {
|
|
40
|
+
this.options = options;
|
|
41
|
+
}
|
|
42
|
+
async gustoAccessToken(theraCompanyId) {
|
|
43
|
+
const _response = await core.fetcher({
|
|
44
|
+
url: (0, url_join_1.default)(this.options.environment, `/gusto-access-token/${theraCompanyId}`),
|
|
45
|
+
method: "GET",
|
|
46
|
+
headers: {
|
|
47
|
+
Authorization: await this._getAuthorizationHeader(),
|
|
48
|
+
"X-Fern-Language": "JavaScript",
|
|
49
|
+
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
|
50
|
+
"X-Fern-SDK-Version": "0.0.1061",
|
|
51
|
+
},
|
|
52
|
+
contentType: "application/json",
|
|
53
|
+
timeoutMs: 60000,
|
|
54
|
+
});
|
|
55
|
+
if (_response.ok) {
|
|
56
|
+
return await serializers.api.thera.authentication.GustoAccessTokenResponse.parseOrThrow(_response.body, {
|
|
57
|
+
unrecognizedObjectKeys: "passthrough",
|
|
58
|
+
allowUnrecognizedUnionMembers: true,
|
|
59
|
+
allowUnrecognizedEnumValues: true,
|
|
60
|
+
breadcrumbsPrefix: ["response"],
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
if (_response.error.reason === "status-code") {
|
|
64
|
+
throw new errors.TheraApiError({
|
|
65
|
+
statusCode: _response.error.statusCode,
|
|
66
|
+
body: _response.error.body,
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
switch (_response.error.reason) {
|
|
70
|
+
case "non-json":
|
|
71
|
+
throw new errors.TheraApiError({
|
|
72
|
+
statusCode: _response.error.statusCode,
|
|
73
|
+
body: _response.error.rawBody,
|
|
74
|
+
});
|
|
75
|
+
case "timeout":
|
|
76
|
+
throw new errors.TheraApiTimeoutError();
|
|
77
|
+
case "unknown":
|
|
78
|
+
throw new errors.TheraApiError({
|
|
79
|
+
message: _response.error.errorMessage,
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
async _getAuthorizationHeader() {
|
|
84
|
+
const bearer = await core.Supplier.get(this.options.token);
|
|
85
|
+
if (bearer != null) {
|
|
86
|
+
return `Bearer ${bearer}`;
|
|
87
|
+
}
|
|
88
|
+
return undefined;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.GustoAuthentication = GustoAuthentication;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./GustoAccessTokenResponse";
|
|
@@ -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("./GustoAccessTokenResponse"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.gustoAuthentication = void 0;
|
|
30
|
+
exports.gustoAuthentication = __importStar(require("./gustoAuthentication"));
|
|
31
|
+
__exportStar(require("./gustoAuthentication/types"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as authentication from "./authentication";
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
3
|
if (k2 === undefined) k2 = k;
|
|
7
4
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -26,6 +23,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
23
|
return result;
|
|
27
24
|
};
|
|
28
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
|
|
31
|
-
exports.FernMilestoneStatus = core.serialization.enum_(["CREATED", "COMPLETE"]);
|
|
26
|
+
exports.authentication = void 0;
|
|
27
|
+
exports.authentication = __importStar(require("./authentication"));
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as TheraApi from "../../../../..";
|
|
4
5
|
export interface EmploymentDocuments {
|
|
5
6
|
/** Keys are S3 Keys, values are names that the UI can display */
|
|
6
|
-
generic: Record<string,
|
|
7
|
+
generic: Record<string, TheraApi.db.GenericEmploymentDocument>;
|
|
7
8
|
}
|
|
@@ -15,6 +15,7 @@ export * from "./WageType";
|
|
|
15
15
|
export * from "./EmploymentStatus";
|
|
16
16
|
export * from "./Employment";
|
|
17
17
|
export * from "./EmploymentDocuments";
|
|
18
|
+
export * from "./GenericEmploymentDocument";
|
|
18
19
|
export * from "./ModifyRecurrencesRequest";
|
|
19
20
|
export * from "./RecurrenceModifications";
|
|
20
21
|
export * from "./ModifyRecurrencesResponse";
|
|
@@ -31,6 +31,7 @@ __exportStar(require("./WageType"), exports);
|
|
|
31
31
|
__exportStar(require("./EmploymentStatus"), exports);
|
|
32
32
|
__exportStar(require("./Employment"), exports);
|
|
33
33
|
__exportStar(require("./EmploymentDocuments"), exports);
|
|
34
|
+
__exportStar(require("./GenericEmploymentDocument"), exports);
|
|
34
35
|
__exportStar(require("./ModifyRecurrencesRequest"), exports);
|
|
35
36
|
__exportStar(require("./RecurrenceModifications"), exports);
|
|
36
37
|
__exportStar(require("./ModifyRecurrencesResponse"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./GustoAuth";
|
|
@@ -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("./GustoAuth"), exports);
|
|
@@ -2,7 +2,8 @@ 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";
|
|
5
7
|
export * as payment from "./payment";
|
|
6
|
-
export * as test from "./test";
|
|
7
8
|
export * as user from "./user";
|
|
8
9
|
export * from "./user/types";
|
|
@@ -26,12 +26,13 @@ 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.
|
|
29
|
+
exports.user = exports.payment = exports.gustoAuth = 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);
|
|
34
36
|
exports.payment = __importStar(require("./payment"));
|
|
35
|
-
exports.test = __importStar(require("./test"));
|
|
36
37
|
exports.user = __importStar(require("./user"));
|
|
37
38
|
__exportStar(require("./user/types"), exports);
|
|
@@ -26,6 +26,6 @@ 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.
|
|
30
|
-
exports.
|
|
31
|
-
__exportStar(require("./
|
|
29
|
+
exports.oauthToken = void 0;
|
|
30
|
+
exports.oauthToken = __importStar(require("./oauthToken"));
|
|
31
|
+
__exportStar(require("./oauthToken/types"), exports);
|
|
@@ -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);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../..";
|
|
5
5
|
import * as TheraApi from "../../../../../../../../api";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
9
|
-
type Raw = "
|
|
7
|
+
export declare const GrantType: core.serialization.Schema<serializers.api.gusto.GrantType.Raw, TheraApi.api.gusto.GrantType>;
|
|
8
|
+
export declare namespace GrantType {
|
|
9
|
+
type Raw = "refresh_token" | "strict_access";
|
|
10
10
|
}
|
|
@@ -26,6 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.GrantType = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.GrantType = core.serialization.enum_(["refresh_token", "strict_access"]);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const GustoOAuthRefreshAccessTokenRequest: core.serialization.ObjectSchema<serializers.api.gusto.GustoOAuthRefreshAccessTokenRequest.Raw, TheraApi.api.gusto.GustoOAuthRefreshAccessTokenRequest>;
|
|
8
|
+
export declare namespace GustoOAuthRefreshAccessTokenRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
refresh_token: string;
|
|
11
|
+
grant_type: serializers.api.gusto.GrantType.Raw;
|
|
12
|
+
client_id: string;
|
|
13
|
+
client_secret: string;
|
|
14
|
+
redirect_uri: string;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GustoOAuthRefreshAccessTokenRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.GustoOAuthRefreshAccessTokenRequest = core.serialization.object({
|
|
32
|
+
refreshToken: core.serialization.property("refresh_token", core.serialization.string()),
|
|
33
|
+
grantType: core.serialization.property("grant_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).api.gusto.GrantType)),
|
|
34
|
+
clientId: core.serialization.property("client_id", core.serialization.string()),
|
|
35
|
+
clientSecret: core.serialization.property("client_secret", core.serialization.string()),
|
|
36
|
+
redirectUri: core.serialization.property("redirect_uri", core.serialization.string()),
|
|
37
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const GustoOAuthRefreshTokenResponse: core.serialization.ObjectSchema<serializers.api.gusto.GustoOAuthRefreshTokenResponse.Raw, TheraApi.api.gusto.GustoOAuthRefreshTokenResponse>;
|
|
8
|
+
export declare namespace GustoOAuthRefreshTokenResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
access_token: string;
|
|
11
|
+
token_type: string;
|
|
12
|
+
created_at: number;
|
|
13
|
+
expires_in: number;
|
|
14
|
+
refresh_token: string;
|
|
15
|
+
scope: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -26,8 +26,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.GustoOAuthRefreshTokenResponse = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.GustoOAuthRefreshTokenResponse = core.serialization.object({
|
|
32
|
+
accessToken: core.serialization.property("access_token", core.serialization.string()),
|
|
33
|
+
tokenType: core.serialization.property("token_type", core.serialization.string()),
|
|
34
|
+
createdAt: core.serialization.property("created_at", core.serialization.number()),
|
|
35
|
+
expiresIn: core.serialization.property("expires_in", core.serialization.number()),
|
|
36
|
+
refreshToken: core.serialization.property("refresh_token", core.serialization.string()),
|
|
37
|
+
scope: core.serialization.string(),
|
|
33
38
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const GustoOAuthStrictAccessTokenRequest: core.serialization.ObjectSchema<serializers.api.gusto.GustoOAuthStrictAccessTokenRequest.Raw, TheraApi.api.gusto.GustoOAuthStrictAccessTokenRequest>;
|
|
8
|
+
export declare namespace GustoOAuthStrictAccessTokenRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
access_token: string;
|
|
11
|
+
grant_type: serializers.api.gusto.GrantType.Raw;
|
|
12
|
+
client_id: string;
|
|
13
|
+
client_secret: string;
|
|
14
|
+
redirect_uri: string;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.GustoOAuthStrictAccessTokenRequest = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.GustoOAuthStrictAccessTokenRequest = core.serialization.object({
|
|
32
|
+
accessToken: core.serialization.property("access_token", core.serialization.string()),
|
|
33
|
+
grantType: core.serialization.property("grant_type", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).api.gusto.GrantType)),
|
|
34
|
+
clientId: core.serialization.property("client_id", core.serialization.string()),
|
|
35
|
+
clientSecret: core.serialization.property("client_secret", core.serialization.string()),
|
|
36
|
+
redirectUri: core.serialization.property("redirect_uri", core.serialization.string()),
|
|
37
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../..";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const GustoOAuthStrictTokenResponse: core.serialization.ObjectSchema<serializers.api.gusto.GustoOAuthStrictTokenResponse.Raw, TheraApi.api.gusto.GustoOAuthStrictTokenResponse>;
|
|
8
|
+
export declare namespace GustoOAuthStrictTokenResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
access_token: string;
|
|
11
|
+
refresh_token: string;
|
|
12
|
+
token_type: string;
|
|
13
|
+
resource_type: string;
|
|
14
|
+
resource_uuid: string;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -26,13 +26,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.GustoOAuthStrictTokenResponse = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
.
|
|
36
|
-
|
|
37
|
-
untransform: (value) => value,
|
|
31
|
+
exports.GustoOAuthStrictTokenResponse = core.serialization.object({
|
|
32
|
+
accessToken: core.serialization.property("access_token", core.serialization.string()),
|
|
33
|
+
refreshToken: core.serialization.property("refresh_token", core.serialization.string()),
|
|
34
|
+
tokenType: core.serialization.property("token_type", core.serialization.string()),
|
|
35
|
+
resourceType: core.serialization.property("resource_type", core.serialization.string()),
|
|
36
|
+
resourceUuid: core.serialization.property("resource_uuid", core.serialization.string()),
|
|
38
37
|
});
|