-
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
58b811d
commit 5e49229
Showing
59 changed files
with
1,453 additions
and
197 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export {}; | ||
export * from "./requests"; |
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 @@ | ||
export { Business } from "./Business"; |
54 changes: 54 additions & 0 deletions
54
src/api/resources/businessUsers/types/BusinessSavedPaymentDetailsItem.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,54 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as Flagright from "../../.."; | ||
|
||
export type BusinessSavedPaymentDetailsItem = | ||
| Flagright.BusinessSavedPaymentDetailsItem.Card | ||
| Flagright.BusinessSavedPaymentDetailsItem.GenericBankAccount | ||
| Flagright.BusinessSavedPaymentDetailsItem.Iban | ||
| Flagright.BusinessSavedPaymentDetailsItem.Ach | ||
| Flagright.BusinessSavedPaymentDetailsItem.Swift | ||
| Flagright.BusinessSavedPaymentDetailsItem.Mpesa | ||
| Flagright.BusinessSavedPaymentDetailsItem.Upi | ||
| Flagright.BusinessSavedPaymentDetailsItem.Wallet | ||
| Flagright.BusinessSavedPaymentDetailsItem.Check; | ||
|
||
export declare namespace BusinessSavedPaymentDetailsItem { | ||
interface Card extends Flagright.CardDetails { | ||
method: "CARD"; | ||
} | ||
|
||
interface GenericBankAccount extends Flagright.GenericBankAccountDetails { | ||
method: "GENERIC_BANK_ACCOUNT"; | ||
} | ||
|
||
interface Iban extends Flagright.IbanDetails { | ||
method: "IBAN"; | ||
} | ||
|
||
interface Ach extends Flagright.AchDetails { | ||
method: "ACH"; | ||
} | ||
|
||
interface Swift extends Flagright.SwiftDetails { | ||
method: "SWIFT"; | ||
} | ||
|
||
interface Mpesa extends Flagright.MpesaDetails { | ||
method: "MPESA"; | ||
} | ||
|
||
interface Upi extends Flagright.UpiDetails { | ||
method: "UPI"; | ||
} | ||
|
||
interface Wallet extends Flagright.WalletDetails { | ||
method: "WALLET"; | ||
} | ||
|
||
interface Check extends Flagright.CheckDetails { | ||
method: "CHECK"; | ||
} | ||
} |
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,2 @@ | ||
export * from "./BusinessSavedPaymentDetailsItem"; | ||
export * from "./BusinessUsersCreateResponse"; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export {}; | ||
export * from "./requests"; |
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,77 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import * as Flagright from "../../../.."; | ||
|
||
/** | ||
* @example | ||
* { | ||
* userId: "96647cfd9e8fe66ee0f3362e011e34e8", | ||
* createdTimestamp: 1641654664000, | ||
* userDetails: { | ||
* name: { | ||
* firstName: "Baran", | ||
* middleName: "Realblood", | ||
* lastName: "Ozkan" | ||
* }, | ||
* dateOfBirth: "1991-01-01", | ||
* countryOfResidence: Flagright.CountryCode.Us, | ||
* countryOfNationality: Flagright.CountryCode.De | ||
* }, | ||
* legalDocuments: [{ | ||
* documentType: "passport", | ||
* documentNumber: "Z9431P", | ||
* documentIssuedDate: 1639939034000, | ||
* documentExpirationDate: 1839939034000, | ||
* documentIssuedCountry: Flagright.CountryCode.De, | ||
* tags: [{ | ||
* key: "customerType", | ||
* value: "wallet" | ||
* }] | ||
* }], | ||
* contactDetails: { | ||
* emailIds: ["[email protected]"], | ||
* contactNumbers: ["+37112345432"], | ||
* websites: ["flagright.com"], | ||
* addresses: [{ | ||
* addressLines: ["Klara-Franke Str 20"], | ||
* postcode: "10557", | ||
* city: "Berlin", | ||
* state: "Berlin", | ||
* country: "Germany", | ||
* tags: [{ | ||
* key: "customKey", | ||
* value: "customValue" | ||
* }] | ||
* }] | ||
* }, | ||
* tags: [{ | ||
* key: "customKey", | ||
* value: "customValue" | ||
* }] | ||
* } | ||
*/ | ||
export interface User { | ||
/** Unique user ID */ | ||
userId: string; | ||
/** Timestamp when userId is created */ | ||
createdTimestamp: number; | ||
userDetails?: Flagright.UserDetails; | ||
userStateDetails?: Flagright.UserStateDetails; | ||
kycStatusDetails?: Flagright.KycStatusDetails; | ||
employmentStatus?: Flagright.EmploymentStatus; | ||
occupation?: string; | ||
/** User's legal identity documents - See Document Model for details */ | ||
legalDocuments?: Flagright.LegalDocument[]; | ||
contactDetails?: Flagright.ContactDetails; | ||
transactionLimits?: Flagright.TransactionLimits; | ||
riskLevel?: Flagright.RiskLevel; | ||
acquisitionChannel?: Flagright.AcquisitionChannel; | ||
reasonForAccountOpening?: string[]; | ||
sourceOfFunds?: Flagright.SourceOfFunds[]; | ||
userSegment?: Flagright.ConsumerUserSegment; | ||
pepStatus?: Flagright.PepStatus[]; | ||
/** Additional information that can be added via tags */ | ||
tags?: Flagright.Tag[]; | ||
} |
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 @@ | ||
export { User } from "./User"; |
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.