mirror of
https://github.com/jlengrand/adyen-node-api-library.git
synced 2026-03-10 08:01:20 +00:00
change types ext
This commit is contained in:
@@ -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
20
src/index.d.ts
vendored
Normal 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" />
|
||||
22
src/index.ts
22
src/index.ts
@@ -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/";
|
||||
|
||||
18
src/typings/index.d.ts
vendored
18
src/typings/index.d.ts
vendored
@@ -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" />
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user