change types ext

This commit is contained in:
Ricardo Ambrogi
2020-01-15 15:55:02 +01:00
parent e5d4d72098
commit a3ebb01aee
5 changed files with 46 additions and 21 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@adyen/api-library",
"version": "2.2.1-rc.1",
"version": "2.2.1-rc.2",
"description": "The Adyen API Library for NodeJS enables you to work with Adyen APIs.",
"main": "dist/lib/src/index.js",
"types": "dist/lib/src/index.d.ts",

20
src/index.d.ts vendored Normal file
View File

@@ -0,0 +1,20 @@
/// <reference path="typings/amount.ts" />
/// <reference path="typings/apiError.ts" />
/// <reference path="typings/applicationInfo.ts" />
/// <reference path="typings/binLookup.ts" />
/// <reference path="typings/checkout.ts" />
/// <reference path="typings/checkoutUtility.ts" />
/// <reference path="typings/enums/environment.ts" />
/// <reference path="typings/enums/vatCategory.ts" />
/// <reference path="typings/marketPayAccount.ts" />
/// <reference path="typings/marketPayFund.ts" />
/// <reference path="typings/marketPayHostedOnboardingPage.ts" />
/// <reference path="typings/marketPayNotificationConfiguration.ts" />
/// <reference path="typings/marketPayNotifications.ts" />
/// <reference path="typings/nexo.ts" />
/// <reference path="typings/notification.ts" />
/// <reference path="typings/payments.ts" />
/// <reference path="typings/payouts.ts" />
/// <reference path="typings/recurring.ts" />
/// <reference path="typings/requestOptions.ts" />
/// <reference path="typings/terminal.ts" />

View File

@@ -19,6 +19,28 @@
* See the LICENSE file for more info.
*/
/* eslint-disable @typescript-eslint/triple-slash-reference */
/// <reference path="typings/amount.ts" />
/// <reference path="typings/apiError.ts" />
/// <reference path="typings/applicationInfo.ts" />
/// <reference path="typings/binLookup.ts" />
/// <reference path="typings/checkout.ts" />
/// <reference path="typings/checkoutUtility.ts" />
/// <reference path="typings/enums/environment.ts" />
/// <reference path="typings/enums/vatCategory.ts" />
/// <reference path="typings/marketPayAccount.ts" />
/// <reference path="typings/marketPayFund.ts" />
/// <reference path="typings/marketPayHostedOnboardingPage.ts" />
/// <reference path="typings/marketPayNotificationConfiguration.ts" />
/// <reference path="typings/marketPayNotifications.ts" />
/// <reference path="typings/nexo.ts" />
/// <reference path="typings/notification.ts" />
/// <reference path="typings/payments.ts" />
/// <reference path="typings/payouts.ts" />
/// <reference path="typings/recurring.ts" />
/// <reference path="typings/requestOptions.ts" />
/// <reference path="typings/terminal.ts" />
export { default as Client } from "./client";
export { default as Config } from "./config";
export * from "./services/";

View File

@@ -1,18 +0,0 @@
/// <reference path="amount.ts" />
/// <reference path="apiError.ts" />
/// <reference path="applicationInfo.ts" />
/// <reference path="binLookup.ts" />
/// <reference path="checkout.ts" />
/// <reference path="checkoutUtility.ts" />
/// <reference path="marketPayAccount.ts" />
/// <reference path="marketPayFund.ts" />
/// <reference path="marketPayHostedOnboardingPage.ts" />
/// <reference path="marketPayNotificationConfiguration.ts" />
/// <reference path="marketPayNotifications.ts" />
/// <reference path="nexo.ts" />
/// <reference path="notification.ts" />
/// <reference path="payments.ts" />
/// <reference path="payouts.ts" />
/// <reference path="recurring.ts" />
/// <reference path="requestOptions.ts" />
/// <reference path="terminal.ts" />

View File

@@ -1,5 +1,6 @@
{
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist/lib",
"module": "commonjs",
"target": "es5",
@@ -19,12 +20,12 @@
"strict": true,
"noUnusedLocals": true,
"suppressImplicitAnyIndexErrors": true,
"typeRoots": ["src/typings/", "node_modules/@types"],
"typeRoots": ["src/typings", "node_modules/@types"],
"types": ["node", "jest"]
},
"include": ["src"],
"exclude": ["node_modules"],
"files": [
"src/typings/index.d.ts"
"src/index.d.ts"
]
}