globalpayments-api 3.6.2-fix → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +135 -125
- package/lib/src/Builders/AuthorizationBuilder.d.ts +9 -1
- package/lib/src/Builders/AuthorizationBuilder.js +10 -1
- package/lib/src/Builders/AuthorizationBuilder.js.map +1 -1
- package/lib/src/Builders/BaseBuilder/Validations.d.ts +3 -1
- package/lib/src/Builders/BaseBuilder/Validations.js +5 -5
- package/lib/src/Builders/BaseBuilder/Validations.js.map +1 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js +34 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js.map +1 -1
- package/lib/src/Builders/TransactionReportBuilder.d.ts +4 -2
- package/lib/src/Builders/TransactionReportBuilder.js +9 -0
- package/lib/src/Builders/TransactionReportBuilder.js.map +1 -1
- package/lib/src/Entities/Enums/DepositSortProperty.d.ts +6 -0
- package/lib/src/Entities/Enums/DepositSortProperty.js +11 -0
- package/lib/src/Entities/Enums/DepositSortProperty.js.map +1 -0
- package/lib/src/Entities/Enums.d.ts +1 -0
- package/lib/src/Entities/Enums.js +1 -0
- package/lib/src/Entities/Enums.js.map +1 -1
- package/lib/src/Entities/Reporting/DepositSummary.d.ts +29 -0
- package/lib/src/Entities/Reporting/DepositSummary.js +34 -0
- package/lib/src/Entities/Reporting/DepositSummary.js.map +1 -0
- package/lib/src/Entities/Reporting/index.d.ts +1 -0
- package/lib/src/Entities/Reporting/index.js +1 -0
- package/lib/src/Entities/Reporting/index.js.map +1 -1
- package/lib/src/Entities/Transaction.d.ts +15 -1
- package/lib/src/Entities/Transaction.js +34 -0
- package/lib/src/Entities/Transaction.js.map +1 -1
- package/lib/src/Entities/index.d.ts +1 -0
- package/lib/src/Entities/index.js +1 -0
- package/lib/src/Entities/index.js.map +1 -1
- package/lib/src/Gateways/PorticoConnector.js +5 -0
- package/lib/src/Gateways/PorticoConnector.js.map +1 -1
- package/lib/src/Mapping/GpApiMapping.d.ts +2 -0
- package/lib/src/Mapping/GpApiMapping.js +55 -13
- package/lib/src/Mapping/GpApiMapping.js.map +1 -1
- package/lib/src/Services/ReportingService.d.ts +3 -1
- package/lib/src/Services/ReportingService.js +6 -0
- package/lib/src/Services/ReportingService.js.map +1 -1
- package/lib/test/Integration/Gateways/GpApiConnector/3DS2Test.js +27 -27
- package/lib/test/Integration/Gateways/GpApiConnector/3DS2Test.js.map +1 -1
- package/lib/test/Integration/Gateways/GpApiConnector/3DSecureTest.js +11 -11
- package/lib/test/Integration/Gateways/GpApiConnector/3DSecureTest.js.map +1 -1
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js +9 -7
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js.map +1 -1
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertificationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertificationTest.js +639 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertificationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagementTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagementTest.js +149 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagementTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDepositsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDepositsTest.js +226 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDepositsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js.map +1 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js +4 -4
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js +40 -8
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js.map +1 -1
- package/package.json +72 -72
package/package.json
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "globalpayments-api",
|
|
3
|
-
"version" : "3.
|
|
4
|
-
"description": "Global Payments SDK for NodeJS for Heartland and Global Payments eCommerce gateways",
|
|
5
|
-
"author": "Heartland Payment Systems",
|
|
6
|
-
"license": "GPL-2.0",
|
|
7
|
-
"engines": {
|
|
8
|
-
"node": ">=16.20.2"
|
|
9
|
-
},
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "https://github.com/globalpayments/node-sdk.git"
|
|
13
|
-
},
|
|
14
|
-
"main": "./lib/src/index.js",
|
|
15
|
-
"typings": "./lib/src/index",
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "tsc",
|
|
18
|
-
"build:netsuite": "webpack --env.GP_NETSUITE_BUILD --config config/webpack.netsuite.js && node bin/netsuite-post.js",
|
|
19
|
-
"build:clean": "rimraf lib",
|
|
20
|
-
"docs": "typedoc --mode file --name \"GlobalPayments.Api\" --project tsconfig.json --out docs src",
|
|
21
|
-
"format": "prettier --write --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' '*.md'",
|
|
22
|
-
"prebuild": "npm-run-all test:lint",
|
|
23
|
-
"prepublish": "npm-run-all build",
|
|
24
|
-
"prepublishOnly": "npm-run-all build",
|
|
25
|
-
"pretest": "npm-run-all build:clean test:lint build",
|
|
26
|
-
"test:without-report": "npm-run-all build:clean test:lint build && ava",
|
|
27
|
-
"test": "ava --tap | npx tap-nyan",
|
|
28
|
-
"test:lint": "eslint \"src/**/*.ts*\" \"test/**/*.ts\" --fix"
|
|
29
|
-
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"@azz/elementtree": "^0.1.6",
|
|
32
|
-
"es6-promise": "^4.2.8",
|
|
33
|
-
"eslint-config-prettier": "^9.0.0",
|
|
34
|
-
"sha1": "^1.1.1",
|
|
35
|
-
"typedarray": "^0.0.6",
|
|
36
|
-
"url": "^0.11.0"
|
|
37
|
-
},
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"@hitc/netsuite-types": "^2017.2.32",
|
|
40
|
-
"@types/node": "20.6.0",
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "^6.7.3",
|
|
42
|
-
"@typescript-eslint/parser": "^6.7.3",
|
|
43
|
-
"ava": "^5.3.1",
|
|
44
|
-
"eslint": "^8.50.0",
|
|
45
|
-
"eslint-plugin-prettier": "^5.0.0",
|
|
46
|
-
"npm-run-all": "^4.1.5",
|
|
47
|
-
"prettier": "3.0.3",
|
|
48
|
-
"rimraf": "^2.6.3",
|
|
49
|
-
"tslint": "^6.1.3",
|
|
50
|
-
"typedoc": "0.25.1",
|
|
51
|
-
"typescript": "5.2.2",
|
|
52
|
-
"webpack": "^5.88.2"
|
|
53
|
-
},
|
|
54
|
-
"ava": {
|
|
55
|
-
"concurrency": 1,
|
|
56
|
-
"timeout": "5m",
|
|
57
|
-
"failFast": false,
|
|
58
|
-
"failWithoutAssertions": false,
|
|
59
|
-
"files": [
|
|
60
|
-
"lib/test/**/*Test.js"
|
|
61
|
-
],
|
|
62
|
-
"source": [
|
|
63
|
-
"lib/src/**/*.js"
|
|
64
|
-
]
|
|
65
|
-
},
|
|
66
|
-
"files": [
|
|
67
|
-
"lib/src/**",
|
|
68
|
-
"lib/test/**",
|
|
69
|
-
"appsec.properties",
|
|
70
|
-
"CHANGELOG.md"
|
|
71
|
-
]
|
|
72
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "globalpayments-api",
|
|
3
|
+
"version" : "3.7.0",
|
|
4
|
+
"description": "Global Payments SDK for NodeJS for Heartland and Global Payments eCommerce gateways",
|
|
5
|
+
"author": "Heartland Payment Systems",
|
|
6
|
+
"license": "GPL-2.0",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=16.20.2"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/globalpayments/node-sdk.git"
|
|
13
|
+
},
|
|
14
|
+
"main": "./lib/src/index.js",
|
|
15
|
+
"typings": "./lib/src/index",
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"build:netsuite": "webpack --env.GP_NETSUITE_BUILD --config config/webpack.netsuite.js && node bin/netsuite-post.js",
|
|
19
|
+
"build:clean": "rimraf lib",
|
|
20
|
+
"docs": "typedoc --mode file --name \"GlobalPayments.Api\" --project tsconfig.json --out docs src",
|
|
21
|
+
"format": "prettier --write --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' '*.md'",
|
|
22
|
+
"prebuild": "npm-run-all test:lint",
|
|
23
|
+
"prepublish": "npm-run-all build",
|
|
24
|
+
"prepublishOnly": "npm-run-all build",
|
|
25
|
+
"pretest": "npm-run-all build:clean test:lint build",
|
|
26
|
+
"test:without-report": "npm-run-all build:clean test:lint build && ava",
|
|
27
|
+
"test": "ava --tap | npx tap-nyan",
|
|
28
|
+
"test:lint": "eslint \"src/**/*.ts*\" \"test/**/*.ts\" --fix"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@azz/elementtree": "^0.1.6",
|
|
32
|
+
"es6-promise": "^4.2.8",
|
|
33
|
+
"eslint-config-prettier": "^9.0.0",
|
|
34
|
+
"sha1": "^1.1.1",
|
|
35
|
+
"typedarray": "^0.0.6",
|
|
36
|
+
"url": "^0.11.0"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@hitc/netsuite-types": "^2017.2.32",
|
|
40
|
+
"@types/node": "20.6.0",
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "^6.7.3",
|
|
42
|
+
"@typescript-eslint/parser": "^6.7.3",
|
|
43
|
+
"ava": "^5.3.1",
|
|
44
|
+
"eslint": "^8.50.0",
|
|
45
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
46
|
+
"npm-run-all": "^4.1.5",
|
|
47
|
+
"prettier": "3.0.3",
|
|
48
|
+
"rimraf": "^2.6.3",
|
|
49
|
+
"tslint": "^6.1.3",
|
|
50
|
+
"typedoc": "0.25.1",
|
|
51
|
+
"typescript": "5.2.2",
|
|
52
|
+
"webpack": "^5.88.2"
|
|
53
|
+
},
|
|
54
|
+
"ava": {
|
|
55
|
+
"concurrency": 1,
|
|
56
|
+
"timeout": "5m",
|
|
57
|
+
"failFast": false,
|
|
58
|
+
"failWithoutAssertions": false,
|
|
59
|
+
"files": [
|
|
60
|
+
"lib/test/**/*Test.js"
|
|
61
|
+
],
|
|
62
|
+
"source": [
|
|
63
|
+
"lib/src/**/*.js"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"files": [
|
|
67
|
+
"lib/src/**",
|
|
68
|
+
"lib/test/**",
|
|
69
|
+
"appsec.properties",
|
|
70
|
+
"CHANGELOG.md"
|
|
71
|
+
]
|
|
72
|
+
}
|