@thera-hr/api-sdk 0.0.3441 → 0.0.3450
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +2 -6
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +20 -72
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/{client/requests → types}/VerifyAccountSignupRequest.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -2
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -2
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +10 -10
- package/{dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditOrgAdminsRequest.d.ts → api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.d.ts} +1 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.d.ts +1 -2
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.d.ts +2 -4
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +1 -1
- package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/CompleteAccountSignupRequest.d.ts → api/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.d.ts} +1 -2
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.d.ts +2 -2
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.d.ts +2 -3
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.js +1 -2
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +1 -3
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +1 -3
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -61
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/index.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/index.js +0 -15
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +0 -2
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/index.js +0 -1
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +1 -1
- package/api/resources/api/resources/zeal/resources/company/resources/create/types/ZealCreateCompanyRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +2 -6
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +20 -72
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/{client/requests → types}/VerifyAccountSignupRequest.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -2
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -2
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +10 -10
- package/{api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditOrgAdminsRequest.d.ts → dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.d.ts} +1 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.d.ts +1 -2
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.d.ts +2 -4
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +1 -1
- package/{api/resources/api/resources/thera/resources/bank/resources/bankApi/types/CompleteAccountSignupRequest.d.ts → dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.d.ts} +1 -2
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.d.ts +2 -2
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.d.ts +2 -3
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.js +1 -2
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +1 -3
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +1 -3
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -61
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/index.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/index.js +0 -15
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +0 -2
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/index.js +0 -1
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/zeal/resources/company/resources/create/types/ZealCreateCompanyRequest.d.ts +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/{CompleteAccountSignupRequest.d.ts → VerifyAccountSignupRequest.d.ts} +2 -2
- package/{serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/CompleteAccountSignupRequest.js → dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/VerifyAccountSignupRequest.js} +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/{EditOrgAdminsRequest.d.ts → AddOrgAdminsRequest.d.ts} +2 -2
- package/{serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditOrgAdminsRequest.js → dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.js} +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.d.ts +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.js +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.d.ts +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.js +4 -2
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.js +3 -3
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetBankAccountVerificationToken.js → company/resources/companyApi/types/AddOrgAdminsResponse.js} +2 -4
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.d.ts +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.js +2 -4
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.d.ts +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.js +1 -4
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.js +1 -3
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.d.ts +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.js +1 -1
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +1 -3
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +1 -3
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/index.js +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/index.js +0 -1
- package/dist/serialization/resources/api/resources/zeal/resources/company/resources/create/types/ZealCreateCompanyRequest.d.ts +1 -1
- package/dist/serialization/resources/api/resources/zeal/resources/company/resources/create/types/ZealCreateCompanyRequest.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/{CompleteAccountSignupRequest.d.ts → VerifyAccountSignupRequest.d.ts} +2 -2
- package/{dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/CompleteAccountSignupRequest.js → serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/VerifyAccountSignupRequest.js} +2 -2
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -2
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -2
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/{EditOrgAdminsRequest.d.ts → AddOrgAdminsRequest.d.ts} +2 -2
- package/{dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditOrgAdminsRequest.js → serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.js} +2 -2
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.d.ts +1 -2
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.js +1 -2
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.d.ts +2 -2
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.js +4 -2
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +1 -1
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.js +3 -3
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetBankAccountVerificationToken.js → company/resources/companyApi/types/AddOrgAdminsResponse.js} +2 -4
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.d.ts +2 -2
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CompanyApiResponse.js +2 -4
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.d.ts +0 -2
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.js +1 -4
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.js +1 -3
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.d.ts +1 -1
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.js +1 -1
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +1 -3
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +1 -3
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/index.js +0 -1
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +0 -2
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +0 -2
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/index.js +0 -1
- package/serialization/resources/api/resources/zeal/resources/company/resources/create/types/ZealCreateCompanyRequest.d.ts +1 -1
- package/serialization/resources/api/resources/zeal/resources/company/resources/create/types/ZealCreateCompanyRequest.js +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetBankAccountVerificationToken.d.ts +0 -6
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/BankAccountResponseMetadata.d.ts +0 -7
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/EditOrgAdminsResponse.d.ts +0 -7
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/EditOrgAdminsResponse.js +0 -5
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/PlaidVerificationStatus.d.ts +0 -11
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/PlaidVerificationStatus.js +0 -13
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.d.ts +0 -9
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.js +0 -5
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/index.js +0 -2
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.d.ts +0 -10
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.js +0 -5
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.d.ts +0 -10
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/CompleteAccountSignupRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetBankAccountVerificationToken.d.ts +0 -6
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetBankAccountVerificationToken.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditOrgAdminsRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/BankAccountResponseMetadata.d.ts +0 -7
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/BankAccountResponseMetadata.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/EditOrgAdminsResponse.d.ts +0 -7
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/EditOrgAdminsResponse.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/PlaidVerificationStatus.d.ts +0 -11
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/PlaidVerificationStatus.js +0 -13
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.d.ts +0 -9
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/index.js +0 -2
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.d.ts +0 -10
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.js +0 -5
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.d.ts +0 -10
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.js +0 -5
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetBankAccountVerificationToken.d.ts +0 -12
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/BankAccountResponseMetadata.d.ts +0 -12
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/BankAccountResponseMetadata.js +0 -42
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditOrgAdminsResponse.d.ts +0 -13
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditOrgAdminsResponse.js +0 -34
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/PlaidVerificationStatus.d.ts +0 -10
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/PlaidVerificationStatus.js +0 -37
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/index.js +0 -17
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.d.ts +0 -13
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.js +0 -43
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/index.js +0 -5
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.d.ts +0 -16
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.js +0 -37
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.d.ts +0 -16
- package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.js +0 -37
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetBankAccountVerificationToken.d.ts +0 -12
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/BankAccountResponseMetadata.d.ts +0 -12
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/BankAccountResponseMetadata.js +0 -42
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditOrgAdminsResponse.d.ts +0 -13
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditOrgAdminsResponse.js +0 -34
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/PlaidVerificationStatus.d.ts +0 -10
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/PlaidVerificationStatus.js +0 -37
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/index.js +0 -17
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.d.ts +0 -13
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.js +0 -43
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/index.js +0 -5
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.d.ts +0 -16
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.js +0 -37
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.d.ts +0 -16
- package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvRecord.js +0 -37
- /package/api/resources/api/resources/thera/resources/bank/resources/bankApi/{client/requests → types}/VerifyAccountSignupRequest.js +0 -0
- /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/types/CompleteAccountSignupRequest.js → company/resources/companyApi/client/requests/AddOrgAdminsRequest.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetBankAccountVerificationToken.js → company/resources/companyApi/types/AddOrgAdminsResponse.js} +0 -0
- /package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/{client/requests → types}/VerifyAccountSignupRequest.js +0 -0
- /package/{api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditOrgAdminsRequest.js → dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.js} +0 -0
- /package/{api/resources/api/resources/thera/resources/company/resources/companyApi/types/BankAccountResponseMetadata.js → dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.js} +0 -0
@@ -34,24 +34,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
34
34
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
35
|
});
|
36
36
|
};
|
37
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
38
|
-
var t = {};
|
39
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
40
|
-
t[p] = s[p];
|
41
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
42
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
43
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
44
|
-
t[p[i]] = s[p[i]];
|
45
|
-
}
|
46
|
-
return t;
|
47
|
-
};
|
48
37
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
49
38
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
50
39
|
};
|
51
40
|
Object.defineProperty(exports, "__esModule", { value: true });
|
52
41
|
exports.DisbursementApi = void 0;
|
53
42
|
const core = __importStar(require("../../../../../../../../../../core"));
|
54
|
-
const url_search_params_1 = __importDefault(require("@ungap/url-search-params"));
|
55
43
|
const serializers = __importStar(require("../../../../../../../../../../serialization"));
|
56
44
|
const url_join_1 = __importDefault(require("url-join"));
|
57
45
|
const errors = __importStar(require("../../../../../../../../../../errors"));
|
@@ -59,53 +47,6 @@ class DisbursementApi {
|
|
59
47
|
constructor(_options) {
|
60
48
|
this._options = _options;
|
61
49
|
}
|
62
|
-
uploadCsvInvoice(companyId, request) {
|
63
|
-
return __awaiter(this, void 0, void 0, function* () {
|
64
|
-
const { preview } = request, _body = __rest(request, ["preview"]);
|
65
|
-
const _queryParams = new url_search_params_1.default();
|
66
|
-
if (preview != null) {
|
67
|
-
_queryParams.append("preview", preview.toString());
|
68
|
-
}
|
69
|
-
const _response = yield core.fetcher({
|
70
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), `companies/${companyId}/invoices/csv`),
|
71
|
-
method: "POST",
|
72
|
-
headers: {
|
73
|
-
Authorization: yield this._getAuthorizationHeader(),
|
74
|
-
"X-Fern-Language": "JavaScript",
|
75
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
76
|
-
"X-Fern-SDK-Version": "0.0.3441",
|
77
|
-
},
|
78
|
-
contentType: "application/json",
|
79
|
-
queryParameters: _queryParams,
|
80
|
-
body: yield serializers.api.thera.disbursement.CreateInvoiceCsvRequest.jsonOrThrow(_body, {
|
81
|
-
unrecognizedObjectKeys: "strip",
|
82
|
-
}),
|
83
|
-
timeoutMs: 60000,
|
84
|
-
});
|
85
|
-
if (_response.ok) {
|
86
|
-
return _response.body;
|
87
|
-
}
|
88
|
-
if (_response.error.reason === "status-code") {
|
89
|
-
throw new errors.TheraApiError({
|
90
|
-
statusCode: _response.error.statusCode,
|
91
|
-
body: _response.error.body,
|
92
|
-
});
|
93
|
-
}
|
94
|
-
switch (_response.error.reason) {
|
95
|
-
case "non-json":
|
96
|
-
throw new errors.TheraApiError({
|
97
|
-
statusCode: _response.error.statusCode,
|
98
|
-
body: _response.error.rawBody,
|
99
|
-
});
|
100
|
-
case "timeout":
|
101
|
-
throw new errors.TheraApiTimeoutError();
|
102
|
-
case "unknown":
|
103
|
-
throw new errors.TheraApiError({
|
104
|
-
message: _response.error.errorMessage,
|
105
|
-
});
|
106
|
-
}
|
107
|
-
});
|
108
|
-
}
|
109
50
|
/**
|
110
51
|
* For the response type, please check Swagger. Info for the Invoice Work Unit type: 1. `workUnitTotal` is used to replace `hours`. 2. Check the WageType of Invoice in the Contract API to know if it's hourly, daily or weekly invoice.
|
111
52
|
*/
|
@@ -118,7 +59,7 @@ class DisbursementApi {
|
|
118
59
|
Authorization: yield this._getAuthorizationHeader(),
|
119
60
|
"X-Fern-Language": "JavaScript",
|
120
61
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
121
|
-
"X-Fern-SDK-Version": "0.0.
|
62
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
122
63
|
},
|
123
64
|
contentType: "application/json",
|
124
65
|
body: yield serializers.api.thera.disbursement.CreateDisbursementRequest.jsonOrThrow(request, {
|
@@ -162,7 +103,7 @@ class DisbursementApi {
|
|
162
103
|
Authorization: yield this._getAuthorizationHeader(),
|
163
104
|
"X-Fern-Language": "JavaScript",
|
164
105
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
165
|
-
"X-Fern-SDK-Version": "0.0.
|
106
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
166
107
|
},
|
167
108
|
contentType: "application/json",
|
168
109
|
timeoutMs: 60000,
|
@@ -1 +1 @@
|
|
1
|
-
export
|
1
|
+
export {};
|
@@ -1,17 +1,2 @@
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./requests"), exports);
|
@@ -5,6 +5,4 @@ export * from "./CreateGeneralItemDetail";
|
|
5
5
|
export * from "./DisbursementItemType";
|
6
6
|
export * from "./CreateOffCycleInvoiceDetail";
|
7
7
|
export * from "./CreateDisbursementDetail";
|
8
|
-
export * from "./CreateInvoiceCsvColumn";
|
9
|
-
export * from "./CreateInvoiceCsvRecord";
|
10
8
|
export * from "./CreateDisbursementRequest";
|
@@ -21,6 +21,4 @@ __exportStar(require("./CreateGeneralItemDetail"), exports);
|
|
21
21
|
__exportStar(require("./DisbursementItemType"), exports);
|
22
22
|
__exportStar(require("./CreateOffCycleInvoiceDetail"), exports);
|
23
23
|
__exportStar(require("./CreateDisbursementDetail"), exports);
|
24
|
-
__exportStar(require("./CreateInvoiceCsvColumn"), exports);
|
25
|
-
__exportStar(require("./CreateInvoiceCsvRecord"), exports);
|
26
24
|
__exportStar(require("./CreateDisbursementRequest"), exports);
|
@@ -60,7 +60,7 @@ class DisbursementWebhookApi {
|
|
60
60
|
Authorization: yield this._getAuthorizationHeader(),
|
61
61
|
"X-Fern-Language": "JavaScript",
|
62
62
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
63
|
-
"X-Fern-SDK-Version": "0.0.
|
63
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
64
64
|
"Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
|
65
65
|
},
|
66
66
|
contentType: "application/json",
|
@@ -2,5 +2,4 @@ export * as disbursementApi from "./disbursementApi";
|
|
2
2
|
export * from "./disbursementApi/types";
|
3
3
|
export * as disbursementWebhookApi from "./disbursementWebhookApi";
|
4
4
|
export * from "./disbursementWebhookApi/types";
|
5
|
-
export * from "./disbursementApi/client/requests";
|
6
5
|
export * from "./disbursementWebhookApi/client/requests";
|
@@ -31,5 +31,4 @@ exports.disbursementApi = __importStar(require("./disbursementApi"));
|
|
31
31
|
__exportStar(require("./disbursementApi/types"), exports);
|
32
32
|
exports.disbursementWebhookApi = __importStar(require("./disbursementWebhookApi"));
|
33
33
|
__exportStar(require("./disbursementWebhookApi/types"), exports);
|
34
|
-
__exportStar(require("./disbursementApi/client/requests"), exports);
|
35
34
|
__exportStar(require("./disbursementWebhookApi/client/requests"), exports);
|
@@ -59,7 +59,7 @@ class EmploymentApi {
|
|
59
59
|
Authorization: yield this._getAuthorizationHeader(),
|
60
60
|
"X-Fern-Language": "JavaScript",
|
61
61
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
62
|
-
"X-Fern-SDK-Version": "0.0.
|
62
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
63
63
|
},
|
64
64
|
contentType: "application/json",
|
65
65
|
body: yield serializers.api.thera.employment.CreateContractEstimateRequest.jsonOrThrow(request, {
|
@@ -108,7 +108,7 @@ class EmploymentApi {
|
|
108
108
|
Authorization: yield this._getAuthorizationHeader(),
|
109
109
|
"X-Fern-Language": "JavaScript",
|
110
110
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
111
|
-
"X-Fern-SDK-Version": "0.0.
|
111
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
112
112
|
},
|
113
113
|
contentType: "application/json",
|
114
114
|
timeoutMs: 60000,
|
@@ -154,7 +154,7 @@ class EmploymentApi {
|
|
154
154
|
Authorization: yield this._getAuthorizationHeader(),
|
155
155
|
"X-Fern-Language": "JavaScript",
|
156
156
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
157
|
-
"X-Fern-SDK-Version": "0.0.
|
157
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
158
158
|
},
|
159
159
|
contentType: "application/json",
|
160
160
|
timeoutMs: 60000,
|
@@ -61,7 +61,7 @@ class Misc {
|
|
61
61
|
Authorization: yield this._getAuthorizationHeader(),
|
62
62
|
"X-Fern-Language": "JavaScript",
|
63
63
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
64
|
-
"X-Fern-SDK-Version": "0.0.
|
64
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
65
65
|
"Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
|
66
66
|
},
|
67
67
|
contentType: "application/json",
|
package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js
CHANGED
@@ -59,7 +59,7 @@ class OncycleApi {
|
|
59
59
|
Authorization: yield this._getAuthorizationHeader(),
|
60
60
|
"X-Fern-Language": "JavaScript",
|
61
61
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
62
|
-
"X-Fern-SDK-Version": "0.0.
|
62
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
63
63
|
},
|
64
64
|
contentType: "application/json",
|
65
65
|
timeoutMs: 60000,
|
@@ -63,7 +63,7 @@ class UserApi {
|
|
63
63
|
Authorization: yield this._getAuthorizationHeader(),
|
64
64
|
"X-Fern-Language": "JavaScript",
|
65
65
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
66
|
-
"X-Fern-SDK-Version": "0.0.
|
66
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
67
67
|
},
|
68
68
|
contentType: "application/json",
|
69
69
|
queryParameters: _queryParams,
|
package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js
CHANGED
@@ -59,7 +59,7 @@ class AipriseWebhookApi {
|
|
59
59
|
Authorization: yield this._getAuthorizationHeader(),
|
60
60
|
"X-Fern-Language": "JavaScript",
|
61
61
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
62
|
-
"X-Fern-SDK-Version": "0.0.
|
62
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
63
63
|
},
|
64
64
|
contentType: "application/json",
|
65
65
|
body: yield serializers.api.aiprise.AiPriseVerificationCallback.jsonOrThrow(request, {
|
@@ -56,7 +56,7 @@ class File_ {
|
|
56
56
|
Authorization: yield 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.3450",
|
60
60
|
},
|
61
61
|
contentType: "application/json",
|
62
62
|
body: yield serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
|
@@ -97,7 +97,7 @@ class File_ {
|
|
97
97
|
Authorization: yield this._getAuthorizationHeader(),
|
98
98
|
"X-Fern-Language": "JavaScript",
|
99
99
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
100
|
-
"X-Fern-SDK-Version": "0.0.
|
100
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
101
101
|
},
|
102
102
|
contentType: "application/json",
|
103
103
|
body: yield serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
|
@@ -138,7 +138,7 @@ class File_ {
|
|
138
138
|
Authorization: yield this._getAuthorizationHeader(),
|
139
139
|
"X-Fern-Language": "JavaScript",
|
140
140
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
141
|
-
"X-Fern-SDK-Version": "0.0.
|
141
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
142
142
|
},
|
143
143
|
contentType: "application/json",
|
144
144
|
timeoutMs: 60000,
|
@@ -181,7 +181,7 @@ class File_ {
|
|
181
181
|
Authorization: yield this._getAuthorizationHeader(),
|
182
182
|
"X-Fern-Language": "JavaScript",
|
183
183
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
184
|
-
"X-Fern-SDK-Version": "0.0.
|
184
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
185
185
|
},
|
186
186
|
contentType: "application/json",
|
187
187
|
timeoutMs: 60000,
|
package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts
CHANGED
@@ -17,13 +17,9 @@ export declare class BankApi {
|
|
17
17
|
*/
|
18
18
|
generateBankSignup(request?: TheraApi.api.thera.bank.GenerateBankSignupRequest): Promise<TheraApi.api.thera.bank.GetBankAccountSignupKey>;
|
19
19
|
/**
|
20
|
-
*
|
20
|
+
* Verify that company's bank account has been provided to Plaid
|
21
21
|
*/
|
22
|
-
|
23
|
-
/**
|
24
|
-
* Used for Manual Verification. Calling this API to check in Plaid if the account has been verified
|
25
|
-
*/
|
26
|
-
verifyBankSignup(request?: TheraApi.api.thera.bank.VerifyAccountSignupRequest): Promise<TheraApi.api.thera.bank.GetBankAccountVerificationToken>;
|
22
|
+
verifyBankSignup(request: TheraApi.api.thera.bank.VerifyAccountSignupRequest): Promise<void>;
|
27
23
|
/**
|
28
24
|
* Update Zeal's bank account with info from Plaid & send microdeposit to company's bank account during W2 onboarding for Zeal API
|
29
25
|
*/
|
package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js
CHANGED
@@ -65,7 +65,7 @@ class BankApi {
|
|
65
65
|
Authorization: yield this._getAuthorizationHeader(),
|
66
66
|
"X-Fern-Language": "JavaScript",
|
67
67
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
68
|
-
"X-Fern-SDK-Version": "0.0.
|
68
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
69
69
|
},
|
70
70
|
contentType: "application/json",
|
71
71
|
queryParameters: _queryParams,
|
@@ -101,21 +101,21 @@ class BankApi {
|
|
101
101
|
});
|
102
102
|
}
|
103
103
|
/**
|
104
|
-
*
|
104
|
+
* Verify that company's bank account has been provided to Plaid
|
105
105
|
*/
|
106
|
-
|
106
|
+
verifyBankSignup(request) {
|
107
107
|
return __awaiter(this, void 0, void 0, function* () {
|
108
108
|
const _response = yield core.fetcher({
|
109
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "bank/account/signup/
|
109
|
+
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "bank/account/signup/verify"),
|
110
110
|
method: "POST",
|
111
111
|
headers: {
|
112
112
|
Authorization: yield this._getAuthorizationHeader(),
|
113
113
|
"X-Fern-Language": "JavaScript",
|
114
114
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
115
|
-
"X-Fern-SDK-Version": "0.0.
|
115
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
116
116
|
},
|
117
117
|
contentType: "application/json",
|
118
|
-
body: yield serializers.api.thera.bank.
|
118
|
+
body: yield serializers.api.thera.bank.VerifyAccountSignupRequest.jsonOrThrow(request, {
|
119
119
|
unrecognizedObjectKeys: "strip",
|
120
120
|
}),
|
121
121
|
timeoutMs: 60000,
|
@@ -144,58 +144,6 @@ class BankApi {
|
|
144
144
|
}
|
145
145
|
});
|
146
146
|
}
|
147
|
-
/**
|
148
|
-
* Used for Manual Verification. Calling this API to check in Plaid if the account has been verified
|
149
|
-
*/
|
150
|
-
verifyBankSignup(request = {}) {
|
151
|
-
return __awaiter(this, void 0, void 0, function* () {
|
152
|
-
const { redirectUri } = request;
|
153
|
-
const _queryParams = new url_search_params_1.default();
|
154
|
-
if (redirectUri != null) {
|
155
|
-
_queryParams.append("redirectUri", redirectUri);
|
156
|
-
}
|
157
|
-
const _response = yield core.fetcher({
|
158
|
-
url: (0, url_join_1.default)(yield core.Supplier.get(this._options.environment), "bank/account/signup/verify"),
|
159
|
-
method: "POST",
|
160
|
-
headers: {
|
161
|
-
Authorization: yield this._getAuthorizationHeader(),
|
162
|
-
"X-Fern-Language": "JavaScript",
|
163
|
-
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
164
|
-
"X-Fern-SDK-Version": "0.0.3441",
|
165
|
-
},
|
166
|
-
contentType: "application/json",
|
167
|
-
queryParameters: _queryParams,
|
168
|
-
timeoutMs: 60000,
|
169
|
-
});
|
170
|
-
if (_response.ok) {
|
171
|
-
return yield serializers.api.thera.bank.GetBankAccountVerificationToken.parseOrThrow(_response.body, {
|
172
|
-
unrecognizedObjectKeys: "passthrough",
|
173
|
-
allowUnrecognizedUnionMembers: true,
|
174
|
-
allowUnrecognizedEnumValues: true,
|
175
|
-
breadcrumbsPrefix: ["response"],
|
176
|
-
});
|
177
|
-
}
|
178
|
-
if (_response.error.reason === "status-code") {
|
179
|
-
throw new errors.TheraApiError({
|
180
|
-
statusCode: _response.error.statusCode,
|
181
|
-
body: _response.error.body,
|
182
|
-
});
|
183
|
-
}
|
184
|
-
switch (_response.error.reason) {
|
185
|
-
case "non-json":
|
186
|
-
throw new errors.TheraApiError({
|
187
|
-
statusCode: _response.error.statusCode,
|
188
|
-
body: _response.error.rawBody,
|
189
|
-
});
|
190
|
-
case "timeout":
|
191
|
-
throw new errors.TheraApiTimeoutError();
|
192
|
-
case "unknown":
|
193
|
-
throw new errors.TheraApiError({
|
194
|
-
message: _response.error.errorMessage,
|
195
|
-
});
|
196
|
-
}
|
197
|
-
});
|
198
|
-
}
|
199
147
|
/**
|
200
148
|
* Update Zeal's bank account with info from Plaid & send microdeposit to company's bank account during W2 onboarding for Zeal API
|
201
149
|
*/
|
@@ -208,7 +156,7 @@ class BankApi {
|
|
208
156
|
Authorization: yield this._getAuthorizationHeader(),
|
209
157
|
"X-Fern-Language": "JavaScript",
|
210
158
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
211
|
-
"X-Fern-SDK-Version": "0.0.
|
159
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
212
160
|
},
|
213
161
|
contentType: "application/json",
|
214
162
|
timeoutMs: 60000,
|
@@ -249,7 +197,7 @@ class BankApi {
|
|
249
197
|
Authorization: yield this._getAuthorizationHeader(),
|
250
198
|
"X-Fern-Language": "JavaScript",
|
251
199
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
252
|
-
"X-Fern-SDK-Version": "0.0.
|
200
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
253
201
|
},
|
254
202
|
contentType: "application/json",
|
255
203
|
body: yield serializers.api.thera.bank.VerifyMicrodepositRequest.jsonOrThrow(request, {
|
@@ -296,7 +244,7 @@ class BankApi {
|
|
296
244
|
Authorization: yield this._getAuthorizationHeader(),
|
297
245
|
"X-Fern-Language": "JavaScript",
|
298
246
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
299
|
-
"X-Fern-SDK-Version": "0.0.
|
247
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
300
248
|
},
|
301
249
|
contentType: "application/json",
|
302
250
|
queryParameters: _queryParams,
|
@@ -346,7 +294,7 @@ class BankApi {
|
|
346
294
|
Authorization: yield this._getAuthorizationHeader(),
|
347
295
|
"X-Fern-Language": "JavaScript",
|
348
296
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
349
|
-
"X-Fern-SDK-Version": "0.0.
|
297
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
350
298
|
},
|
351
299
|
contentType: "application/json",
|
352
300
|
queryParameters: _queryParams,
|
@@ -393,7 +341,7 @@ class BankApi {
|
|
393
341
|
Authorization: yield this._getAuthorizationHeader(),
|
394
342
|
"X-Fern-Language": "JavaScript",
|
395
343
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
396
|
-
"X-Fern-SDK-Version": "0.0.
|
344
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
397
345
|
},
|
398
346
|
contentType: "application/json",
|
399
347
|
body: yield serializers.api.thera.bank.WithdrawalMethodsRequest.jsonOrThrow(request, {
|
@@ -442,7 +390,7 @@ class BankApi {
|
|
442
390
|
Authorization: yield this._getAuthorizationHeader(),
|
443
391
|
"X-Fern-Language": "JavaScript",
|
444
392
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
445
|
-
"X-Fern-SDK-Version": "0.0.
|
393
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
446
394
|
},
|
447
395
|
contentType: "application/json",
|
448
396
|
body: yield serializers.api.thera.bank.WithdrawalMethodsRequest.jsonOrThrow(request, {
|
@@ -488,7 +436,7 @@ class BankApi {
|
|
488
436
|
Authorization: yield this._getAuthorizationHeader(),
|
489
437
|
"X-Fern-Language": "JavaScript",
|
490
438
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
491
|
-
"X-Fern-SDK-Version": "0.0.
|
439
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
492
440
|
},
|
493
441
|
contentType: "application/json",
|
494
442
|
timeoutMs: 60000,
|
@@ -531,7 +479,7 @@ class BankApi {
|
|
531
479
|
Authorization: yield this._getAuthorizationHeader(),
|
532
480
|
"X-Fern-Language": "JavaScript",
|
533
481
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
534
|
-
"X-Fern-SDK-Version": "0.0.
|
482
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
535
483
|
},
|
536
484
|
contentType: "application/json",
|
537
485
|
body: yield serializers.api.thera.bank.EditWithdrawalMethodRequest.jsonOrThrow(request, {
|
@@ -577,7 +525,7 @@ class BankApi {
|
|
577
525
|
Authorization: yield this._getAuthorizationHeader(),
|
578
526
|
"X-Fern-Language": "JavaScript",
|
579
527
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
580
|
-
"X-Fern-SDK-Version": "0.0.
|
528
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
581
529
|
},
|
582
530
|
contentType: "application/json",
|
583
531
|
body: yield serializers.api.thera.bank.InitiateWorkerWithdrawalRequest.jsonOrThrow(request, {
|
@@ -623,7 +571,7 @@ class BankApi {
|
|
623
571
|
Authorization: yield this._getAuthorizationHeader(),
|
624
572
|
"X-Fern-Language": "JavaScript",
|
625
573
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
626
|
-
"X-Fern-SDK-Version": "0.0.
|
574
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
627
575
|
},
|
628
576
|
contentType: "application/json",
|
629
577
|
timeoutMs: 60000,
|
@@ -666,7 +614,7 @@ class BankApi {
|
|
666
614
|
Authorization: yield this._getAuthorizationHeader(),
|
667
615
|
"X-Fern-Language": "JavaScript",
|
668
616
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
669
|
-
"X-Fern-SDK-Version": "0.0.
|
617
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
670
618
|
},
|
671
619
|
contentType: "application/json",
|
672
620
|
timeoutMs: 60000,
|
@@ -714,7 +662,7 @@ class BankApi {
|
|
714
662
|
Authorization: yield this._getAuthorizationHeader(),
|
715
663
|
"X-Fern-Language": "JavaScript",
|
716
664
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
717
|
-
"X-Fern-SDK-Version": "0.0.
|
665
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
718
666
|
},
|
719
667
|
contentType: "application/json",
|
720
668
|
queryParameters: _queryParams,
|
@@ -758,7 +706,7 @@ class BankApi {
|
|
758
706
|
Authorization: yield this._getAuthorizationHeader(),
|
759
707
|
"X-Fern-Language": "JavaScript",
|
760
708
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
761
|
-
"X-Fern-SDK-Version": "0.0.
|
709
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
762
710
|
},
|
763
711
|
contentType: "application/json",
|
764
712
|
body: yield serializers.api.thera.bank.SetAutoWithdrawalRequest.jsonOrThrow(request, {
|
@@ -804,7 +752,7 @@ class BankApi {
|
|
804
752
|
Authorization: yield this._getAuthorizationHeader(),
|
805
753
|
"X-Fern-Language": "JavaScript",
|
806
754
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
807
|
-
"X-Fern-SDK-Version": "0.0.
|
755
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
808
756
|
},
|
809
757
|
contentType: "application/json",
|
810
758
|
timeoutMs: 60000,
|
@@ -1,5 +1,4 @@
|
|
1
1
|
export { GenerateBankSignupRequest } from "./GenerateBankSignupRequest";
|
2
|
-
export { VerifyAccountSignupRequest } from "./VerifyAccountSignupRequest";
|
3
2
|
export { GetWithdrawalMethodCurrenciesRequest } from "./GetWithdrawalMethodCurrenciesRequest";
|
4
3
|
export { GetWithdrawalMinimumByCurrencyRequest } from "./GetWithdrawalMinimumByCurrencyRequest";
|
5
4
|
export { EditWithdrawalMethodRequest } from "./EditWithdrawalMethodRequest";
|
package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
export * from "./VerifyMicrodepositRequest";
|
2
|
-
export * from "./
|
2
|
+
export * from "./VerifyAccountSignupRequest";
|
3
3
|
export * from "./GetSandboxPublicKey";
|
4
4
|
export * from "./GetBankAccountSignupKey";
|
5
|
-
export * from "./GetBankAccountVerificationToken";
|
6
5
|
export * from "./GetWithdrawalMethodCurrenciesResponse";
|
7
6
|
export * from "./GetWithdrawalMinimumByCurrencyResponse";
|
8
7
|
export * from "./WithdrawalMethodCurrency";
|
package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js
CHANGED
@@ -15,10 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./VerifyMicrodepositRequest"), exports);
|
18
|
-
__exportStar(require("./
|
18
|
+
__exportStar(require("./VerifyAccountSignupRequest"), exports);
|
19
19
|
__exportStar(require("./GetSandboxPublicKey"), exports);
|
20
20
|
__exportStar(require("./GetBankAccountSignupKey"), exports);
|
21
|
-
__exportStar(require("./GetBankAccountVerificationToken"), exports);
|
22
21
|
__exportStar(require("./GetWithdrawalMethodCurrenciesResponse"), exports);
|
23
22
|
__exportStar(require("./GetWithdrawalMinimumByCurrencyResponse"), exports);
|
24
23
|
__exportStar(require("./WithdrawalMethodCurrency"), exports);
|
@@ -27,7 +27,7 @@ export declare class CompanyApi {
|
|
27
27
|
/**
|
28
28
|
* < Edit org admins, with ultimate admin permissions across the platform. These users must already be managers of the org.
|
29
29
|
*/
|
30
|
-
editOrgAdmins(companyId: string, request: TheraApi.api.thera.company.
|
30
|
+
editOrgAdmins(companyId: string, request: TheraApi.api.thera.company.AddOrgAdminsRequest): Promise<TheraApi.api.thera.company.AddOrgAdminsResponse>;
|
31
31
|
/**
|
32
32
|
* < Removes a manager from the org entirely, revoking all team and org level roles.
|
33
33
|
*/
|
@@ -65,7 +65,7 @@ class CompanyApi {
|
|
65
65
|
Authorization: yield this._getAuthorizationHeader(),
|
66
66
|
"X-Fern-Language": "JavaScript",
|
67
67
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
68
|
-
"X-Fern-SDK-Version": "0.0.
|
68
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
69
69
|
},
|
70
70
|
contentType: "application/json",
|
71
71
|
queryParameters: _queryParams,
|
@@ -115,7 +115,7 @@ class CompanyApi {
|
|
115
115
|
Authorization: yield this._getAuthorizationHeader(),
|
116
116
|
"X-Fern-Language": "JavaScript",
|
117
117
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
118
|
-
"X-Fern-SDK-Version": "0.0.
|
118
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
119
119
|
},
|
120
120
|
contentType: "application/json",
|
121
121
|
body: yield serializers.api.thera.company.InviteManagerRequest.jsonOrThrow(request, {
|
@@ -164,7 +164,7 @@ class CompanyApi {
|
|
164
164
|
Authorization: yield this._getAuthorizationHeader(),
|
165
165
|
"X-Fern-Language": "JavaScript",
|
166
166
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
167
|
-
"X-Fern-SDK-Version": "0.0.
|
167
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
168
168
|
},
|
169
169
|
contentType: "application/json",
|
170
170
|
body: yield serializers.api.thera.company.EditManagerRolesRequest.jsonOrThrow(request, {
|
@@ -213,16 +213,16 @@ class CompanyApi {
|
|
213
213
|
Authorization: yield this._getAuthorizationHeader(),
|
214
214
|
"X-Fern-Language": "JavaScript",
|
215
215
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
216
|
-
"X-Fern-SDK-Version": "0.0.
|
216
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
217
217
|
},
|
218
218
|
contentType: "application/json",
|
219
|
-
body: yield serializers.api.thera.company.
|
219
|
+
body: yield serializers.api.thera.company.AddOrgAdminsRequest.jsonOrThrow(request, {
|
220
220
|
unrecognizedObjectKeys: "strip",
|
221
221
|
}),
|
222
222
|
timeoutMs: 60000,
|
223
223
|
});
|
224
224
|
if (_response.ok) {
|
225
|
-
return yield serializers.api.thera.company.
|
225
|
+
return yield serializers.api.thera.company.AddOrgAdminsResponse.parseOrThrow(_response.body, {
|
226
226
|
unrecognizedObjectKeys: "passthrough",
|
227
227
|
allowUnrecognizedUnionMembers: true,
|
228
228
|
allowUnrecognizedEnumValues: true,
|
@@ -262,7 +262,7 @@ class CompanyApi {
|
|
262
262
|
Authorization: yield this._getAuthorizationHeader(),
|
263
263
|
"X-Fern-Language": "JavaScript",
|
264
264
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
265
|
-
"X-Fern-SDK-Version": "0.0.
|
265
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
266
266
|
},
|
267
267
|
contentType: "application/json",
|
268
268
|
timeoutMs: 60000,
|
@@ -308,7 +308,7 @@ class CompanyApi {
|
|
308
308
|
Authorization: yield this._getAuthorizationHeader(),
|
309
309
|
"X-Fern-Language": "JavaScript",
|
310
310
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
311
|
-
"X-Fern-SDK-Version": "0.0.
|
311
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
312
312
|
},
|
313
313
|
contentType: "application/json",
|
314
314
|
body: yield serializers.api.thera.company.ChangeContractTeamRequest.jsonOrThrow(request, {
|
@@ -357,7 +357,7 @@ class CompanyApi {
|
|
357
357
|
Authorization: yield this._getAuthorizationHeader(),
|
358
358
|
"X-Fern-Language": "JavaScript",
|
359
359
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
360
|
-
"X-Fern-SDK-Version": "0.0.
|
360
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
361
361
|
},
|
362
362
|
contentType: "application/json",
|
363
363
|
timeoutMs: 60000,
|
@@ -403,7 +403,7 @@ class CompanyApi {
|
|
403
403
|
Authorization: yield this._getAuthorizationHeader(),
|
404
404
|
"X-Fern-Language": "JavaScript",
|
405
405
|
"X-Fern-SDK-Name": "@thera-hr/api-sdk",
|
406
|
-
"X-Fern-SDK-Version": "0.0.
|
406
|
+
"X-Fern-SDK-Version": "0.0.3450",
|
407
407
|
},
|
408
408
|
contentType: "application/json",
|
409
409
|
body: yield serializers.api.thera.company.CreateTeamRequest.jsonOrThrow(request, {
|