@favid-inc/api
Advanced tools
Comparing version 6.7.1 to 6.8.1
@@ -11,4 +11,4 @@ import { ArtistRate } from "../model"; | ||
data: { | ||
artistRateId: ArtistRate["id"]; | ||
artistRateId: Required<ArtistRate>["id"]; | ||
}; | ||
}>; |
@@ -24,2 +24,9 @@ import { Address, CreateTransaction, Customer, Transaction, TransactionPaymentMethod } from "../pagar-me"; | ||
}, Order>; | ||
export declare type DeleteOrder = Action<{ | ||
url: "/DeleteOrder"; | ||
method: "POST"; | ||
data: { | ||
orderId: Required<Order>["id"]; | ||
}; | ||
}, void>; | ||
export declare type PayOrder = Action<{ | ||
@@ -26,0 +33,0 @@ url: "/PayOrder"; |
{ | ||
"name": "@favid-inc/api", | ||
"version": "6.7.1", | ||
"version": "6.8.1", | ||
"description": "API for Favid Project", | ||
@@ -21,11 +21,10 @@ "homepage": "https://github.com/favid-inc/api#readme", | ||
"scripts": { | ||
"prebuild": "rm -rf lib && npm run lint", | ||
"prebuild": "rm -rf lib", | ||
"build": "webpack", | ||
"deploy": "npm publish", | ||
"lint": "tslint -c tslint.json 'src/**/*.ts'", | ||
"prepublishOnly": "npm run build" | ||
"prepublishOnly": "npm run lint && npm run build -- --mode=production" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"copy-webpack-plugin": "^5.1.1", | ||
"raw-loader": "^4.0.0", | ||
@@ -32,0 +31,0 @@ "ts-loader": "^6.2.1", |
72942
6
872