@favid-inc/api
Advanced tools
Comparing version 4.4.6 to 4.4.7
import { Action } from "../action"; | ||
import { BankAccount } from "../bank-account"; | ||
import { Recipient, RecipientTransferInterval } from "./recipient"; | ||
import { Recipient, RecipientTransferInterval, RegisterInformation } from "./recipient"; | ||
export declare type CreateRecipient = Action<Request, Recipient>; | ||
@@ -25,24 +25,2 @@ interface Request { | ||
}) & (RecipientTransferInterval); | ||
declare type RegisterInformation = { | ||
document_number: string; | ||
email: string; | ||
site_url?: string; | ||
phone_numbers: Array<{ | ||
ddd: string; | ||
number: string; | ||
type: string; | ||
}>; | ||
} & ({ | ||
type: "individual"; | ||
name: string; | ||
} | { | ||
type: "corporation"; | ||
company_name: string; | ||
managing_partners: Array<{ | ||
type: string; | ||
document_number: string; | ||
email: string; | ||
name: string; | ||
}>; | ||
}); | ||
export {}; |
export { CreateRecipient } from "./create"; | ||
export { ReadRecipient } from "./read"; | ||
export { ReadRecipientBalance } from "./recipient-balance"; | ||
export { Recipient, RecipientStatus } from "./recipient"; | ||
export { Recipient, RecipientStatus, RegisterInformation } from "./recipient"; |
@@ -18,4 +18,27 @@ import { BankAccount } from "../bank-account"; | ||
status_reason?: string; | ||
register_information: RegisterInformation; | ||
metadata?: any; | ||
} & (RecipientTransferInterval); | ||
export declare type RegisterInformation = { | ||
document_number: string; | ||
email: string; | ||
site_url?: string; | ||
phone_numbers: Array<{ | ||
ddd: string; | ||
number: string; | ||
type: string; | ||
}>; | ||
} & ({ | ||
type: "individual"; | ||
name: string; | ||
} | { | ||
type: "corporation"; | ||
company_name: string; | ||
managing_partners: Array<{ | ||
type: string; | ||
document_number: string; | ||
email: string; | ||
name: string; | ||
}>; | ||
}); | ||
export declare enum RecipientStatus { | ||
@@ -22,0 +45,0 @@ REGISTRATION = "registration", |
{ | ||
"name": "@favid-inc/api", | ||
"version": "4.4.6", | ||
"version": "4.4.7", | ||
"description": "API for Favid Project", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/favid-inc/api#readme", |
89227
1260