globalpayments-api 3.10.9 → 3.10.11

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +228 -220
  2. package/LICENSE.md +257 -257
  3. package/README.md +148 -148
  4. package/lib/src/Builders/AuthorizationBuilder.js +11 -0
  5. package/lib/src/Builders/AuthorizationBuilder.js.map +1 -1
  6. package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js +9 -0
  7. package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js.map +1 -1
  8. package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js +14 -0
  9. package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js.map +1 -1
  10. package/lib/src/Entities/AlternativePaymentResponse.d.ts +1 -0
  11. package/lib/src/Entities/AlternativePaymentResponse.js +3 -0
  12. package/lib/src/Entities/AlternativePaymentResponse.js.map +1 -1
  13. package/lib/src/Entities/BankResponse.d.ts +7 -0
  14. package/lib/src/Entities/BankResponse.js +12 -0
  15. package/lib/src/Entities/BankResponse.js.map +1 -0
  16. package/lib/src/Entities/Enums.d.ts +27 -1
  17. package/lib/src/Entities/Enums.js +29 -1
  18. package/lib/src/Entities/Enums.js.map +1 -1
  19. package/lib/src/Entities/index.d.ts +1 -0
  20. package/lib/src/Entities/index.js +1 -0
  21. package/lib/src/Entities/index.js.map +1 -1
  22. package/lib/src/Gateways/GpApiConnector.js +70 -0
  23. package/lib/src/Gateways/GpApiConnector.js.map +1 -1
  24. package/lib/src/Mapping/GpApiMapping.d.ts +6 -0
  25. package/lib/src/Mapping/GpApiMapping.js +44 -0
  26. package/lib/src/Mapping/GpApiMapping.js.map +1 -1
  27. package/lib/src/PaymentMethods/AlternativePaymentMethod.d.ts +1 -0
  28. package/lib/src/PaymentMethods/AlternativePaymentMethod.js +1 -0
  29. package/lib/src/PaymentMethods/AlternativePaymentMethod.js.map +1 -1
  30. package/lib/src/ServiceConfigs/Gateways/GpApiConfig.d.ts +1 -0
  31. package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js +1 -0
  32. package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js.map +1 -1
  33. package/lib/test/Integration/Gateways/GpApiConnector/3DS2.test.js +15 -15
  34. package/lib/test/Integration/Gateways/GpApiConnector/3DSecure.test.js +5 -5
  35. package/lib/test/Integration/Gateways/GpApiConnector/BlikApm.test.d.ts +1 -0
  36. package/lib/test/Integration/Gateways/GpApiConnector/BlikApm.test.js +163 -0
  37. package/lib/test/Integration/Gateways/GpApiConnector/BlikApm.test.js.map +1 -0
  38. package/lib/test/Integration/Gateways/GpApiConnector/PayUApm.test.d.ts +1 -0
  39. package/lib/test/Integration/Gateways/GpApiConnector/PayUApm.test.js +299 -0
  40. package/lib/test/Integration/Gateways/GpApiConnector/PayUApm.test.js.map +1 -0
  41. package/lib/test/Integration/Gateways/GpEcomConnector/Credit.test.js +4 -4
  42. package/lib/test/Integration/Gateways/PorticoConnector/Ecommerce.test.js +8 -8
  43. package/package.json +63 -63
package/package.json CHANGED
@@ -1,63 +1,63 @@
1
- {
2
- "name": "globalpayments-api",
3
- "version" : "3.10.9",
4
- "description": "Global Payments SDK for NodeJS for Global Payments eCommerce gateways",
5
- "author": "Global Payments",
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
- "test:jest": "jest",
19
- "test:serial": "jest --runInBand test/Integration/Gateways/PorticoConnector/Reporting.test.ts",
20
- "build:netsuite": "webpack --env.GP_NETSUITE_BUILD --config config/webpack.netsuite.js && node bin/netsuite-post.js",
21
- "build:clean": "rimraf lib",
22
- "docs": "typedoc --mode file --name \"GlobalPayments.Api\" --project tsconfig.json --out docs src",
23
- "format": "prettier --write --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' '*.md'",
24
- "prebuild": "npm-run-all test:lint",
25
- "prepublish": "npm-run-all build",
26
- "prepublishOnly": "npm-run-all build",
27
- "pretest": "npm-run-all build:clean test:lint build",
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/jest": "^29.5.12",
41
- "@types/node": "20.6.0",
42
- "@typescript-eslint/eslint-plugin": "^6.7.3",
43
- "@typescript-eslint/parser": "^6.7.3",
44
- "eslint": "^8.50.0",
45
- "eslint-plugin-prettier": "^5.0.0",
46
- "jest": "^29.7.0",
47
- "npm-run-all": "^4.1.5",
48
- "prettier": "3.0.3",
49
- "rimraf": "^2.6.3",
50
- "ts-jest": "^29.1.5",
51
- "tslint": "^6.1.3",
52
- "typedoc": "0.25.1",
53
- "typescript": "5.2.2",
54
- "webpack": "^5.94.0"
55
- },
56
- "files": [
57
- "lib/src/**",
58
- "lib/test/**",
59
- "appsec.properties",
60
- "CHANGELOG.md"
61
- ],
62
- "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
63
- }
1
+ {
2
+ "name": "globalpayments-api",
3
+ "version" : "3.10.11",
4
+ "description": "Global Payments SDK for NodeJS for Global Payments eCommerce gateways",
5
+ "author": "Global Payments",
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
+ "test:jest": "jest",
19
+ "test:serial": "jest --runInBand test/Integration/Gateways/GpApiConnector/PayUApm.test.ts",
20
+ "build:netsuite": "webpack --env.GP_NETSUITE_BUILD --config config/webpack.netsuite.js && node bin/netsuite-post.js",
21
+ "build:clean": "rimraf lib",
22
+ "docs": "typedoc --mode file --name \"GlobalPayments.Api\" --project tsconfig.json --out docs src",
23
+ "format": "prettier --write --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' '*.md'",
24
+ "prebuild": "npm-run-all test:lint",
25
+ "prepublish": "npm-run-all build",
26
+ "prepublishOnly": "npm-run-all build",
27
+ "pretest": "npm-run-all build:clean test:lint build",
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/jest": "^29.5.12",
41
+ "@types/node": "20.6.0",
42
+ "@typescript-eslint/eslint-plugin": "^6.7.3",
43
+ "@typescript-eslint/parser": "^6.7.3",
44
+ "eslint": "^8.50.0",
45
+ "eslint-plugin-prettier": "^5.0.0",
46
+ "jest": "^29.7.0",
47
+ "npm-run-all": "^4.1.5",
48
+ "prettier": "3.0.3",
49
+ "rimraf": "^2.6.3",
50
+ "ts-jest": "^29.1.5",
51
+ "tslint": "^6.1.3",
52
+ "typedoc": "0.25.1",
53
+ "typescript": "5.2.2",
54
+ "webpack": "^5.94.0"
55
+ },
56
+ "files": [
57
+ "lib/src/**",
58
+ "lib/test/**",
59
+ "appsec.properties",
60
+ "CHANGELOG.md"
61
+ ],
62
+ "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
63
+ }