-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36689 from Expensify/nat-policyvbba
Add missing params in vbba setup flow and clean up
- Loading branch information
Showing
29 changed files
with
138 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import type {ACHContractStepProps} from '@src/types/form/ReimbursementAccountForm'; | ||
|
||
type AcceptACHContractForBankAccount = ACHContractStepProps & {bankAccountID: number; canUseNewVbbaFlow?: boolean}; | ||
type AcceptACHContractForBankAccount = ACHContractStepProps & {bankAccountID: number; policyID: string; canUseNewVbbaFlow?: boolean}; | ||
|
||
export default AcceptACHContractForBankAccount; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
type ConnectBankAccountParams = { | ||
bankAccountID: number; | ||
routingNumber: string; | ||
accountNumber: string; | ||
bank?: string; | ||
plaidAccountID?: string; | ||
plaidAccessToken?: string; | ||
plaidMask?: string; | ||
isSavings?: boolean; | ||
policyID?: string; | ||
canUseNewVbbaFlow?: boolean; | ||
}; | ||
|
||
export default ConnectBankAccountParams; |
12 changes: 0 additions & 12 deletions
12
src/libs/API/parameters/ConnectBankAccountWithPlaidParams.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
type OpenWorkspaceViewParams = { | ||
policyID: string; | ||
}; | ||
|
||
export default OpenWorkspaceViewParams; |
4 changes: 2 additions & 2 deletions
4
src/libs/API/parameters/UpdateBeneficialOwnersForBankAccountParams.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import type {ACHContractStepProps} from '@src/types/form/ReimbursementAccountForm'; | ||
import type {BeneficialOwnersStepProps} from '@src/types/form/ReimbursementAccountForm'; | ||
|
||
type UpdateBeneficialOwnersForBankAccountParams = ACHContractStepProps & {bankAccountID: number; canUseNewVbbaFlow?: boolean}; | ||
type UpdateBeneficialOwnersForBankAccountParams = BeneficialOwnersStepProps & {bankAccountID: number; policyID: string; canUseNewVbbaFlow?: boolean}; | ||
|
||
export default UpdateBeneficialOwnersForBankAccountParams; |
7 changes: 2 additions & 5 deletions
7
src/libs/API/parameters/UpdateCompanyInformationForBankAccountParams.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
import type {BankAccountStepProps, CompanyStepProps, ReimbursementAccountProps} from '@src/types/form/ReimbursementAccountForm'; | ||
import type {CompanyStepProps} from '@src/types/form/ReimbursementAccountForm'; | ||
|
||
type BankAccountCompanyInformation = BankAccountStepProps & CompanyStepProps & ReimbursementAccountProps; | ||
|
||
type UpdateCompanyInformationForBankAccountParams = BankAccountCompanyInformation & {bankAccountID: number; canUseNewVbbaFlow?: boolean}; | ||
type UpdateCompanyInformationForBankAccountParams = CompanyStepProps & {bankAccountID: number; policyID: string; canUseNewVbbaFlow?: boolean}; | ||
|
||
export default UpdateCompanyInformationForBankAccountParams; | ||
export type {BankAccountCompanyInformation}; |
2 changes: 1 addition & 1 deletion
2
src/libs/API/parameters/UpdatePersonalInformationForBankAccountParams.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import type {RequestorStepProps} from '@src/types/form/ReimbursementAccountForm'; | ||
|
||
type UpdatePersonalInformationForBankAccountParams = RequestorStepProps & {bankAccountID: number; canUseNewVbbaFlow: boolean}; | ||
type UpdatePersonalInformationForBankAccountParams = RequestorStepProps & {bankAccountID: number; policyID: string; canUseNewVbbaFlow: boolean}; | ||
|
||
export default UpdatePersonalInformationForBankAccountParams; |
1 change: 1 addition & 0 deletions
1
src/libs/API/parameters/ValidateBankAccountWithTransactionsParams.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
type ValidateBankAccountWithTransactionsParams = { | ||
bankAccountID: number; | ||
validateCode: string; | ||
policyID: string; | ||
}; | ||
|
||
export default ValidateBankAccountWithTransactionsParams; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
type VerifyIdentityForBankAccountParams = { | ||
bankAccountID: number; | ||
onfidoData: string; | ||
policyID: string; | ||
canUseNewVbbaFlow?: boolean; | ||
}; | ||
export default VerifyIdentityForBankAccountParams; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.