@favid-inc/api
Advanced tools
Comparing version 4.2.1 to 4.2.2
@@ -14,3 +14,2 @@ import { Recipient } from "../pagar-me"; | ||
name?: string; | ||
pagarMeRecipient?: Recipient; | ||
pagarMeRecipientId?: Recipient["id"]; | ||
@@ -17,0 +16,0 @@ phoneNumber?: string; |
@@ -13,3 +13,2 @@ import { Model } from "../model"; | ||
isGift?: boolean; | ||
pagarMeTransaction?: Transaction; | ||
pagarMeTransactionId?: Transaction["id"]; | ||
@@ -16,0 +15,0 @@ paymentStatus?: OrderPaymentStatus; |
@@ -6,3 +6,3 @@ import { Action } from "../action"; | ||
interface Request { | ||
url: "/1/recipients"; | ||
url: "/recipients"; | ||
method: "POST"; | ||
@@ -9,0 +9,0 @@ data: RequestData; |
@@ -0,1 +1,2 @@ | ||
import { Action } from "../action"; | ||
import { Customer } from "../customer"; | ||
@@ -6,4 +7,11 @@ import { Billing } from "./billing"; | ||
import { SplitRule } from "./split-rule"; | ||
import { Transaction } from "./transaction"; | ||
import { TransactionPaymentMethod } from "./payment-method"; | ||
export declare type CreateTransaction = { | ||
export declare type CreateTransaction = Action<Request, Transaction>; | ||
interface Request { | ||
url: "/recipients"; | ||
method: "POST"; | ||
data: RequestData; | ||
} | ||
declare type RequestData = { | ||
amount: number; | ||
@@ -26,1 +34,2 @@ soft_descriptor: string; | ||
}) & (TransactionPaymentMethod); | ||
export {}; |
{ | ||
"name": "@favid-inc/api", | ||
"version": "4.2.1", | ||
"version": "4.2.2", | ||
"description": "API for Favid Project", | ||
@@ -32,4 +32,4 @@ "homepage": "https://github.com/favid-inc/api#readme", | ||
"devDependencies": { | ||
"tslint": "^5.19.0", | ||
"typescript": "^3.6.2" | ||
"tslint": "^5.20.0", | ||
"typescript": "^3.6.3" | ||
}, | ||
@@ -36,0 +36,0 @@ "engines": { |
26446
920