-
Notifications
You must be signed in to change notification settings - Fork 14
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 #115 from jonyw4/next
Next
- Loading branch information
Showing
6 changed files
with
62 additions
and
8 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,16 @@ | ||
{ | ||
"baseBranches": ["master"], | ||
"baseBranches": ["next"], | ||
"extends": ["config:base"], | ||
"schedule": ["every month"] | ||
"schedule": ["every month"], | ||
"timezone": "America/Sao_Paulo", | ||
"packageRules": [ | ||
{ | ||
"matchUpdateTypes": ["minor", "patch", "pin", "digest"], | ||
"automerge": true | ||
}, | ||
{ | ||
"matchDepTypes": ["devDependencies"], | ||
"automerge": true | ||
} | ||
] | ||
} |
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,21 @@ | ||
export interface BulkAnticipationsCreateOptions { | ||
/** ID do recebedor para o qual criar a antecipação */ | ||
recipientId: string; | ||
/** Data que você deseja receber a antecipação em sua conta Pagar.me */ | ||
payment_date: string; | ||
/** Define o período de onde os recebíveis serão escolhidos. start define recebíveis próximos, perto de serem pagos, e end define recebíveis longes, no final de todos recebíveis que você possui para receber */ | ||
timeframe: "start" | "end"; | ||
/** Valor líquido, em centavos, que você deseja receber de antecipação */ | ||
requested_amount: number; | ||
/** Define se a antecipação deve retornar status 'building' */ | ||
build?: boolean; | ||
/** Define se o valor da antecipação será transferido automaticamente para a conta bancária do recebedor */ | ||
automatic_transfer?: boolean; | ||
} | ||
|
||
export interface BulkAnticipationsConfirmOptions { | ||
/** ID de recebedor desejado */ | ||
recipientId: string; | ||
/** ID da antecipação desejada */ | ||
id: string; | ||
} |
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 @@ | ||
export interface BulkAnticipation { | ||
/** Nome do tipo do objeto criado/modificado */ | ||
object: "bulk_anticipation"; | ||
/** Status atual da antecipação */ | ||
status: "building" | "pending" | "approved" | "refused" | "canceled"; | ||
/** período do qual os recebíveis irão vir, */ | ||
timeframe: "start" | "end"; | ||
/** Data de pagamento da antecipação. */ | ||
payment_date: string; | ||
/** valor bruto, em centavos, da antecipação criada. */ | ||
amount: number; | ||
/** Taxa de adquirência relacionada aos recebíveis antecipados. */ | ||
fee: number; | ||
/** Taxa de antecipação relacionada aos recebíveis antecipados. */ | ||
anticipation_fee: number; | ||
/** Identificador da antecipação */ | ||
id: string; | ||
} |
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