-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ce6006
commit 03cda60
Showing
24 changed files
with
304 additions
and
127 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
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
13 changes: 13 additions & 0 deletions
13
src/api/resources/accessTokens/types/CustomizationsSchema.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as Abound from "../../../index"; | ||
|
||
/** | ||
* The component customizations for this access token. | ||
*/ | ||
export interface CustomizationsSchema { | ||
/** The Payee Tax Profile component customizations. */ | ||
payeeTaxProfile?: Abound.PayeeTaxProfileSchema; | ||
} |
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,28 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface DefaultsSchema { | ||
/** The payee's legal first name. */ | ||
firstName?: string; | ||
/** The payee's legal last name. */ | ||
lastName?: string; | ||
/** The payee's business name. */ | ||
businessName?: string; | ||
/** The date, in `YYYY-MM-DD` format, the payee was born on. */ | ||
dateOfBirth?: string; | ||
/** The legal address. */ | ||
address?: string; | ||
/** The second part of the legal address, such as an apartment or suite number. */ | ||
address2?: string; | ||
/** The city associated with the street address. Required if `country` is `US`. */ | ||
city?: string; | ||
/** The two-letter character code for this state (`CA` for California, `ME` for Maine). Required if `country` is `US`. If foreign, use the province. */ | ||
state?: string; | ||
/** The postal code associated with the street address. Required to be a 5-digit numerical value if `country` is `US`. If foreign, use the foreign postal code. */ | ||
postalCode?: string; | ||
/** The country adhering to `ISO 3166-2` standards. */ | ||
country?: string; | ||
/** The payee's email address. Abound assume's you have taken the proper steps to verify the ownership of this email address. */ | ||
email?: string; | ||
} |
18 changes: 18 additions & 0 deletions
18
src/api/resources/accessTokens/types/PayeeTaxProfileSchema.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as Abound from "../../../index"; | ||
|
||
export interface PayeeTaxProfileSchema { | ||
/** Determines if Abound should preload the Payee Tax Profile by `userId` lookup. Default is `true`. */ | ||
shouldPreloadFromUserId?: boolean; | ||
/** Determines if the electronic delivery consent question should be asked in the Payee Tax Profile component. Default is `true`. */ | ||
shouldCollectElectronicDeliveryConsent?: boolean; | ||
/** A list of the forms your organizaton intends to support and collect during a Payee Tax Profile submission. Default is all forms: `["FORM_W_9", "FORM_W_8BEN", "FORM_W_8BEN_E"]`. */ | ||
supportedTaxForms?: Abound.SupportedTaxFormsEnum[]; | ||
/** Used to preload the Payee Tax Profile with default values. These defaults will be ignored if data is preloaded by `userId`. */ | ||
defaults?: Abound.DefaultsSchema; | ||
/** If supplied, a Payee Tax Profile submission that creates a Form W-9 will attach this information as the `Payer`. */ | ||
requestingPayer?: Abound.types.PayerRequestSchema; | ||
} |
11 changes: 11 additions & 0 deletions
11
src/api/resources/accessTokens/types/SupportedTaxFormsEnum.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export type SupportedTaxFormsEnum = "FORM_W_9" | "FORM_W_8BEN" | "FORM_W_8BEN_E"; | ||
|
||
export const SupportedTaxFormsEnum = { | ||
FormW9: "FORM_W_9", | ||
FormW8Ben: "FORM_W_8BEN", | ||
FormW8BenE: "FORM_W_8BEN_E", | ||
} as const; |
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 +1,5 @@ | ||
export * from "./AccessTokenSchema"; | ||
export * from "./CustomizationsSchema"; | ||
export * from "./PayeeTaxProfileSchema"; | ||
export * from "./DefaultsSchema"; | ||
export * from "./SupportedTaxFormsEnum"; |
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.