Compare commits

...

627 Commits

Author SHA1 Message Date
jillingk
b76846c031 Update package.json (#1084) 2023-01-20 09:15:22 +01:00
jillingk
bf1e643973 [PW-7765] add create/disablePermit and simple UT (#1082)
* add create/disablePermit and simple UT

* Add serializer for Date objects and quick test

Co-authored-by: Michael Paul <michael@michaelpaul.com.br>
2023-01-19 16:57:26 +01:00
Michael Paul
316542a166 PW-7514: Fully Generated Management API client (#1064)
* PW-7514: Update models

* PW-7514: Switch to JAR based installation

* PW-7514: Default API template

* PW-7514: Customize API template

* PW-7514: Serialize request

* PW-7514: Query string

* PW-7514: Fix version patch

* PW-7514: Client generated

* PW-7514: Export class by default

* PW-7514: Make path and body params required

* PW-7514: Dynamic service name

* PW-7514: Link all classes into one parent

* PW-7514: Dynamic method names

* PW-7514: Fix merge issues

* PW-7514: Generate using latest specs

Co-authored-by: jillingk <93914435+jillingk@users.noreply.github.com>
2023-01-19 15:59:16 +01:00
Wouter Boereboom
8c451502e3 Remove LGTM badges from README (#1080) 2023-01-19 15:46:05 +01:00
Wouter Boereboom
bd70b93c08 update unit tests to test uniform error handling over APIs (#1079)
Co-authored-by: jillingk <93914435+jillingk@users.noreply.github.com>
2023-01-13 15:54:15 +01:00
renovate[bot]
fd7b05ab09 chore(deps): update dependency nock to v13.3.0 (#1081)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-12 09:49:03 +01:00
renovate[bot]
4ed7e77d0e chore(deps): update dependency @types/node to v14.18.36 (#1044)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-03 08:20:22 +01:00
Michael Paul
a289846a16 PW-7502: Bind QueryString type to URLSearchParams (#1077) 2022-12-30 13:22:21 +01:00
Wouter Boereboom
277edb212c remove API calls from unit tests. Remove ASCII headers from test files, use typings index in test classes. add missing entries to typings index class (#1075) 2022-12-23 10:05:52 +01:00
Wouter Boereboom
be9194fafe add basic auth option to the client (#1076) 2022-12-22 10:38:07 +01:00
renovate[bot]
f210123964 Update dependency typescript to v4.9.4 (#1073)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-22 10:18:50 +01:00
Wouter Boereboom
872f86064f Add banner to README (#1074) 2022-12-14 11:07:55 +01:00
Wouter Boereboom
ba18fcb181 Pw 7156/update readme (#1069)
* update README

* fix link to integration section

* add webhooks to README.md

* fix bullet lists in README

* minor code example fix

* process feedback

* Update README.md

Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>

* Update README.md

Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>

* Grammar

Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>
2022-12-05 16:04:59 +01:00
Wouter Boereboom
79aaf6580e update .npmignore (#1072) 2022-12-05 15:37:44 +01:00
renovate[bot]
2d6330b552 Update dependency ts-loader to v9 (#1055)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-02 09:27:55 +01:00
renovate[bot]
ad540c8964 Update dependency typescript to v4.9.3 (#1050)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-30 14:01:37 +01:00
renovate[bot]
e10cd25364 Update dependency eslint to v8.28.0 (#1057)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-30 13:28:37 +01:00
Wouter Boereboom
7ed7299480 Delete dependabot.yml (#1059) 2022-11-30 13:07:43 +01:00
Wouter Boereboom
c8220fe6d4 fix: add balancePlatform to services index (#1068) 2022-11-30 12:58:05 +01:00
Wouter Boereboom
790c880eef add dataProtection service to library (#1063)
* add dataProtection service to library

* add missing import

* fix mock class for unit test
2022-11-30 12:51:27 +01:00
renovate[bot]
e3a2918fa9 Update actions/checkout action to v3 (#1052)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-11-30 08:46:33 +01:00
dependabot[bot]
aa35700e88 Bump @typescript-eslint/parser from 5.43.0 to 5.45.0 (#1067)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.43.0 to 5.45.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.45.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-30 08:39:45 +01:00
renovate[bot]
7a8ef2bc40 Update actions/setup-node action to v3 (#1053)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 15:25:07 +01:00
jillingk
791f68163a Changed name of Value to BarcodeValue corresponding to docs(and API) (#1051) 2022-11-18 14:50:54 +01:00
renovate[bot]
91306b86d3 Update dependency @typescript-eslint/parser to v5.43.0 (#1046)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-18 09:09:18 +01:00
renovate[bot]
086b8bc929 Update dependency eslint to v8.27.0 (#1047)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-18 09:05:23 +01:00
Eoin Falconer
8aa158b943 Arribatec/fix terminal comms typo (#1029)
* Fix the namings of CommunicationOKFlag

* Revert "Fix the namings of CommunicationOKFlag"

This reverts commit 15e85c2665947a87ce7cfd8b6dae5df0fde16cb1.

* Updated with correct linting

* Update pOIStatus.ts

Co-authored-by: jillingk <93914435+jillingk@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-11-18 08:47:40 +01:00
renovate[bot]
4ac101a30c Update dependency @types/jest to v27.5.2 (#1043)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-18 08:33:35 +01:00
renovate[bot]
533a07c87e Add renovate.json (#1042)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-18 08:30:51 +01:00
dependabot[bot]
37b752de49 Bump @typescript-eslint/eslint-plugin from 5.41.0 to 5.43.0 (#1039)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.41.0 to 5.43.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.43.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 17:07:59 +01:00
wouterboe
59ce9c5d37 bump version for release 12.1.0 2022-10-28 16:47:02 +02:00
Wouter Boereboom
f5efb595ef Merge branch 'main' into develop 2022-10-28 16:32:33 +02:00
AdyenAutomationBot
50548c1857 [create-pull-request] automated change (#980) 2022-10-28 16:28:50 +02:00
dependabot[bot]
a298fa84fb Bump eslint from 8.25.0 to 8.26.0 (#1023)
Bumps [eslint](https://github.com/eslint/eslint) from 8.25.0 to 8.26.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.25.0...v8.26.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-10-28 08:50:06 +02:00
dependabot[bot]
e6d369506e Bump acorn from 8.8.0 to 8.8.1 (#1024)
Bumps [acorn](https://github.com/acornjs/acorn) from 8.8.0 to 8.8.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.8.0...8.8.1)

---
updated-dependencies:
- dependency-name: acorn
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-10-28 08:49:37 +02:00
dependabot[bot]
e084599757 Bump @typescript-eslint/parser from 5.40.1 to 5.41.0 (#1025)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.40.1 to 5.41.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.41.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-28 08:49:19 +02:00
dependabot[bot]
4246674d29 Bump @typescript-eslint/eslint-plugin from 5.40.1 to 5.41.0 (#1026)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.40.1 to 5.41.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.41.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-10-28 08:45:12 +02:00
Wouter Boereboom
ffbf955b95 Pw 6850/bank issueing fund transfers (#1027)
* add TransferService to Makefile

* add transfers API to library

* update typings and add unit tests
2022-10-27 16:45:47 +02:00
Wouter Boereboom
0d6535f32c Merge pull request #1020 from Adyen/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.40.1
Bump @typescript-eslint/eslint-plugin from 5.40.0 to 5.40.1
2022-10-19 08:57:15 +02:00
dependabot[bot]
343e04f475 Bump @typescript-eslint/eslint-plugin from 5.40.0 to 5.40.1
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.40.0 to 5.40.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.40.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 06:53:34 +00:00
Wouter Boereboom
f1f8161f2a Merge pull request #1021 from Adyen/dependabot/npm_and_yarn/typescript-eslint/parser-5.40.1
Bump @typescript-eslint/parser from 5.40.0 to 5.40.1
2022-10-19 08:52:05 +02:00
dependabot[bot]
ba8f2b44f3 Bump @typescript-eslint/parser from 5.40.0 to 5.40.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.40.0 to 5.40.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.40.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-18 04:02:07 +00:00
Wouter Boereboom
898be12d1c Merge pull request #1014 from Adyen/fix/LEM_service_index
add LEM service to services index
2022-10-14 08:56:33 +02:00
Wouter Boereboom
d0ba69a3a8 Merge branch 'develop' into fix/LEM_service_index 2022-10-14 08:52:59 +02:00
Wouter Boereboom
83662185f8 Merge pull request #1015 from Adyen/dependabot/npm_and_yarn/eslint-8.25.0
Bump eslint from 8.24.0 to 8.25.0
2022-10-14 08:51:59 +02:00
Wouter Boereboom
9eb30e7a25 Merge branch 'develop' into dependabot/npm_and_yarn/eslint-8.25.0 2022-10-14 08:51:52 +02:00
Wouter Boereboom
2d3eccf188 Merge pull request #1017 from Adyen/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.40.0
Bump @typescript-eslint/eslint-plugin from 5.39.0 to 5.40.0
2022-10-14 08:51:42 +02:00
dependabot[bot]
962c8d62cd Bump @typescript-eslint/eslint-plugin from 5.39.0 to 5.40.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.39.0 to 5.40.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.40.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 06:27:51 +00:00
dependabot[bot]
3e134634c0 Bump eslint from 8.24.0 to 8.25.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.24.0 to 8.25.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.24.0...v8.25.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 06:27:04 +00:00
Wouter Boereboom
8d7fec9d21 Merge pull request #1018 from Adyen/dependabot/npm_and_yarn/minimist-1.2.7
Bump minimist from 1.2.6 to 1.2.7
2022-10-14 08:24:26 +02:00
Wouter Boereboom
02996d6b9c Merge branch 'develop' into dependabot/npm_and_yarn/minimist-1.2.7 2022-10-14 08:24:03 +02:00
Wouter Boereboom
a3ac8b1144 Merge pull request #1019 from Adyen/dependabot/npm_and_yarn/typescript-eslint/parser-5.40.0
Bump @typescript-eslint/parser from 5.39.0 to 5.40.0
2022-10-14 08:23:52 +02:00
dependabot[bot]
7e790b6bfb Bump @typescript-eslint/parser from 5.39.0 to 5.40.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.39.0 to 5.40.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.40.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-11 04:02:43 +00:00
dependabot[bot]
3b24e07cd3 Bump minimist from 1.2.6 to 1.2.7
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.6 to 1.2.7.
- [Release notes](https://github.com/minimistjs/minimist/releases)
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.6...v1.2.7)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-11 04:02:26 +00:00
Ángel Campos
f382796730 Replace individual codeowners with Adyen JS Github team (#1016) 2022-10-10 13:58:40 +02:00
Wouter Boereboom
1e83db3465 add LEM service to services index 2022-10-06 13:01:02 +02:00
Wouter Boereboom
72d856d1d6 Merge pull request #1013 from Adyen/dependabot/npm_and_yarn/release-it-15.5.0
Bump release-it from 15.4.1 to 15.5.0
2022-10-04 10:25:38 +02:00
Wouter Boereboom
b13a666a84 Merge branch 'develop' into dependabot/npm_and_yarn/release-it-15.5.0 2022-10-04 10:21:38 +02:00
Wouter Boereboom
6f8389e6cc Merge pull request #1011 from Adyen/dependabot/npm_and_yarn/typescript-eslint/parser-5.39.0
Bump @typescript-eslint/parser from 5.36.2 to 5.39.0
2022-10-04 10:21:28 +02:00
Wouter Boereboom
b15ccd88cb Merge branch 'develop' into dependabot/npm_and_yarn/typescript-eslint/parser-5.39.0 2022-10-04 10:21:21 +02:00
Wouter Boereboom
d9574bcfea Merge pull request #1009 from Adyen/dependabot/npm_and_yarn/dotenv-16.0.3
Bump dotenv from 16.0.1 to 16.0.3
2022-10-04 10:21:12 +02:00
Wouter Boereboom
677fe3cc8e Merge branch 'develop' into dependabot/npm_and_yarn/dotenv-16.0.3 2022-10-04 10:21:05 +02:00
Wouter Boereboom
983f8777e6 Merge pull request #1008 from Adyen/dependabot/npm_and_yarn/vm2-3.9.11
Bump vm2 from 3.9.10 to 3.9.11
2022-10-04 10:20:55 +02:00
Wouter Boereboom
81e4ee018e Merge branch 'develop' into dependabot/npm_and_yarn/vm2-3.9.11 2022-10-04 10:20:44 +02:00
Wouter Boereboom
163446bfab Merge pull request #1007 from Adyen/dependabot/npm_and_yarn/typescript-4.8.4
Bump typescript from 4.8.2 to 4.8.4
2022-10-04 10:20:33 +02:00
dependabot[bot]
0fda83998f Bump release-it from 15.4.1 to 15.5.0
Bumps [release-it](https://github.com/release-it/release-it) from 15.4.1 to 15.5.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/15.4.1...15.5.0)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 07:12:53 +00:00
dependabot[bot]
f9ee123b7d Bump dotenv from 16.0.1 to 16.0.3
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.0.1 to 16.0.3.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.0.1...v16.0.3)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 07:12:34 +00:00
dependabot[bot]
ca0d866c18 Bump @typescript-eslint/parser from 5.36.2 to 5.39.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.36.2 to 5.39.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.39.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 07:12:29 +00:00
dependabot[bot]
a3683f6192 Bump typescript from 4.8.2 to 4.8.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.8.2 to 4.8.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.8.2...v4.8.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 07:12:14 +00:00
dependabot[bot]
d33a206543 Bump vm2 from 3.9.10 to 3.9.11
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.10 to 3.9.11.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.10...3.9.11)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 07:11:00 +00:00
Wouter Boereboom
e28a72a6fa Merge pull request #1003 from Adyen/dependabot/npm_and_yarn/eslint-8.24.0
Bump eslint from 8.23.0 to 8.24.0
2022-10-04 09:10:06 +02:00
dependabot[bot]
01503307d0 Bump eslint from 8.23.0 to 8.24.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.23.0 to 8.24.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.23.0...v8.24.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 07:09:18 +00:00
Wouter Boereboom
2b1d2266f3 Merge pull request #1012 from Adyen/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.39.0
Bump @typescript-eslint/eslint-plugin from 5.35.1 to 5.39.0
2022-10-04 09:05:50 +02:00
dependabot[bot]
9021e205fc Bump @typescript-eslint/eslint-plugin from 5.35.1 to 5.39.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.35.1 to 5.39.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.39.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 04:03:10 +00:00
jillingk
ad5559c55a [PW-6847] Add support for LEM endpoints (#999)
* Generate models and add services

* Makefile changes and document

* PW-6847: Mocks

* Update src/__tests__/legalEntityManagement.spec.ts

Co-authored-by: Michael Paul <michael@michaelpaul.com.br>

* small fix and renames

* Update src/__tests__/balancePlatform.spec.ts

Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>

* modified README and index

* Update src/services/resource/legalEntityManagementResource.ts

Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>

* Update src/services/resource/legalEntityManagementResource.ts

Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>

Co-authored-by: michaelpa <michael.paul@adyen.com>
Co-authored-by: Michael Paul <michael@michaelpaul.com.br>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-09-30 13:48:35 +02:00
jillingk
61a634def0 Merge pull request #997 from Adyen/fix/abort
[PW-7079] fix abort request localterminal API
2022-09-30 11:42:43 +02:00
jillingk
078b120725 Merge branch 'develop' into fix/abort 2022-09-30 11:11:20 +02:00
Michael Paul
0138e148e7 PW-7094: Dynamic title and body for automatic PR (#1006) 2022-09-28 15:34:33 +02:00
Jilling Kingma
aefb0e5e19 made simple if statement instead of catch block 2022-09-28 11:05:55 +02:00
Jilling Kingma
692a133058 return undefined response item 2022-09-19 14:18:46 +02:00
Jilling Kingma
e36af2f7c7 add catch block for nexocryptoexception 2022-09-19 13:28:56 +02:00
Jilling Kingma
9a12c9e46b Changed solution to try catch block and custom error 2022-09-19 11:20:46 +02:00
Jilling Kingma
1d365df9c8 Added jsonResponse empty string catch 2022-09-14 09:34:55 +02:00
Wouter Boereboom
bcdc42bd7a Merge pull request #989 from Adyen/dependabot/npm_and_yarn/release-it-15.4.1
Bump release-it from 15.4.0 to 15.4.1
2022-09-06 08:23:29 +02:00
Wouter Boereboom
d6ae7af069 Merge branch 'develop' into dependabot/npm_and_yarn/release-it-15.4.1 2022-09-06 08:21:21 +02:00
Wouter Boereboom
35542e5bce Merge pull request #991 from Adyen/dependabot/npm_and_yarn/typescript-eslint/parser-5.36.2
Bump @typescript-eslint/parser from 5.35.1 to 5.36.2
2022-09-06 08:21:06 +02:00
dependabot[bot]
b955690774 Bump @typescript-eslint/parser from 5.35.1 to 5.36.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.35.1 to 5.36.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.36.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-06 04:02:44 +00:00
dependabot[bot]
022f85b343 Bump release-it from 15.4.0 to 15.4.1
Bumps [release-it](https://github.com/release-it/release-it) from 15.4.0 to 15.4.1.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/15.4.0...15.4.1)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 04:02:28 +00:00
Kilian Brachtendorf
e1f05edba1 update readme links to point to currently supported version of api docs (#982)
update support address pointing to 301 redirect address with invalid certificate
2022-08-29 11:49:05 +02:00
Wouter Boereboom
b8407eac70 Merge pull request #979 from Adyen/dependabot/npm_and_yarn/typescript-4.8.2
Bump typescript from 4.7.4 to 4.8.2
2022-08-29 09:33:19 +02:00
Wouter Boereboom
1f8b6351ce Merge branch 'develop' into dependabot/npm_and_yarn/typescript-4.8.2 2022-08-29 09:30:15 +02:00
Wouter Boereboom
93dad27fca Merge pull request #983 from Adyen/dependabot/npm_and_yarn/eslint-8.23.0
Bump eslint from 8.22.0 to 8.23.0
2022-08-29 09:29:56 +02:00
dependabot[bot]
1b42fa2125 Bump eslint from 8.22.0 to 8.23.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.22.0 to 8.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.22.0...v8.23.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-29 04:01:21 +00:00
Michael Paul
d47a876123 Bump Node version for the release workflow (#981) 2022-08-26 14:23:55 +02:00
Wouter Boereboom
20097e6a62 Merge pull request #975 from Adyen/develop
Release 12.0.0
2022-08-26 13:02:42 +02:00
dependabot[bot]
fb170c2f88 Bump typescript from 4.7.4 to 4.8.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.4 to 4.8.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.4...v4.8.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-26 04:01:25 +00:00
dependabot[bot]
b22502026a Bump @typescript-eslint/eslint-plugin from 5.34.0 to 5.35.1 (#977)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.34.0 to 5.35.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.35.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-25 09:10:03 +02:00
dependabot[bot]
18c0498e27 Bump release-it from 15.3.0 to 15.4.0 (#976)
Bumps [release-it](https://github.com/release-it/release-it) from 15.3.0 to 15.4.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/15.3.0...15.4.0)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-08-25 08:30:07 +02:00
dependabot[bot]
e6a03d7483 Bump @typescript-eslint/parser from 5.34.0 to 5.35.1 (#978)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.34.0 to 5.35.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.35.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-25 08:29:50 +02:00
Wouter Boereboom
d9480ffbb9 Merge branch 'main' into develop 2022-08-24 17:07:18 +02:00
Wouter Boereboom
4a6c1218ea Bump version and pre-release fixes (#974)
* Update README.md

* update client API version constant used by payouts

* update package version and remove client js header

* remove some obsolete blank lines
2022-08-24 17:06:07 +02:00
AdyenAutomationBot
26803de094 [create-pull-request] automated change (#973) 2022-08-24 14:25:31 +02:00
AdyenAutomationBot
f6d61eae30 [create-pull-request] automated change (#969)
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-08-23 11:36:41 +02:00
Wouter Boereboom
41f58990b4 fix unit tests (#972) 2022-08-23 11:29:17 +02:00
dependabot[bot]
15799bbd5b Bump @typescript-eslint/parser from 5.33.1 to 5.34.0 (#970)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.33.1 to 5.34.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.34.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 09:33:46 +02:00
dependabot[bot]
d69ead8926 Bump @typescript-eslint/eslint-plugin from 5.33.1 to 5.34.0 (#971)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.33.1 to 5.34.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.34.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-08-23 08:23:29 +02:00
Steeven Labelle
a250acfa21 allow splits terminal for marketplace (#967)
* allow splits terminal for marketplace

* fix: SaleToAcquirerData accept SaleToAcquirerData type or string
2022-08-23 08:23:02 +02:00
Ángel Campos
0b75b1d8f7 updating dependabot reviewers (#966)
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-08-19 16:34:27 +02:00
Wouter Boereboom
13309b073a remove binlookup interface in favor of generated models (#965)
* remove binlookup interface in favor of generated models

* Update src/typings/index.ts

Fix typo in  typings index.ts

Co-authored-by: Michael Paul <michael@michaelpaul.com.br>

Co-authored-by: Michael Paul <michael@michaelpaul.com.br>
Co-authored-by: jillingk <93914435+jillingk@users.noreply.github.com>
2022-08-19 13:56:48 +02:00
jillingk
71c697e102 Merge pull request #955 from Adyen/fix/metadata
added metadata to attribute map
2022-08-18 17:18:31 +02:00
jillingk
e4c7c62807 Merge branch 'develop' into fix/metadata 2022-08-18 17:08:36 +02:00
Michael Paul
de7cd45027 PW-6940: Management API merchant endpoints (#953)
* PW-6940: Update CI workflows

Remove redundant reviewers and push event. Upgrade Node for coverage report.

* PW-6940: Upgrade CodeQL

* PW-6940: Update models

* PW-6940: Add merchant level endpoints

* Revert "PW-6940: Update models"

This reverts commit 1044f2ab1b2ab90fd980588ba35ba5fb6b55d93e.

* PW-6940: Linking services

* PW-6940: Add documentation

* PW-6940: Add unit tests

* PW-6940: Fix delete methods return value

Co-authored-by: Ángel Campos <angel.campos@adyen.com>
Co-authored-by: Alexandros Moraitis <amoraitis@outlook.com>
2022-08-18 13:24:37 +02:00
Alexandros Moraitis
219f51620a Merge branch 'develop' into fix/metadata 2022-08-18 11:55:56 +02:00
dependabot[bot]
371d910fb6 Bump eslint from 8.21.0 to 8.22.0 (#959)
Bumps [eslint](https://github.com/eslint/eslint) from 8.21.0 to 8.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.21.0...v8.22.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-08-18 11:48:58 +02:00
AdyenAutomationBot
e76c16e540 [create-pull-request] automated change (#958)
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-08-18 11:18:42 +02:00
Wouter Boereboom
45ec478631 Merge branch 'develop' into fix/metadata 2022-08-18 10:40:41 +02:00
dependabot[bot]
390d447093 Bump @typescript-eslint/parser from 5.33.0 to 5.33.1 (#960)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.33.0 to 5.33.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.33.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-08-18 10:40:04 +02:00
Wouter Boereboom
df7f3ad6c5 add BinLookup to model generator pipeline (#963)
* add BinLookup to model generator pipeline

* add binlookup to services list
2022-08-18 09:38:42 +02:00
Wouter Boereboom
d7f5a17296 move payouts from interface models to generated models (#962)
* update makefile so payouts models will be generated

* remove existing interface and use models directory

* reversed duplicate payouts entry
2022-08-18 09:31:55 +02:00
Wouter Boereboom
747f369aa5 Merge branch 'develop' into fix/metadata 2022-08-17 08:42:31 +02:00
dependabot[bot]
86d64e8343 Bump @typescript-eslint/eslint-plugin from 5.33.0 to 5.33.1 (#961)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.33.0 to 5.33.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.33.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-17 08:41:23 +02:00
AdyenAutomationBot
085ac91bf3 [create-pull-request] automated change (#956) 2022-08-10 17:51:04 +02:00
Jilling Kingma
f742cbe542 added metadata to attribute map 2022-08-10 10:06:48 +02:00
dependabot[bot]
19ccff04e5 Bump release-it from 15.2.0 to 15.3.0 (#954)
Bumps [release-it](https://github.com/release-it/release-it) from 15.2.0 to 15.3.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/15.2.0...15.3.0)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-10 08:37:07 +02:00
dependabot[bot]
b4b702b1be Bump @typescript-eslint/eslint-plugin from 5.32.0 to 5.33.0 (#952)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.32.0 to 5.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.33.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-09 11:39:05 +02:00
dependabot[bot]
00acf4841f Bump @typescript-eslint/parser from 5.32.0 to 5.33.0 (#951)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.32.0 to 5.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.33.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-09 11:16:12 +02:00
Michael Paul
7300b9e37b PW-6846: Platforms and financial products - Configuration (#949)
* PW-6846: Add Balance Platform to generator

* PW-6846: Models

* PW-6846: Add configuration options

* PW-6846: Account holders

* PW-6846: Add AccountHolders tests

* PW-6846: Add query string parameters

* PW-6846: Make `AccountHolder.id` optional

The `AccountHolder.id` field is required at the specs level.

It should be optional (or not exist) when sending an update request.

* PW-6846: Add Balance accounts endpoints

* PW-6846: General endpoints

* PW-6846: Add Payment Instruments endpoints

* PW-6846: Add Payment Instrument Groups endpoints

* PW-6846: Add Transaction Rules endpoints

* PW-6846: Fix linting issues
2022-08-09 11:10:53 +02:00
dependabot[bot]
e347851506 Bump @typescript-eslint/eslint-plugin from 5.30.7 to 5.32.0 (#946)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.30.7 to 5.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.32.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 16:02:47 +02:00
dependabot[bot]
c2daccdf56 Bump eslint from 8.20.0 to 8.21.0 (#948)
Bumps [eslint](https://github.com/eslint/eslint) from 8.20.0 to 8.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.20.0...v8.21.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 15:44:17 +02:00
dependabot[bot]
a6785cab12 Bump @typescript-eslint/parser from 5.31.0 to 5.32.0 (#947)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.31.0 to 5.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.32.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 15:21:13 +02:00
Michael Paul
1b636e98a3 PW-6668: POS Terminal Management API (#922)
* PW-6668: Add resources

* PW-6668: Add models

* PW-6668: Add service

* PW-6668: Add unit tests

* PW-6668: Update readme

* PW-6668: Import models from models.ts

* PW-6668: Deserialize terminal management responses
2022-08-04 15:10:54 +02:00
dependabot[bot]
dd9eca1ede Bump release-it from 15.1.4 to 15.2.0 (#944)
Bumps [release-it](https://github.com/release-it/release-it) from 15.1.4 to 15.2.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/15.1.4...15.2.0)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 08:19:06 +02:00
Wouter Boereboom
706201f0e2 fix linting warnings for using "any" as type (#927) 2022-07-26 16:05:08 +02:00
Wouter Boereboom
5d00b0cba1 add requestoptions to all checkout requests in order to use idempotency key. update paymentlinks resource creation to prevent code bleed in unit tests (#943) 2022-07-26 14:27:16 +02:00
dependabot[bot]
ca2515ae37 Bump release-it from 15.1.3 to 15.1.4 (#940)
Bumps [release-it](https://github.com/release-it/release-it) from 15.1.3 to 15.1.4.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/15.1.3...15.1.4)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-26 13:34:11 +02:00
dependabot[bot]
72f167c36a Bump @typescript-eslint/parser from 5.30.7 to 5.31.0 (#941)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.30.7 to 5.31.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.31.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-26 11:34:45 +02:00
Michael Paul
5631c99d12 PW-6832: Parse datetime fields as Date (#936)
* PW-6832: Parse Date for sessions endpoint

* PW-6832: Fix integration test

* PW-6832: Deserialize all Checkout endpoints
2022-07-25 17:12:16 +02:00
Michael Paul
e06f45ed49 PW-6843: Add /debitAccountHolder endpoint (#938)
* PW-6843: Add /debitAccountHolder endpoint

* PW-6843: Fix imports

Co-authored-by: Alexandros Moraitis <amoraitis@outlook.com>
2022-07-25 16:52:24 +02:00
Michael Paul
63c768ee45 PW-6903: Add more services to model generator (#934)
* PW-6903: Add Platforms Account

* PW-6903: Add Payouts

* PW-6903: Add Platforms Fund

* PW-6903: Add Platforms Notification Configuration

* PW-6903: Add Platforms Hosted Onboarding Page

* PW-6903: Add Management API
2022-07-25 11:14:56 +02:00
dependabot[bot]
d7602095b3 Bump acorn from 8.7.1 to 8.8.0 (#937)
Bumps [acorn](https://github.com/acornjs/acorn) from 8.7.1 to 8.8.0.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.7.1...8.8.0)

---
updated-dependencies:
- dependency-name: acorn
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-25 09:03:11 +02:00
Wouter Boereboom
c4e1c96736 Pw 6904/management api (#926)
* create first version of management api structure and
"me" endpoints

* change me/allowedOrigins response to fix bug in API Spec file
2022-07-25 08:57:09 +02:00
dependabot[bot]
c335e29869 Bump eslint from 8.19.0 to 8.20.0 (#929)
Bumps [eslint](https://github.com/eslint/eslint) from 8.19.0 to 8.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.19.0...v8.20.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 14:30:50 +02:00
dependabot[bot]
1b095f8e7e Bump @typescript-eslint/parser from 5.30.6 to 5.30.7 (#930)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.30.6 to 5.30.7.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.30.7/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 14:20:44 +02:00
dependabot[bot]
9505a49ea7 Bump @typescript-eslint/eslint-plugin from 5.30.6 to 5.30.7 (#931)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.30.6 to 5.30.7.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.30.7/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 14:12:44 +02:00
dependabot[bot]
8eb1708b03 Bump nock from 13.2.8 to 13.2.9 (#933)
Bumps [nock](https://github.com/nock/nock) from 13.2.8 to 13.2.9.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.2.8...v13.2.9)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 14:05:47 +02:00
dependabot[bot]
7861a0bf0c Bump release-it from 15.1.1 to 15.1.3 (#935)
Bumps [release-it](https://github.com/release-it/release-it) from 15.1.1 to 15.1.3.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/15.1.1...15.1.3)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 13:57:38 +02:00
AdyenAutomationBot
6c049d8b0d [create-pull-request] automated change (#932) 2022-07-21 11:59:30 +02:00
Michael Paul
b1f58c3ab1 PW-6881: Generate more models (#915)
* PW-6881: Base generation on checked out branch

* Base the new PR on the current PR's branch

* PW-6881: Set base on checkout

* PW-6881: Generate Stored Value models

* PW-6881: Permission issue

* PW-6881: Run container without root

* PW-6881: Supporting files are required

* PW-6881: Remove debugging event

* PW-6881: Add POS Terminal Management

* PW-6881: Add Classic integration

* PW-6881: Generate Recurring models

* Update README.md

Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-07-19 13:55:16 +02:00
dependabot[bot]
95d4894cab Bump nock from 13.2.7 to 13.2.8 (#910)
Bumps [nock](https://github.com/nock/nock) from 13.2.7 to 13.2.8.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.2.7...v13.2.8)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-14 16:15:06 +02:00
dependabot[bot]
5d1f89b76a Bump release-it from 15.1.0 to 15.1.1 (#908)
Bumps [release-it](https://github.com/release-it/release-it) from 15.1.0 to 15.1.1.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/15.1.0...15.1.1)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-14 15:58:58 +02:00
dependabot[bot]
f868a8027a Bump eslint from 8.16.0 to 8.19.0 (#923)
Bumps [eslint](https://github.com/eslint/eslint) from 8.16.0 to 8.19.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.16.0...v8.19.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-14 15:55:33 +02:00
dependabot[bot]
e31d10504f Bump @typescript-eslint/parser from 5.17.0 to 5.30.6 (#924)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.17.0 to 5.30.6.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.30.6/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 12:08:43 +02:00
dependabot[bot]
612b95437d Bump @typescript-eslint/eslint-plugin from 5.17.0 to 5.30.6 (#925)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.17.0 to 5.30.6.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.30.6/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 11:47:45 +02:00
Wouter Boereboom
0bb8963d94 update HOP API (#921)
* update HOP API

* update typings index

* add storedValue to typings index
2022-07-12 16:39:21 +02:00
Wouter Boereboom
0a835c55be update recurringService to v68 (#919)
* update recurringService to v68

* remove actual api calls from unit tests and remove superfluous file headers
2022-07-12 10:47:09 +02:00
Wouter Boereboom
aba0c19859 Pw 6826/storedvalue api (#918)
* merge modifications service with checkout service and add cardDetails endpoint to checkout service

* add classic integration/payment API types and service to library

* add unit test for cardDetails endpoint

* fix unit tests for binlookup

* PW-6663: Do not run model generation on every PR

* remove inconsistent e2e/unit hybrid test for binlookup

* add storedValue API

* upgrade linter packages and fix linting issues in repo

* add storedValue API to Readme

Co-authored-by: Michael Paul <michael@michaelpaul.com.br>
2022-07-12 10:44:19 +02:00
jillingk
1e60855be9 set value of qrcode to proper value stated in docs (#900)
Co-authored-by: Michael Paul <michael@michaelpaul.com.br>
2022-07-11 15:09:48 +02:00
AdyenAutomationBot
9943b41589 [create-pull-request] automated change (#917) 2022-07-08 14:51:48 +02:00
Wouter Boereboom
a479c38bf1 Pw 6663/fix checkout + payments services (#903)
* merge modifications service with checkout service and add cardDetails endpoint to checkout service

* add classic integration/payment API types and service to library

* add unit test for cardDetails endpoint

* fix unit tests for binlookup

* PW-6663: Do not run model generation on every PR

* remove inconsistent e2e/unit hybrid test for binlookup

Co-authored-by: Michael Paul <michael@michaelpaul.com.br>
2022-07-06 09:51:49 +02:00
Michael Paul
55c924f925 PW-6591: Add new job to generate models (#902)
* PW-6591: Add new job to generate models

* PW-6591: Point to checkout spec

* PW-6591: Use generator from Docker image

* PW-6591: Reset templates to defaults

* PW-6591: Updating templates

* PW-6591: Propose changes via PR

* PW-6591: PR via external action

* PW-6591: Based on develop

* PW-6591: Update PR details

* PW-6591: Pin generator to v5.4.0

* PW-6591: Updating templates

Keep previous property template and move custom SaleToAcquirerData serializer to template.

* PW-6591: Author PR as Adyen bot

* PW-6591: Update author
2022-06-30 10:57:01 +02:00
dependabot[bot]
020a392239 Bump release-it from 15.0.0 to 15.1.0 (#904)
Bumps [release-it](https://github.com/release-it/release-it) from 15.0.0 to 15.1.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/15.0.0...15.1.0)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 13:57:30 +02:00
dependabot[bot]
47f587d43b Bump typescript from 4.7.3 to 4.7.4 (#901)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.3 to 4.7.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.3...v4.7.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-06-21 16:45:05 +02:00
dependabot[bot]
a60f810c8f Bump nock from 13.2.6 to 13.2.7 (#897)
Bumps [nock](https://github.com/nock/nock) from 13.2.6 to 13.2.7.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.2.6...v13.2.7)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-06-21 16:42:14 +02:00
Michael Paul
e52ac64370 Merge pull request #896 from Adyen/PW-6592
PW-6592: Publish on NPM automatically
2022-06-21 10:19:42 +02:00
Michael Paul
f579c306b1 Merge branch 'develop' into PW-6592 2022-06-21 10:11:40 +02:00
Michael Paul
f236355f7c Merge pull request #899 from Adyen/PW-6628
PW-6628: Update ReversalRequest model
2022-06-21 10:11:27 +02:00
Michael Paul
5a5a3c618a Merge branch 'develop' into PW-6628 2022-06-20 13:28:36 +02:00
Michael Paul
7b23bcd23c Merge branch 'develop' into PW-6592 2022-06-20 11:33:38 +02:00
Wouter Boereboom
dc8499f13c add openapi templates to repo (#890)
* add openapi templates to repo

* remove ASCII header from template
2022-06-20 11:31:07 +02:00
Michael Paul
75243ebd6e PW-6628: Serialize SaleToAcquirerData
Using same option (base64 encoded JSON string) on all terminal requests.
2022-06-17 08:20:55 +00:00
Michael Paul
e3f8eef013 PW-6628: Test adding currency to a refund request
Remove duplicated data provider when running on CI. Make it a single
control variable.
2022-06-16 13:30:27 +00:00
Michael Paul
0f9ec5d59d PW-6628: Update ReversalRequest model 2022-06-15 13:24:05 +00:00
Michael Paul
cc2811555b PW-6592: Publish on NPM automatically 2022-06-14 17:15:58 +02:00
Zaid Dreakh
58673103cd Merge pull request #894 from Adyen/develop
Release 11.0.0
2022-06-13 16:00:24 +02:00
Zaid Dreakh
467a04b215 Merge pull request #895 from Adyen/updateVersionNumbers
updated version numbers
2022-06-13 14:55:49 +02:00
zaid
097cd658e5 updated v numbers 2022-06-13 14:54:30 +02:00
Zaid Dreakh
699e1e52ea Merge pull request #893 from Adyen/dependabot/npm_and_yarn/typescript-4.7.3
Bump typescript from 4.6.3 to 4.7.3
2022-06-13 14:39:18 +02:00
Zaid Dreakh
c1ab1018b8 Merge pull request #892 from Adyen/dependabot/npm_and_yarn/nock-13.2.6
Bump nock from 13.2.4 to 13.2.6
2022-06-13 14:39:02 +02:00
Zaid Dreakh
3c4f9409e5 Merge pull request #884 from Adyen/dependabot/npm_and_yarn/ts-auto-mock-3.6.2
Bump ts-auto-mock from 3.5.1 to 3.6.2
2022-06-13 14:38:50 +02:00
Zaid Dreakh
57b658c917 Merge branch 'develop' into dependabot/npm_and_yarn/nock-13.2.6 2022-06-13 14:37:25 +02:00
Zaid Dreakh
f3e24c0ebc Merge branch 'develop' into dependabot/npm_and_yarn/typescript-4.7.3 2022-06-13 14:37:17 +02:00
Zaid Dreakh
040002305c Merge pull request #885 from Adyen/dependabot/npm_and_yarn/dotenv-16.0.1
Bump dotenv from 16.0.0 to 16.0.1
2022-06-13 14:37:06 +02:00
Zaid Dreakh
78782a8fa6 Merge branch 'develop' into dependabot/npm_and_yarn/ts-auto-mock-3.6.2 2022-06-13 14:36:58 +02:00
Zaid Dreakh
f16612a3ba Merge pull request #881 from Adyen/dependabot/npm_and_yarn/types/jest-27.5.0
Bump @types/jest from 27.4.1 to 27.5.0
2022-06-13 14:36:42 +02:00
dependabot[bot]
9fe7879b35 Bump ts-auto-mock from 3.5.1 to 3.6.2
Bumps [ts-auto-mock](https://github.com/Typescript-TDD/ts-auto-mock) from 3.5.1 to 3.6.2.
- [Release notes](https://github.com/Typescript-TDD/ts-auto-mock/releases)
- [Changelog](https://github.com/Typescript-TDD/ts-auto-mock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Typescript-TDD/ts-auto-mock/compare/3.5.1...3.6.2)

---
updated-dependencies:
- dependency-name: ts-auto-mock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 09:19:07 +00:00
dependabot[bot]
b075c7a1f6 Bump typescript from 4.6.3 to 4.7.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.3 to 4.7.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.3...v4.7.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 09:18:42 +00:00
dependabot[bot]
25cfb74feb Bump nock from 13.2.4 to 13.2.6
Bumps [nock](https://github.com/nock/nock) from 13.2.4 to 13.2.6.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.2.4...v13.2.6)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 09:18:30 +00:00
Zaid Dreakh
d34a08303a Merge pull request #889 from Adyen/main-test-ci 2022-06-13 11:16:36 +02:00
Zaid Dreakh
9f3ee679e8 Merge branch 'develop' into dependabot/npm_and_yarn/dotenv-16.0.1 2022-06-13 11:15:23 +02:00
Zaid Dreakh
25f31ca4c1 Merge branch 'develop' into dependabot/npm_and_yarn/types/jest-27.5.0 2022-06-13 11:14:41 +02:00
Zaid Dreakh
48419f14d9 Merge pull request #880 from Adyen/dependabot/npm_and_yarn/release-it-15.0.0
Bump release-it from 14.14.2 to 15.0.0
2022-06-13 11:14:24 +02:00
Zaid Dreakh
86191a0669 Merge branch 'develop' into main-test-ci 2022-06-13 11:09:55 +02:00
Zaid Dreakh
05345cdbd8 Merge branch 'develop' into dependabot/npm_and_yarn/types/jest-27.5.0 2022-06-13 11:09:26 +02:00
Zaid Dreakh
55418abc73 Merge branch 'develop' into dependabot/npm_and_yarn/release-it-15.0.0 2022-06-13 11:09:06 +02:00
Zaid Dreakh
c746566a20 Merge pull request #891 from Adyen/PW-6674
PW-6674/upgrade Checkout API to v69
2022-06-10 13:45:32 +02:00
zaid
9494be4675 test 12, 14, 16 2022-06-03 12:19:25 +02:00
zaid
ad756cd558 test v14 2022-06-03 12:16:48 +02:00
zaid
65b2ed0875 added any back to catch clauses 2022-06-03 11:23:49 +02:00
zaid
32adeb6dc0 attempt to resolve test errors on Github, object of type unknown error 2022-06-03 10:52:25 +02:00
zaid
e6e948ea79 regenerated with license info template added 2022-06-02 23:10:41 +02:00
zaid
4820b13a98 WIP 2022-06-02 22:48:14 +02:00
Wouter Boereboom
c65c440cf7 Merge branch 'develop' into main-test-ci 2022-05-25 11:47:52 +02:00
Wouter Boereboom
bd3df0bef3 update node compatibility 2022-05-24 08:52:47 +02:00
wouterboe
2b0bbd969a remove node 10 from ci workflow 2022-05-23 15:19:33 +02:00
Ángel Campos
ac9dfd99eb Adding exemptLabels to stalebot (#882)
Issues with these labels won't be closed by stalebot:

  - Validating request
  - Bug report
  - Bug
  - Enhancement
  - feature
2022-05-19 14:53:15 +02:00
dependabot[bot]
a2e8fe796b Bump dotenv from 16.0.0 to 16.0.1
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.0.0 to 16.0.1.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.0.0...v16.0.1)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 04:02:56 +00:00
dependabot[bot]
79320f3782 Bump @types/jest from 27.4.1 to 27.5.0
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.4.1 to 27.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-03 04:03:01 +00:00
dependabot[bot]
d67047c9b6 Bump release-it from 14.14.2 to 15.0.0
Bumps [release-it](https://github.com/release-it/release-it) from 14.14.2 to 15.0.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.14.2...15.0.0)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 04:03:36 +00:00
Wouter Boereboom
73adc4cc07 Merge pull request #877 from Adyen/develop
Release 10.3.0
2022-04-28 15:17:20 +02:00
Wouter Boereboom
788d96caa3 Merge branch 'main' into develop 2022-04-28 12:32:08 +02:00
Wouter Boereboom
4235c68811 bump version for release (#876) 2022-04-28 12:30:52 +02:00
Wouter Boereboom
05fefe611a add getTaxForm endpoint to Platform Accounts API (#872) 2022-04-28 12:13:57 +02:00
dependabot[bot]
260ccfcb23 Bump acorn from 8.7.0 to 8.7.1 (#873)
Bumps [acorn](https://github.com/acornjs/acorn) from 8.7.0 to 8.7.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.7.0...8.7.1)

---
updated-dependencies:
- dependency-name: acorn
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:38:37 +02:00
dependabot[bot]
1b1e5c313f Bump ts-auto-mock from 3.5.0 to 3.5.1 (#874)
Bumps [ts-auto-mock](https://github.com/Typescript-TDD/ts-auto-mock) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/Typescript-TDD/ts-auto-mock/releases)
- [Changelog](https://github.com/Typescript-TDD/ts-auto-mock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Typescript-TDD/ts-auto-mock/compare/3.5.0...3.5.1)

---
updated-dependencies:
- dependency-name: ts-auto-mock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:34:35 +02:00
dependabot[bot]
29f98d0d04 Bump https-proxy-agent from 5.0.0 to 5.0.1 (#870)
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/5.0.0...5.0.1)

---
updated-dependencies:
- dependency-name: https-proxy-agent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:25:59 +02:00
dependabot[bot]
55ccd7be5e Bump release-it from 14.12.5 to 14.14.2 (#867)
Bumps [release-it](https://github.com/release-it/release-it) from 14.12.5 to 14.14.2.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.12.5...14.14.2)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:19:01 +02:00
dependabot[bot]
610b2d044a Bump async from 3.2.1 to 3.2.3 (#875)
Bumps [async](https://github.com/caolan/async) from 3.2.1 to 3.2.3.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v3.2.1...v3.2.3)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:15:51 +02:00
dependabot[bot]
74885378da Bump typescript from 4.6.2 to 4.6.3 (#863)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.2 to 4.6.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.2...v4.6.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:14:22 +02:00
dependabot[bot]
a29eab08c8 Bump ts-jest from 27.1.3 to 27.1.4 (#862)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 27.1.3 to 27.1.4.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/v27.1.4/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v27.1.3...v27.1.4)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 11:06:57 +02:00
dependabot[bot]
d301b91dec Bump minimist from 1.2.5 to 1.2.6 (#861)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-04-01 08:26:38 +02:00
dependabot[bot]
25a4e12335 Bump jest-ts-auto-mock from 2.0.0 to 2.1.0 (#857)
Bumps [jest-ts-auto-mock](https://github.com/Typescript-TDD/jest-ts-auto-mock) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/Typescript-TDD/jest-ts-auto-mock/releases)
- [Commits](https://github.com/Typescript-TDD/jest-ts-auto-mock/commits)

---
updated-dependencies:
- dependency-name: jest-ts-auto-mock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 08:26:12 +02:00
dependabot[bot]
66764d762f Bump typescript from 4.5.5 to 4.6.2 (#856)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.5 to 4.6.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.5...v4.6.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 14:40:31 +01:00
dependabot[bot]
5dd32b61a0 Bump @types/jest from 27.4.0 to 27.4.1 (#855)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.4.0 to 27.4.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 08:11:45 +01:00
dependabot[bot]
a37613ee48 Bump release-it from 14.12.4 to 14.12.5 (#854)
Bumps [release-it](https://github.com/release-it/release-it) from 14.12.4 to 14.12.5.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.12.4...14.12.5)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 08:09:32 +01:00
dependabot[bot]
aa4a6c283c Bump jest from 27.5.0 to 27.5.1 (#851)
Bumps [jest](https://github.com/facebook/jest) from 27.5.0 to 27.5.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.5.0...v27.5.1)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-09 08:28:14 +01:00
dependabot[bot]
3c7db932d5 Bump nock from 13.2.3 to 13.2.4 (#848)
Bumps [nock](https://github.com/nock/nock) from 13.2.3 to 13.2.4.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.2.3...v13.2.4)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-02-08 08:18:27 +01:00
dependabot[bot]
a68a494875 Bump jest from 27.4.7 to 27.5.0 (#847)
Bumps [jest](https://github.com/facebook/jest) from 27.4.7 to 27.5.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.4.7...v27.5.0)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2022-02-08 08:18:08 +01:00
Wouter Boereboom
79aec0524d fix maskedPAN (#849)
Changed maskedPAN field name to MaskedPan
2022-02-07 10:01:39 +01:00
dependabot[bot]
35b4d4ddfc Bump nock from 13.2.2 to 13.2.3 (#845)
Bumps [nock](https://github.com/nock/nock) from 13.2.2 to 13.2.3.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.2.2...v13.2.3)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 11:09:23 +01:00
dependabot[bot]
3c425fd918 Bump dotenv from 15.0.0 to 16.0.0 (#844)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 15.0.0 to 16.0.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v15.0.0...v16.0.0)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-03 10:12:23 +01:00
Wouter Boereboom
7df995e632 Merge pull request #843 from Adyen/develop
Release 10.2.0
2022-02-03 10:07:39 +01:00
Wouter Boereboom
0cd8da6dea Merge branch 'main' into develop 2022-02-01 13:44:10 +01:00
wouterboe
dc1f8352d1 update package version to 10.2.0 2022-02-01 13:41:12 +01:00
Wouter Boereboom
df2b42f252 add SaleToPOIResponse as field for terminalApiResponse (#842) 2022-02-01 13:36:48 +01:00
Wouter Boereboom
dd3b4eec1b Fix/recurring detail container (#808)
* introduced container class for RecurringDetail

* added test for recurring container

* Update src/__tests__/recurring.spec.ts

Co-authored-by: Michael Paul <michael@michaelpaul.com.br>

* Update src/typings/recurring/recurringDetailContainer.ts

Co-authored-by: Michael Paul <michael@michaelpaul.com.br>

* Update test

Co-authored-by: Michael Paul <michael@michaelpaul.com.br>
2022-02-01 08:30:47 +01:00
dependabot[bot]
fba3731f48 Bump dotenv from 14.2.0 to 15.0.0 (#841)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 14.2.0 to 15.0.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v14.2.0...v15.0.0)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-01 08:22:25 +01:00
dependabot[bot]
f285a6b079 Bump node-fetch from 2.6.5 to 2.6.7 (#840)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.5 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.5...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-31 13:42:47 +01:00
dependabot[bot]
a7bbdcfd5d Bump release-it from 14.12.3 to 14.12.4 (#835)
Bumps [release-it](https://github.com/release-it/release-it) from 14.12.3 to 14.12.4.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.12.3...14.12.4)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-31 13:41:33 +01:00
dependabot[bot]
c725323592 Bump typescript from 4.5.4 to 4.5.5 (#834)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.4 to 4.5.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.4...v4.5.5)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-21 08:12:50 +01:00
dependabot[bot]
18608d624e Bump dotenv from 14.1.0 to 14.2.0 (#832)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 14.1.0 to 14.2.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v14.1.0...v14.2.0)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 13:07:17 +01:00
dependabot[bot]
8389edec56 Bump dotenv from 10.0.0 to 14.1.0 (#831)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 10.0.0 to 14.1.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v10.0.0...v14.1.0)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-17 08:47:07 +01:00
dependabot[bot]
2c29b5ee23 Bump ts-jest from 27.1.2 to 27.1.3 (#830)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 27.1.2 to 27.1.3.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v27.1.2...v27.1.3)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-17 08:42:34 +01:00
dependabot[bot]
b535b4037a Bump release-it from 14.12.1 to 14.12.3 (#828)
Bumps [release-it](https://github.com/release-it/release-it) from 14.12.1 to 14.12.3.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.12.1...14.12.3)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-17 08:38:13 +01:00
dependabot[bot]
1c844faca1 Bump nock from 13.2.1 to 13.2.2 (#826)
Bumps [nock](https://github.com/nock/nock) from 13.2.1 to 13.2.2.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.2.1...v13.2.2)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-11 08:27:45 +01:00
dependabot[bot]
57890b8921 Bump release-it from 14.11.8 to 14.12.1 (#825)
Bumps [release-it](https://github.com/release-it/release-it) from 14.11.8 to 14.12.1.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.11.8...14.12.1)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-11 08:21:18 +01:00
dependabot[bot]
31eec15b6f Bump jest from 27.4.6 to 27.4.7 (#824)
Bumps [jest](https://github.com/facebook/jest) from 27.4.6 to 27.4.7.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.4.6...v27.4.7)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-06 08:10:23 +01:00
dependabot[bot]
63e9db934c Bump jest from 27.4.5 to 27.4.6 (#823)
Bumps [jest](https://github.com/facebook/jest) from 27.4.5 to 27.4.6.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.4.5...v27.4.6)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-05 08:12:47 +01:00
dependabot[bot]
bf1b43dc10 Bump acorn from 8.6.0 to 8.7.0 (#821)
Bumps [acorn](https://github.com/acornjs/acorn) from 8.6.0 to 8.7.0.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.6.0...8.7.0)

---
updated-dependencies:
- dependency-name: acorn
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-31 08:21:46 +01:00
dependabot[bot]
2d4b7bad90 Bump @types/jest from 27.0.3 to 27.4.0 (#822)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.0.3 to 27.4.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-31 08:19:06 +01:00
dependabot[bot]
c4eabd0f12 Bump ts-jest from 27.1.1 to 27.1.2 (#820)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 27.1.1 to 27.1.2.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v27.1.1...v27.1.2)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-12-20 07:58:46 +01:00
dependabot[bot]
89eb4dc9c4 Bump jest from 27.4.4 to 27.4.5 (#819)
Bumps [jest](https://github.com/facebook/jest) from 27.4.4 to 27.4.5.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.4.4...v27.4.5)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-20 07:58:17 +01:00
dependabot[bot]
14839a0cf0 Bump typescript from 4.5.3 to 4.5.4 (#818)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.3 to 4.5.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.3...v4.5.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-14 07:56:18 +01:00
dependabot[bot]
dec39db6f9 Bump jest from 27.4.3 to 27.4.4 (#817)
Bumps [jest](https://github.com/facebook/jest) from 27.4.3 to 27.4.4.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.4.3...v27.4.4)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 08:09:24 +01:00
dependabot[bot]
7ad73abab1 Bump typescript from 4.5.2 to 4.5.3 (#816)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-10 07:30:54 +01:00
dependabot[bot]
e17a22db15 Bump ts-jest from 27.1.0 to 27.1.1 (#815)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 27.1.0 to 27.1.1.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v27.1.0...v27.1.1)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-09 07:47:50 +01:00
dependabot[bot]
89a613ada7 Bump ts-jest from 27.0.7 to 27.1.0 (#814)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 27.0.7 to 27.1.0.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v27.0.7...v27.1.0)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-06 08:15:46 +01:00
Ángel Campos
bb294b9bfd Renaming master to main in README.md (#810)
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-12-02 08:49:04 +01:00
dependabot[bot]
f2bcb49e79 Bump jest from 27.4.0 to 27.4.3 (#813)
Bumps [jest](https://github.com/facebook/jest) from 27.4.0 to 27.4.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.4.0...v27.4.3)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-02 08:41:46 +01:00
dependabot[bot]
aeb40ff24c Bump jest from 27.3.1 to 27.4.0 (#811)
Bumps [jest](https://github.com/facebook/jest) from 27.3.1 to 27.4.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.3.1...v27.4.0)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 07:58:15 +01:00
Wouter Boereboom
a43dd78955 Update CODEOWNERS (#809)
added @michaelpaul  to codeowners
2021-11-29 08:37:04 +01:00
dependabot[bot]
bc9a87fccd Bump ttypescript from 1.5.12 to 1.5.13 (#807)
Bumps [ttypescript](https://github.com/cevek/ttypescript) from 1.5.12 to 1.5.13.
- [Release notes](https://github.com/cevek/ttypescript/releases)
- [Commits](https://github.com/cevek/ttypescript/commits)

---
updated-dependencies:
- dependency-name: ttypescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-26 07:59:20 +01:00
dependabot[bot]
41ad8f5ecc Bump release-it from 14.11.7 to 14.11.8 (#806)
Bumps [release-it](https://github.com/release-it/release-it) from 14.11.7 to 14.11.8.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.11.7...14.11.8)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 08:21:26 +01:00
dependabot[bot]
10c3ae21dd Bump nock from 13.2.0 to 13.2.1 (#801)
Bumps [nock](https://github.com/nock/nock) from 13.2.0 to 13.2.1.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.2.0...v13.2.1)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 09:20:55 +01:00
dependabot[bot]
a5acf3dfc5 Bump release-it from 14.11.6 to 14.11.7 (#802)
Bumps [release-it](https://github.com/release-it/release-it) from 14.11.6 to 14.11.7.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.11.6...14.11.7)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-11-19 07:58:29 +01:00
dependabot[bot]
d900d83063 Bump typescript from 4.4.4 to 4.5.2 (#803)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.5.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.4...v4.5.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-11-19 07:58:09 +01:00
dependabot[bot]
a43e4d16fd Bump @types/jest from 27.0.2 to 27.0.3 (#804)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.0.2 to 27.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-11-19 07:57:52 +01:00
dependabot[bot]
93ee32094d Bump acorn from 8.5.0 to 8.6.0 (#805)
Bumps [acorn](https://github.com/acornjs/acorn) from 8.5.0 to 8.6.0.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.5.0...8.6.0)

---
updated-dependencies:
- dependency-name: acorn
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 07:57:29 +01:00
Wouter Boereboom
1b697c993e Merge pull request #800 from Adyen/develop
Release 10.1.0
2021-11-10 08:08:39 +01:00
Wouter Boereboom
829ecbdbf8 Merge branch 'master' into develop 2021-11-09 10:16:24 +01:00
Wouter Boereboom
a857cde90c bumped to version 10.1.0 (#799) 2021-11-09 10:15:17 +01:00
dependabot[bot]
ee68e81587 Bump @typescript-eslint/eslint-plugin from 4.31.2 to 4.33.0 (#797)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.31.2 to 4.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 08:02:05 +01:00
dependabot[bot]
af6b48fa44 Bump @typescript-eslint/parser from 4.31.2 to 4.33.0 (#798)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.2 to 4.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 07:59:27 +01:00
dependabot[bot]
aa75019671 Bump nock from 13.1.4 to 13.2.0 (#796)
Bumps [nock](https://github.com/nock/nock) from 13.1.4 to 13.2.0.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.1.4...v13.2.0)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-11-08 08:06:12 +01:00
Wouter Boereboom
f7d158b7e1 updated platforms notification types (#795)
* updated platforms notification types

* fixed bug in generated types

* fixed bug in businessDetails listedUltimateParentCompany array
2021-11-08 08:05:44 +01:00
Bas Maassen
26fcf54030 Merge pull request #794 from Adyen/develop
Release 10.0.0
2021-10-28 13:23:04 +02:00
Wouter Boereboom
1b0a89cf68 Merge branch 'master' into develop 2021-10-21 15:01:32 +02:00
Wouter Boereboom
8691fc9bdf Merge pull request #793 from Adyen/fix_merge_conflicts
fix merge conflicts with master
2021-10-21 14:54:11 +02:00
Wouter Boereboom
dd35012405 fix merge conflicts with master 2021-10-21 12:53:04 +00:00
Bas Maassen
c710018feb Bumped the versions (#792) 2021-10-21 14:44:27 +02:00
Sergio Bergamini
932b5e6659 Fix #787 (https://github.com/Adyen/adyen-node-api-library/issues/787) (#788) 2021-10-21 12:08:43 +02:00
Bas Maassen
cea53fbc7c PW 5483 Checkout Sessions and Donations(#789)
* added sessions and donations endpoint
* Added test and mock
2021-10-20 11:29:38 +02:00
dependabot[bot]
7809c5b3d5 Bump jest from 27.3.0 to 27.3.1 (#790)
Bumps [jest](https://github.com/facebook/jest) from 27.3.0 to 27.3.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.3.0...v27.3.1)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-20 09:55:56 +02:00
dependabot[bot]
d9e5046320 Bump nock from 13.1.3 to 13.1.4 (#791)
Bumps [nock](https://github.com/nock/nock) from 13.1.3 to 13.1.4.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.1.3...v13.1.4)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-20 09:40:46 +02:00
dependabot[bot]
1b0995b75a Bump ts-jest from 27.0.5 to 27.0.7 (#786)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 27.0.5 to 27.0.7.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v27.0.5...v27.0.7)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-18 08:35:59 +02:00
dependabot[bot]
3d0ad7922c Bump jest from 27.2.5 to 27.3.0 (#785)
Bumps [jest](https://github.com/facebook/jest) from 27.2.5 to 27.3.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.2.5...v27.3.0)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-18 08:17:28 +02:00
dependabot[bot]
c2ea07f5a7 Bump typescript from 4.4.3 to 4.4.4 (#782)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.3 to 4.4.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.3...v4.4.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-14 08:37:26 +02:00
dependabot[bot]
24050833e0 Bump jest from 27.2.4 to 27.2.5 (#781)
Bumps [jest](https://github.com/facebook/jest) from 27.2.4 to 27.2.5.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.2.4...v27.2.5)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 07:50:05 +02:00
dependabot[bot]
0f5be9dc1a Bump @typescript-eslint/parser from 4.32.0 to 4.33.0 (#780)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.32.0 to 4.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 08:09:05 +02:00
dependabot[bot]
482a3c09d6 Bump @typescript-eslint/eslint-plugin from 4.32.0 to 4.33.0 (#779)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.32.0 to 4.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 08:05:49 +02:00
dependabot[bot]
f660e40545 Bump @typescript-eslint/eslint-plugin from 4.31.2 to 4.32.0 (#776)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.31.2 to 4.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.32.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-30 14:23:49 +02:00
dependabot[bot]
c04567a9f8 Bump jest from 27.2.2 to 27.2.4 (#778)
Bumps [jest](https://github.com/facebook/jest) from 27.2.2 to 27.2.4.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.2.2...v27.2.4)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-09-30 07:55:26 +02:00
dependabot[bot]
7fce7e7d65 Bump @typescript-eslint/parser from 4.31.2 to 4.32.0 (#775)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.2 to 4.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.32.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-30 07:54:47 +02:00
Wouter Boereboom
7b72a28dea Release version 9.1.0 (#772)
Release v9.1.0
2021-09-28 07:54:40 +02:00
Wouter Boereboom
87ffe8f7bc Merge pull request #774 from Adyen/fix/release
Fix/release
2021-09-27 15:34:50 +02:00
Wouter Boereboom
873faa548b Merge branch 'develop' into fix/release 2021-09-27 15:32:18 +02:00
Wouter Boereboom
1f37bc34d2 merge master back into develop 2021-09-27 15:30:52 +02:00
Wouter Boereboom
12067aa15a Merge pull request #773 from Adyen/fix/release
fixed merge conflicts with master
2021-09-27 15:24:20 +02:00
Wouter Boereboom
c88e2a8515 fixed merge conflicts with master 2021-09-27 15:20:48 +02:00
Wouter Boereboom
ec673c5608 Fixed version in package.json 2021-09-27 14:57:47 +02:00
Wouter Boereboom
751a71cc09 bumped version for release, last typo catch (#771) 2021-09-27 14:54:54 +02:00
Wouter Boereboom
e4de89f4bc Pw 5326/update notification models (#751)
* updated notification types & fixed eslint updates

* updated lockfile
2021-09-27 14:36:28 +02:00
Wouter Boereboom
9d464a83d6 added type exports to root file (#755)
* added type exports to root file

* added type exports to root file

* changed structure of typing imports thus fixing linting errors

* removed hard-coded merchant account to fix checkout tests
2021-09-27 14:22:44 +02:00
Wouter Boereboom
eee36893a9 Fix/local terminal api bug (#769)
* removed hard-coded merchant account to fix checkout tests

* fixed case mismatch on saleToPOIRequest serialization

* fix unit tests due to org secret changes
2021-09-27 14:13:24 +02:00
dependabot[bot]
5f5892b6a0 Bump jest from 27.2.1 to 27.2.2 (#770)
Bumps [jest](https://github.com/facebook/jest) from 27.2.1 to 27.2.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.2.1...v27.2.2)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 08:02:52 +02:00
dependabot[bot]
b24e0ffd0b Bump @typescript-eslint/eslint-plugin from 4.31.0 to 4.31.2 (#764)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.31.0 to 4.31.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 09:36:53 +02:00
dependabot[bot]
e89583b2d3 Bump jest from 27.1.1 to 27.2.1 (#765)
Bumps [jest](https://github.com/facebook/jest) from 27.1.1 to 27.2.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.1.1...v27.2.1)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 09:09:33 +02:00
dependabot[bot]
4c346e291c Bump tmpl from 1.0.4 to 1.0.5 (#767)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-09-23 09:00:38 +02:00
dependabot[bot]
767c209212 Bump release-it from 14.11.5 to 14.11.6 (#768)
Bumps [release-it](https://github.com/release-it/release-it) from 14.11.5 to 14.11.6.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.11.5...14.11.6)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-09-23 09:00:17 +02:00
dependabot[bot]
6645a508e1 Bump @typescript-eslint/parser from 4.31.0 to 4.31.2 (#766)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.0 to 4.31.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-09-23 08:59:51 +02:00
dependabot[bot]
7d69afd91b Bump @types/jest from 27.0.1 to 27.0.2 (#763)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.0.1 to 27.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-09-23 08:58:57 +02:00
dependabot[bot]
a536c09784 Bump ts-auto-mock from 3.4.0 to 3.5.0 (#757)
Bumps [ts-auto-mock](https://github.com/Typescript-TDD/ts-auto-mock) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/Typescript-TDD/ts-auto-mock/releases)
- [Changelog](https://github.com/Typescript-TDD/ts-auto-mock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Typescript-TDD/ts-auto-mock/compare/3.4.0...3.5.0)

---
updated-dependencies:
- dependency-name: ts-auto-mock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-09-23 08:58:22 +02:00
dependabot[bot]
1aa67b715e Bump typescript from 4.4.2 to 4.4.3 (#756)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.2...v4.4.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 08:55:55 +02:00
dependabot[bot]
d421fc586e Bump typescript from 4.3.5 to 4.4.2 (#742)
* Bump typescript from 4.3.5 to 4.4.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump typescript from 4.3.5 to 4.4.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix types for updated version of typescript

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <wouter.boereboom@adyen.com>
2021-09-10 08:10:56 +02:00
dependabot[bot]
1954248804 Bump @typescript-eslint/parser from 4.30.0 to 4.31.0 (#750)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.30.0 to 4.31.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 07:57:54 +02:00
dependabot[bot]
cd1d460b95 Bump jest from 27.1.0 to 27.1.1 (#753)
Bumps [jest](https://github.com/facebook/jest) from 27.1.0 to 27.1.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.1.0...v27.1.1)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-09 07:53:36 +02:00
dependabot[bot]
306156af83 Bump @typescript-eslint/eslint-plugin from 4.30.0 to 4.31.0 (#749)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.30.0 to 4.31.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-09-07 07:52:39 +02:00
dependabot[bot]
648e4bb055 Bump acorn from 8.4.1 to 8.5.0 (#748)
Bumps [acorn](https://github.com/acornjs/acorn) from 8.4.1 to 8.5.0.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.4.1...8.5.0)

---
updated-dependencies:
- dependency-name: acorn
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-07 07:52:03 +02:00
dependabot[bot]
091c237d06 Bump ts-auto-mock from 3.3.6 to 3.4.0 (#747)
Bumps [ts-auto-mock](https://github.com/Typescript-TDD/ts-auto-mock) from 3.3.6 to 3.4.0.
- [Release notes](https://github.com/Typescript-TDD/ts-auto-mock/releases)
- [Changelog](https://github.com/Typescript-TDD/ts-auto-mock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Typescript-TDD/ts-auto-mock/compare/3.3.6...3.4.0)

---
updated-dependencies:
- dependency-name: ts-auto-mock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-03 16:59:31 +02:00
dependabot[bot]
a40925de1c Bump @typescript-eslint/eslint-plugin from 4.29.3 to 4.30.0 (#746)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.3 to 4.30.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.30.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-31 08:07:20 +02:00
dependabot[bot]
1ae41e1e02 Bump @typescript-eslint/parser from 4.29.3 to 4.30.0 (#745)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.29.3 to 4.30.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.30.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-31 07:59:48 +02:00
dependabot[bot]
b94647b060 Bump jest from 27.0.6 to 27.1.0 (#744)
Bumps [jest](https://github.com/facebook/jest) from 27.0.6 to 27.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.0.6...v27.1.0)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-30 08:43:51 +02:00
dependabot[bot]
14570afa70 Bump ts-auto-mock from 3.3.5 to 3.3.6 (#743)
Bumps [ts-auto-mock](https://github.com/Typescript-TDD/ts-auto-mock) from 3.3.5 to 3.3.6.
- [Release notes](https://github.com/Typescript-TDD/ts-auto-mock/releases)
- [Changelog](https://github.com/Typescript-TDD/ts-auto-mock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Typescript-TDD/ts-auto-mock/compare/3.3.5...3.3.6)

---
updated-dependencies:
- dependency-name: ts-auto-mock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-30 08:28:31 +02:00
dependabot[bot]
a2195b0384 Bump nock from 13.1.2 to 13.1.3 (#741)
Bumps [nock](https://github.com/nock/nock) from 13.1.2 to 13.1.3.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.1.2...v13.1.3)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-26 07:52:12 +02:00
dependabot[bot]
30ddae4cee Bump @typescript-eslint/eslint-plugin from 4.29.2 to 4.29.3 (#738)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.2 to 4.29.3.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.3/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-24 08:48:02 +02:00
dependabot[bot]
e398942fbf Bump eslint from 6.8.0 to 7.32.0 (#737)
Bumps [eslint](https://github.com/eslint/eslint) from 6.8.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.8.0...v7.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-08-24 07:47:47 +02:00
dependabot[bot]
4e24fd0de9 Bump @typescript-eslint/parser from 4.29.2 to 4.29.3 (#739)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.29.2 to 4.29.3.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.3/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-24 07:46:58 +02:00
Wouter Boereboom
f533ef9e28 update package.json (#736)
* update package.json

* fix linting
2021-08-23 09:38:07 +02:00
dependabot[bot]
a26d599503 Bump typescript and ts-auto-mock (#733)
Bumps [typescript](https://github.com/Microsoft/TypeScript) and [ts-auto-mock](https://github.com/Typescript-TDD/ts-auto-mock). These dependencies needed to be updated together.

Updates `typescript` from 3.9.10 to 4.3.5
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.10...v4.3.5)

Updates `ts-auto-mock` from 2.7.0 to 3.3.5
- [Release notes](https://github.com/Typescript-TDD/ts-auto-mock/releases)
- [Changelog](https://github.com/Typescript-TDD/ts-auto-mock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Typescript-TDD/ts-auto-mock/compare/2.7.0...3.3.5)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: ts-auto-mock
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-08-23 07:47:41 +02:00
dependabot[bot]
e19c944644 Bump ts-jest from 27.0.4 to 27.0.5 (#734)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 27.0.4 to 27.0.5.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v27.0.4...v27.0.5)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-08-23 07:45:02 +02:00
dependabot[bot]
e7cd862d0d Bump nock from 13.1.1 to 13.1.2 (#735)
Bumps [nock](https://github.com/nock/nock) from 13.1.1 to 13.1.2.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.1.1...v13.1.2)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 07:44:31 +02:00
Wouter Boereboom
7d562d6ecf updated jest (#732)
* updated jest

* removed yarn from dependencies

* removed package-lock file in favor of yarn.lock

* fixed bug caught by jest upgrade
2021-08-20 11:50:30 +02:00
dependabot[bot]
1d084469ce Bump release-it from 14.11.3 to 14.11.5 (#731)
Bumps [release-it](https://github.com/release-it/release-it) from 14.11.3 to 14.11.5.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.11.3...14.11.5)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-16 07:38:22 +02:00
dependabot[bot]
294e1e2e74 Bump @types/jest from 27.0.0 to 27.0.1 (#730)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.0.0 to 27.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-13 07:42:02 +02:00
dependabot[bot]
99a525a97a Bump path-parse from 1.0.6 to 1.0.7 (#729)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 07:53:39 +02:00
dependabot[bot]
89e0d37108 Bump @types/jest from 26.0.24 to 27.0.0 (#728)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.24 to 27.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 07:51:14 +02:00
dependabot[bot]
3b3f68604c Bump release-it from 14.11.0 to 14.11.3 (#727)
Bumps [release-it](https://github.com/release-it/release-it) from 14.11.0 to 14.11.3.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.11.0...14.11.3)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-10 07:49:37 +02:00
dependabot[bot]
04a6260f97 Bump release-it from 14.10.1 to 14.11.0 (#726)
Bumps [release-it](https://github.com/release-it/release-it) from 14.10.1 to 14.11.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.10.1...14.11.0)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-09 07:53:28 +02:00
Wouter Boereboom
1d5afb8ab6 Update package.json
Bump version
2021-08-04 17:53:31 +02:00
Wouter Boereboom
bcd0724873 Release v9.0.0 (#724)
- Regenerate Terminal Cloud Types
- Updated Modifications service to use the checkout modification endpoints in favor of the classic integration modification endpoints.
2021-08-04 17:41:13 +02:00
Wouter Boereboom
9d3f345b57 Merge branch 'master' into develop 2021-08-02 17:01:18 +02:00
Wouter Boereboom
4f3a84c63e Merge pull request #720 from Adyen/PW-5161/update_terminal_api
Pw 5161/update terminal api
2021-08-02 16:50:15 +02:00
Wouter Boereboom
b0f21188a0 Merge branch 'develop' into PW-5161/update_terminal_api 2021-08-02 16:45:40 +02:00
Wouter Boereboom
ef94f38cc7 Merge pull request #722 from Adyen/PW-5177/update_modifications_api
Pw 5177/update modifications api
2021-08-02 16:44:24 +02:00
Wouter Boereboom
2c34316e04 added file headers to all typings files 2021-07-30 17:00:37 +02:00
Wouter Boereboom
d36b1d2d14 Merge branch 'PW-5161/update_terminal_api' of github.com:Adyen/adyen-node-api-library into PW-5161/update_terminal_api 2021-07-30 16:53:53 +02:00
Wouter Boereboom
437ad21add reintroduced + updated file headers 2021-07-30 16:53:30 +02:00
Wouter Boereboom
d2922e4e22 Merge branch 'develop' into PW-5161/update_terminal_api 2021-07-28 15:54:25 +02:00
Wouter Boereboom
e71dc9e033 Merge branch 'develop' into PW-5177/update_modifications_api 2021-07-27 08:49:24 +02:00
Wouter Boereboom
48fafea931 unit test fixes 2021-07-26 16:26:16 +02:00
Wouter Boereboom
a850d88462 removed applicationInfo from modification requests + updated isCI parameter for modification tests 2021-07-26 16:18:03 +02:00
Wouter Boereboom
9521f2093c regenerated Checkout Models + implemented updated modifications API in favor of classic integration 2021-07-26 15:55:35 +02:00
Wouter Boereboom
cef63a9e95 Merge pull request #721 from Adyen/dependabot/npm_and_yarn/release-it-14.10.1
Bump release-it from 14.10.0 to 14.10.1
2021-07-26 07:41:33 +02:00
dependabot[bot]
8143e0fec6 Bump release-it from 14.10.0 to 14.10.1
Bumps [release-it](https://github.com/release-it/release-it) from 14.10.0 to 14.10.1.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.10.0...14.10.1)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 04:03:46 +00:00
Wouter Boereboom
0ebdaa6a49 Merge branch 'PW-4977/regenerate_platforms_account_types' into develop 2021-07-21 14:02:35 +02:00
Wouter Boereboom
a21f14e143 updated terminal api types. fixed capitalization in service classes 2021-07-21 14:01:10 +02:00
Wouter Boereboom
b55d576e82 Merge pull request #718 from Adyen/dependabot/npm_and_yarn/types/jest-26.0.24
Bump @types/jest from 26.0.23 to 26.0.24
2021-07-07 07:45:13 +02:00
dependabot[bot]
b168f928bb Bump @types/jest from 26.0.23 to 26.0.24
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.23 to 26.0.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 04:02:54 +00:00
Wouter Boereboom
74966689d9 Merge pull request #717 from Adyen/dependabot/npm_and_yarn/nock-13.1.1
Bump nock from 13.1.0 to 13.1.1
2021-07-05 07:47:40 +02:00
dependabot[bot]
b287026a3c Bump nock from 13.1.0 to 13.1.1
Bumps [nock](https://github.com/nock/nock) from 13.1.0 to 13.1.1.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.1.0...v13.1.1)

---
updated-dependencies:
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 04:05:29 +00:00
Wouter Boereboom
6e14b3068c Merge pull request #716 from Adyen/dependabot/npm_and_yarn/coveralls-3.1.1
Bump coveralls from 3.1.0 to 3.1.1
2021-06-29 07:46:47 +02:00
dependabot[bot]
1227acadc0 Bump coveralls from 3.1.0 to 3.1.1
Bumps [coveralls](https://github.com/nickmerwin/node-coveralls) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/nickmerwin/node-coveralls/releases)
- [Commits](https://github.com/nickmerwin/node-coveralls/compare/v3.1.0...3.1.1)

---
updated-dependencies:
- dependency-name: coveralls
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-29 04:04:53 +00:00
Wouter Boereboom
bc441b3158 Merge pull request #714 from Adyen/develop
Release v8.2.0
2021-06-25 13:39:00 +02:00
Wouter Boereboom
37951acdca Merge branch 'master' into develop 2021-06-25 11:55:16 +02:00
Wouter Boereboom
c43335c06a Merge pull request #715 from Adyen/dependabot/npm_and_yarn/acorn-8.4.1
Bump acorn from 8.4.0 to 8.4.1
2021-06-25 07:55:54 +02:00
dependabot[bot]
01ff16c725 Bump acorn from 8.4.0 to 8.4.1
Bumps [acorn](https://github.com/acornjs/acorn) from 8.4.0 to 8.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.4.0...8.4.1)

---
updated-dependencies:
- dependency-name: acorn
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-25 04:04:12 +00:00
Wouter Boereboom
a18bb1aff9 Merge pull request #713 from Adyen/dependabot/npm_and_yarn/color-string-1.5.5
Bump color-string from 1.5.3 to 1.5.5
2021-06-24 07:52:57 +02:00
dependabot[bot]
572a66ede6 Bump color-string from 1.5.3 to 1.5.5
Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.3 to 1.5.5.
- [Release notes](https://github.com/Qix-/color-string/releases)
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Qix-/color-string/commits/1.5.5)

---
updated-dependencies:
- dependency-name: color-string
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-24 05:51:45 +00:00
Wouter Boereboom
e4b8084351 Bump version for release 2021-06-24 07:51:00 +02:00
Wouter Boereboom
662e6b66bd Merge pull request #712 from Adyen/PW-4977/regenerate_platforms_account_types
updated platformAccounts API types
2021-06-23 12:11:41 +02:00
Attila Kiss
c82ea29d48 Merge branch 'develop' into PW-4977/regenerate_platforms_account_types 2021-06-21 10:01:19 +02:00
dependabot[bot]
96a319f2dd Bump typescript from 3.9.9 to 3.9.10 (#710)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.9 to 3.9.10.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.9...v3.9.10)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com>
2021-06-21 10:01:07 +02:00
dependabot[bot]
b509a7abbb Bump release-it from 14.9.0 to 14.10.0 (#711)
Bumps [release-it](https://github.com/release-it/release-it) from 14.9.0 to 14.10.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.9.0...14.10.0)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-21 09:56:15 +02:00
wouterboe
4882931b1f updated platformAccounts API types 2021-06-21 08:54:25 +02:00
Wouter Boereboom
0c856c7e2e Merge pull request #707 from Adyen/dependabot/npm_and_yarn/glob-parent-5.1.2
Bump glob-parent from 5.1.1 to 5.1.2
2021-06-15 15:38:06 +02:00
Wouter Boereboom
5e3648a588 Merge branch 'develop' into dependabot/npm_and_yarn/glob-parent-5.1.2 2021-06-15 15:36:07 +02:00
Wouter Boereboom
28e73ec578 Merge pull request #708 from Adyen/dependabot/npm_and_yarn/release-it-14.9.0
Bump release-it from 14.7.0 to 14.9.0
2021-06-15 15:35:54 +02:00
dependabot[bot]
b907389641 Bump glob-parent from 5.1.1 to 5.1.2
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 13:34:02 +00:00
Wouter Boereboom
6e147a6319 Merge branch 'develop' into dependabot/npm_and_yarn/release-it-14.9.0 2021-06-15 15:33:18 +02:00
Wouter Boereboom
0dc23ad151 Merge pull request #709 from Adyen/dependabot/npm_and_yarn/acorn-8.4.0
Bump acorn from 8.3.0 to 8.4.0
2021-06-15 15:32:57 +02:00
dependabot[bot]
99453af227 Bump acorn from 8.3.0 to 8.4.0
Bumps [acorn](https://github.com/acornjs/acorn) from 8.3.0 to 8.4.0.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.3.0...8.4.0)

---
updated-dependencies:
- dependency-name: acorn
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 04:05:27 +00:00
dependabot[bot]
7fe303e5f1 Bump release-it from 14.7.0 to 14.9.0
Bumps [release-it](https://github.com/release-it/release-it) from 14.7.0 to 14.9.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.7.0...14.9.0)

---
updated-dependencies:
- dependency-name: release-it
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 04:04:46 +00:00
Wouter Boereboom
f5f220bfb9 Merge pull request #705 from Adyen/develop
Release 8.1.1
2021-06-04 16:31:00 +02:00
Wouter Boereboom
2656571798 Merge branch 'master' into develop 2021-06-04 16:14:44 +02:00
Wouter Boereboom
06e82d3ea2 Bump version for release 2021-06-04 16:01:43 +02:00
Wouter Boereboom
8e2591e8b4 Merge pull request #704 from Adyen/PW-4817/update_terminalApi
updated saleToAcquirerData type
2021-06-04 16:00:57 +02:00
Wouter Boereboom
bd2efdc25f Merge branch 'develop' into PW-4817/update_terminalApi 2021-06-04 15:58:38 +02:00
Wouter Boereboom
7271586f83 Merge pull request #702 from Adyen/dependabot/npm_and_yarn/acorn-8.3.0
Bump acorn from 8.2.4 to 8.3.0
2021-06-04 15:58:27 +02:00
Wouter Boereboom
3b7473089c Merge branch 'develop' into dependabot/npm_and_yarn/acorn-8.3.0 2021-06-04 15:54:06 +02:00
Wouter Boereboom
6dfb8c4608 Merge pull request #701 from Adyen/dependabot/npm_and_yarn/nock-13.1.0
Bump nock from 13.0.11 to 13.1.0
2021-06-04 15:53:55 +02:00
wouterboe
1d1b139170 updated saleToAcquirerData type and added metadata fields to mock object to confirm they can be added 2021-06-03 17:07:03 +02:00
dependabot[bot]
85844dca28 Bump acorn from 8.2.4 to 8.3.0
Bumps [acorn](https://github.com/acornjs/acorn) from 8.2.4 to 8.3.0.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.2.4...8.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-01 04:04:35 +00:00
dependabot[bot]
4ae97882eb Bump nock from 13.0.11 to 13.1.0
Bumps [nock](https://github.com/nock/nock) from 13.0.11 to 13.1.0.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.0.11...v13.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-01 04:04:00 +00:00
Wouter Boereboom
a426257011 Merge pull request #699 from samcottle/readme-update
Changed PHP > NodeJS in readme.md
2021-05-31 09:35:43 +02:00
Wouter Boereboom
115e156039 Merge branch 'develop' into readme-update 2021-05-31 09:34:15 +02:00
Wouter Boereboom
f9c140e5ad Merge pull request #700 from Adyen/dependabot/npm_and_yarn/ws-7.4.6
Bump ws from 7.3.1 to 7.4.6
2021-05-31 09:33:59 +02:00
dependabot[bot]
348747c5cf Bump ws from 7.3.1 to 7.4.6
Bumps [ws](https://github.com/websockets/ws) from 7.3.1 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.3.1...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-30 18:36:48 +00:00
Sam Cottle
6a235ea765 Changed PHP > NodeJS in readme.md 2021-05-29 11:28:21 +02:00
Wouter Boereboom
7879c61e20 Merge pull request #695 from dmfilipenko/patch-1
Exclude .github from npm package
2021-05-28 10:33:44 +02:00
Wouter Boereboom
fdb6c9a9d5 Merge branch 'develop' into patch-1 2021-05-28 10:20:26 +02:00
Wouter Boereboom
64168e81f3 Merge pull request #697 from Adyen/dependabot/npm_and_yarn/dotenv-10.0.0
Bump dotenv from 9.0.2 to 10.0.0
2021-05-28 10:20:07 +02:00
Attila Kiss
9df9d65ede Merge branch 'develop' into dependabot/npm_and_yarn/dotenv-10.0.0 2021-05-28 09:43:10 +02:00
dependabot[bot]
ceb2a7024f Bump release-it from 14.6.2 to 14.7.0 (#698)
Bumps [release-it](https://github.com/release-it/release-it) from 14.6.2 to 14.7.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.6.2...14.7.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Boereboom <62436079+wboereboom@users.noreply.github.com>
2021-05-28 09:42:48 +02:00
Wouter Boereboom
4fc117b83b Merge branch 'develop' into dependabot/npm_and_yarn/dotenv-10.0.0 2021-05-26 14:29:22 +02:00
Wouter Boereboom
1a9b686f92 Merge pull request #696 from Adyen/msilvagarcia-patch-1
My people need me
2021-05-26 14:29:01 +02:00
dependabot[bot]
7d0accca2d Bump dotenv from 9.0.2 to 10.0.0
Bumps [dotenv](https://github.com/motdotla/dotenv) from 9.0.2 to 10.0.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v9.0.2...v10.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 04:06:00 +00:00
Marcos Garcia
33e02dda69 My people need me
👾
2021-05-21 13:43:50 +02:00
Dmytro Filipenko
ef5ac43290 Exclude .github from npm package 2021-05-20 17:24:33 +08:00
dependabot[bot]
c9ab19fa02 Bump dotenv from 9.0.0 to 9.0.2 (#693)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 9.0.0 to 9.0.2.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v9.0.0...v9.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 10:18:36 +02:00
Wouter Boereboom
5af7223368 Merge pull request #690 from Adyen/dependabot/npm_and_yarn/dotenv-9.0.1
Bump dotenv from 9.0.0 to 9.0.1
2021-05-11 17:10:03 +02:00
Wouter Boereboom
ef25f08907 Merge branch 'develop' into dependabot/npm_and_yarn/dotenv-9.0.1 2021-05-11 17:08:01 +02:00
Wouter Boereboom
38664eb805 Merge pull request #692 from Adyen/dependabot/npm_and_yarn/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9
2021-05-11 17:07:38 +02:00
Wouter Boereboom
1bccc3669a Merge branch 'develop' into dependabot/npm_and_yarn/hosted-git-info-2.8.9 2021-05-11 17:04:32 +02:00
Wouter Boereboom
6fa60b78a3 Merge pull request #685 from Adyen/pw-4640/modification_service_tests
Pw 4640/modification service tests
2021-05-11 17:03:36 +02:00
Wouter Boereboom
6ccee7a97c Merge branch 'develop' into pw-4640/modification_service_tests 2021-05-10 16:56:21 +02:00
dependabot[bot]
d914354d2b Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 14:56:15 +00:00
Wouter Boereboom
f5191e1ca0 Merge branch 'develop' into dependabot/npm_and_yarn/dotenv-9.0.1 2021-05-10 16:55:29 +02:00
Wouter Boereboom
78c2762639 Merge pull request #688 from Adyen/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21
2021-05-10 16:55:10 +02:00
dependabot[bot]
4711ca629a Bump dotenv from 9.0.0 to 9.0.1
Bumps [dotenv](https://github.com/motdotla/dotenv) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 11:45:03 +00:00
Wouter Boereboom
3cde27162d Merge branch 'develop' into dependabot/npm_and_yarn/lodash-4.17.21 2021-05-10 13:30:24 +02:00
dependabot[bot]
34da0e2344 Bump release-it from 14.6.1 to 14.6.2 (#691)
Bumps [release-it](https://github.com/release-it/release-it) from 14.6.1 to 14.6.2.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.6.1...14.6.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 12:01:37 +02:00
Wouter Boereboom
d51209559d Merge branch 'develop' into pw-4640/modification_service_tests 2021-05-10 08:50:46 +02:00
wouterboe
5ed145542a added unhappy flow tests to modification service spec 2021-05-10 08:49:45 +02:00
Wouter Boereboom
a2b4465f66 Merge pull request #689 from Adyen/develop
Release 8.1.0
2021-05-10 07:59:04 +02:00
Wouter Boereboom
b226ea13bb Merge branch 'master' into develop 2021-05-07 15:01:09 +02:00
dependabot[bot]
fb5bca50ff Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 12:57:41 +00:00
Wouter Boereboom
40e1ae5708 Version bump for release 2021-05-07 14:55:21 +02:00
Wouter Boereboom
e3e95a0449 Merge pull request #684 from Adyen/dependabot/npm_and_yarn/dotenv-9.0.0
Bump dotenv from 8.4.0 to 9.0.0
2021-05-07 14:46:26 +02:00
Wouter Boereboom
72348de349 Merge branch 'develop' into dependabot/npm_and_yarn/dotenv-9.0.0 2021-05-07 14:35:50 +02:00
Wouter Boereboom
83eb23be6e Merge pull request #683 from Adyen/pw-4466/notifyShopper_endpoint
added notifyShopper endpoint to recurring API service
2021-05-07 14:35:34 +02:00
Wouter Boereboom
348077d331 Merge branch 'develop' into pw-4466/notifyShopper_endpoint 2021-05-07 14:11:48 +02:00
Wouter Boereboom
cad082a28e Merge pull request #686 from Adyen/pw-4625/nexocrypto_special_characters
Pw 4625/nexocrypto special characters
2021-05-07 14:11:16 +02:00
wouterboe
96f4875a60 Revert "implemented tests for print receipt request with special characters"
This reverts commit 6b17d1e8cb.
2021-05-06 17:09:07 +02:00
Wouter Boereboom
744a6b3326 Merge pull request #657 from LukeNorris/pos-encoding
Changed encoding from 'ascii' to 'utf-8' to accommodate German special cha…
2021-05-06 16:37:01 +02:00
wouterboe
58734d04a0 Merge branch 'pw-4625/nexocrypto_special_characters' of github.com:Adyen/adyen-node-api-library into pw-4625/nexocrypto_special_characters 2021-05-06 16:34:00 +02:00
wouterboe
b91f9100b2 implemented tests for print receipt request with special characters 2021-05-06 16:33:16 +02:00
Wouter Boereboom
2ab7c65096 Merge branch 'develop' into pos-encoding 2021-05-06 16:13:00 +02:00
LukeNorris
1a265f2e54 changed encodeing to utf-8 in the decrypt function 2021-05-06 15:36:06 +02:00
wouterboe
4c6978cf94 added tests for modification service 2021-05-06 11:27:35 +02:00
wouterboe
9db8ea9399 initial setup modifications tests 2021-05-06 11:27:35 +02:00
dependabot[bot]
2def262914 Bump dotenv from 8.4.0 to 9.0.0
Bumps [dotenv](https://github.com/motdotla/dotenv) from 8.4.0 to 9.0.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v8.4.0...v9.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 04:03:44 +00:00
Wouter Boereboom
9f67aef570 Merge branch 'develop' into pw-4466/notifyShopper_endpoint 2021-05-05 15:27:11 +02:00
Wouter Boereboom
cb16293fd2 Merge pull request #682 from Adyen/pw-4628/terminal_live_endpoint
set live endpoint for terminal API in Client
2021-05-05 13:53:46 +02:00
Wouter Boereboom
1150dfdc2b Merge branch 'develop' into pw-4628/terminal_live_endpoint 2021-05-05 13:05:36 +02:00
Wouter Boereboom
a809b74daf Merge pull request #678 from Adyen/pw-4466/recurring_api_update
updated Recurring API types for notifyShopper endpoint
2021-05-05 13:05:16 +02:00
Wouter Boereboom
48699e7e77 Merge branch 'develop' into pw-4466/recurring_api_update 2021-05-05 11:15:36 +02:00
Wouter Boereboom
df9a81cf6c Merge pull request #681 from Adyen/dependabot/npm_and_yarn/dotenv-8.4.0
Bump dotenv from 8.2.0 to 8.4.0
2021-05-05 10:24:03 +02:00
Wouter Boereboom
bf5a6697e1 Merge branch 'develop' into dependabot/npm_and_yarn/dotenv-8.4.0 2021-05-05 10:20:04 +02:00
Wouter Boereboom
3b11ec3cfb Merge pull request #680 from Adyen/dependabot/npm_and_yarn/acorn-8.2.4
Bump acorn from 8.2.2 to 8.2.4
2021-05-05 10:19:47 +02:00
Wouter Boereboom
843d33f5fd Merge branch 'develop' into dependabot/npm_and_yarn/acorn-8.2.4 2021-05-05 10:16:19 +02:00
Wouter Boereboom
41dbb590e0 Merge pull request #679 from Adyen/PW-4626/hotfix_checkout_v67
bug fix in PaymentCompletionDetails
2021-05-05 10:15:47 +02:00
wouterboe
5fa5c33d6b set live endpoint for terminal API in Client 2021-05-05 10:10:42 +02:00
Wouter Boereboom
989e8a3032 Merge branch 'develop' into PW-4626/hotfix_checkout_v67 2021-05-05 10:06:07 +02:00
dependabot[bot]
835638351f Bump dotenv from 8.2.0 to 8.4.0
Bumps [dotenv](https://github.com/motdotla/dotenv) from 8.2.0 to 8.4.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v8.2.0...v8.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 04:06:17 +00:00
dependabot[bot]
c4d8acd8e7 Bump acorn from 8.2.2 to 8.2.4
Bumps [acorn](https://github.com/acornjs/acorn) from 8.2.2 to 8.2.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.2.2...8.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 04:03:33 +00:00
Wouter Boereboom
7b49208071 Merge pull request #676 from Adyen/pw-4389/update_readme
README updated to new template
2021-05-04 16:51:35 +02:00
wouterboe
54bbb3858e bug fix in PaymentCompletionDetails 2021-05-04 16:46:19 +02:00
wouterboe
6b17d1e8cb implemented tests for print receipt request with special characters 2021-05-04 15:28:08 +02:00
wouterboe
32c40b652d added notifyShopper endpoint to recurring API service 2021-05-04 13:21:20 +02:00
wouterboe
601e45d6fe updated Recurring API types for notifyShopper endpoint 2021-05-04 12:44:25 +02:00
wouterboe
19646f7c47 README updated to new template 2021-04-30 17:05:08 +02:00
Wouter Boereboom
db5d40910c Merge pull request #674 from Adyen/develop
Release 8.0.0
2021-04-30 15:59:36 +02:00
Wouter Boereboom
867649debf Update .github/dependabot.yml
wboereboom added

Co-authored-by: Peter Ojo <peterojo@users.noreply.github.com>
2021-04-30 14:51:56 +02:00
Wouter Boereboom
ecbc706777 Merge pull request #675 from Adyen/update_sonarcloud_exlusions
Update sonar-project.properties
2021-04-30 13:03:35 +02:00
Wouter Boereboom
9090dd5746 Update sonar-project.properties
removed test files from Sonarcloud analysis
2021-04-30 12:56:38 +02:00
Wouter Boereboom
4c84199bcf Merge pull request #673 from Adyen/dependabot/npm_and_yarn/acorn-8.2.2
Bump acorn from 8.2.1 to 8.2.2
2021-04-30 12:47:00 +02:00
Wouter Boereboom
207d66b915 Merge branch 'develop' into dependabot/npm_and_yarn/acorn-8.2.2 2021-04-30 11:55:40 +02:00
Wouter Boereboom
642988a892 Merge pull request #672 from samcottle/readme-terminal-api
Added Terminal API to supported APIs
2021-04-30 11:22:36 +02:00
Wouter Boereboom
70756a512e Merge branch 'develop' into dependabot/npm_and_yarn/acorn-8.2.2 2021-04-30 11:22:06 +02:00
Wouter Boereboom
000c3f8a8b Merge branch 'develop' into readme-terminal-api 2021-04-30 11:18:56 +02:00
Wouter Boereboom
92a5495fd8 shopperlocale added to GetOnboardingUrlRequest (#670)
Co-authored-by: wouterboe <wouter.boereboom@adyen.com>
2021-04-30 11:07:53 +02:00
dependabot[bot]
086cf3767a Bump acorn from 8.2.1 to 8.2.2
Bumps [acorn](https://github.com/acornjs/acorn) from 8.2.1 to 8.2.2.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.2.1...8.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 04:04:31 +00:00
Sam Cottle
7e1010f0e0 Added Terminal API to supported APIs 2021-04-29 20:48:47 +02:00
Wouter Boereboom
67cad90a22 Pw 4327/checkout api v67 (#671)
* update checkout API version

* removed lingering comment

* bump package version

Co-authored-by: wouterboe <wouter.boereboom@adyen.com>
2021-04-29 16:18:32 +02:00
Wouter Boereboom
75cbe49d79 Merge pull request #667 from Adyen/dependabot/npm_and_yarn/acorn-8.2.1
Bump acorn from 8.1.1 to 8.2.1
2021-04-28 14:44:55 +02:00
Wouter Boereboom
aac4537961 Merge branch 'develop' into dependabot/npm_and_yarn/acorn-8.2.1 2021-04-28 14:39:41 +02:00
Wouter Boereboom
b31dc8e237 Merge pull request #669 from Adyen/dependabot/npm_and_yarn/types/jest-26.0.23
Bump @types/jest from 26.0.22 to 26.0.23
2021-04-28 14:30:01 +02:00
dependabot[bot]
e43f264e5d Bump @types/jest from 26.0.22 to 26.0.23
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.22 to 26.0.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 04:03:55 +00:00
Wouter Boereboom
14fd047ca6 Merge branch 'develop' into dependabot/npm_and_yarn/acorn-8.2.1 2021-04-26 14:39:49 +02:00
Wouter Boereboom
cf6fd2b4f7 Merge pull request #668 from Adyen/fix/wboereboom_to_codeowners
Update CODEOWNERS
2021-04-26 14:39:34 +02:00
Wouter Boereboom
05c39c762c Update CODEOWNERS 2021-04-26 08:56:54 +02:00
dependabot[bot]
db9362d69a Bump acorn from 8.1.1 to 8.2.1
Bumps [acorn](https://github.com/acornjs/acorn) from 8.1.1 to 8.2.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.1.1...8.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 04:03:17 +00:00
Wouter Boereboom
62dcb76dfe Merge pull request #665 from Adyen/fix/sonarcloud
updated SonarCloud workflow
2021-04-23 11:57:25 +02:00
wouterboe
d10588026c newlines added to new files 2021-04-23 10:15:36 +02:00
wouterboe
84b3cc3405 updated SonarCloud workflow 2021-04-23 10:09:50 +02:00
Wouter Boereboom
f1e13cf374 Merge pull request #661 from Adyen/pw-4382/timesafe_comparison
Pw 4382/timesafe comparison
2021-04-22 16:23:08 +02:00
wouterboe
0f50ac7fdb optional chaining used to increase readability 2021-04-22 16:16:17 +02:00
Wouter Boereboom
63acc897a6 Merge pull request #635 from Adyen/dependabot/npm_and_yarn/jest-ts-auto-mock-2.0.0
Bump jest-ts-auto-mock from 1.0.12 to 2.0.0
2021-04-22 14:58:09 +02:00
dependabot[bot]
a97e9cb9e4 Bump jest-ts-auto-mock from 1.0.12 to 2.0.0
Bumps [jest-ts-auto-mock](https://github.com/Typescript-TDD/jest-ts-auto-mock) from 1.0.12 to 2.0.0.
- [Release notes](https://github.com/Typescript-TDD/jest-ts-auto-mock/releases)
- [Commits](https://github.com/Typescript-TDD/jest-ts-auto-mock/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 12:49:06 +00:00
Wouter Boereboom
2fe5954559 Merge pull request #647 from Adyen/dependabot/npm_and_yarn/nock-13.0.11
Bump nock from 13.0.7 to 13.0.11
2021-04-22 14:45:39 +02:00
dependabot[bot]
85a3cab5e1 Bump nock from 13.0.7 to 13.0.11
Bumps [nock](https://github.com/nock/nock) from 13.0.7 to 13.0.11.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.0.7...v13.0.11)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 12:32:54 +00:00
Wouter Boereboom
975cd6d020 Merge pull request #653 from Adyen/dependabot/npm_and_yarn/types/jest-26.0.22
Bump @types/jest from 26.0.20 to 26.0.22
2021-04-22 14:29:33 +02:00
dependabot[bot]
112d9063e7 Bump @types/jest from 26.0.20 to 26.0.22
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.20 to 26.0.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 11:33:05 +00:00
Wouter Boereboom
10ce6dff7b Merge pull request #658 from Adyen/dependabot/npm_and_yarn/release-it-14.6.1
Bump release-it from 14.2.2 to 14.6.1
2021-04-22 13:30:07 +02:00
dependabot[bot]
ea80034a46 Bump release-it from 14.2.2 to 14.6.1
Bumps [release-it](https://github.com/release-it/release-it) from 14.2.2 to 14.6.1.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.2.2...14.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 11:23:01 +00:00
Wouter Boereboom
8dc1c0eb60 Merge pull request #663 from Adyen/dependabot/npm_and_yarn/y18n-4.0.3
Bump y18n from 4.0.0 to 4.0.3
2021-04-22 13:20:06 +02:00
dependabot[bot]
8c7e045c17 Bump y18n from 4.0.0 to 4.0.3
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 10:59:07 +00:00
Wouter Boereboom
fab95af3ea Merge pull request #659 from Adyen/dependabot/npm_and_yarn/acorn-8.1.1
Bump acorn from 8.0.5 to 8.1.1
2021-04-22 12:58:00 +02:00
wouterboe
1908978e03 increased readability of hmac comparison input conditions 2021-04-21 17:13:24 +02:00
wouterboe
fda407dc93 removed checkout head^2 from codeQL build 2021-04-21 16:37:09 +02:00
dependabot[bot]
92b9f346b7 Bump acorn from 8.0.5 to 8.1.1
Bumps [acorn](https://github.com/acornjs/acorn) from 8.0.5 to 8.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.0.5...8.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-21 14:33:27 +00:00
wouterboe
0d36b0c140 test added for missing hmac signature 2021-04-21 16:16:59 +02:00
wouterboe
c289d31469 Merge branch 'develop' into pw-4382/timesafe_comparison 2021-04-21 15:24:21 +02:00
wouterboe
b94018e6e3 Merge branch 'pw-4382/timesafe_comparison' of github.com:Adyen/adyen-node-api-library into pw-4382/timesafe_comparison 2021-04-21 15:17:51 +02:00
wouterboe
da147aafa5 added time-safe hmac validation to the hmacValidator utils class 2021-04-21 15:17:02 +02:00
wouterboe
a11a62eb10 implemented timing safe hmac comparison 2021-04-21 15:17:02 +02:00
Wouter Boereboom
a49d273ea0 Merge pull request #660 from Adyen/pw-4240/restore_develop
overwritten develop with current master source
2021-04-21 15:05:00 +02:00
wouterboe
c5d4a200c8 updated github checkout action to v2 to fix coveralls parallel action 2021-04-20 15:36:43 +02:00
wouterboe
b61624b392 overwritten develop with current master source 2021-04-20 13:23:17 +02:00
wouterboe
4a3fb1b2bb implemented timing safe hmac comparison 2021-04-19 17:13:41 +02:00
LukeNorris
3de6af6cdf Changed encoding from ascii to utf-8 to accomodate German special characters in POS print receipt request 2021-04-11 21:45:24 +02:00
Ricardo Ambrogi
54edffa5e3 Update feature_request.md 2021-03-25 09:36:36 +01:00
Ricardo Ambrogi
033b5628f1 Update bug_report.md 2021-03-13 08:16:33 +01:00
Ricardo Ambrogi
31437be75d Update dependabot.yml 2021-02-25 08:04:13 +01:00
dependabot[bot]
a201f7e59a Bump typescript from 3.9.7 to 3.9.9 (#641)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.7 to 3.9.9.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.7...v3.9.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 15:12:15 +01:00
dependabot[bot]
66bfceceec Bump nock from 13.0.6 to 13.0.7 (#632)
Bumps [nock](https://github.com/nock/nock) from 13.0.6 to 13.0.7.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.0.6...v13.0.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcos Garcia <marcos.asgarcia@gmail.com>
2021-02-12 10:45:13 +01:00
peterojo
e676298654 Merge branch 'master' into develop 2021-02-11 11:00:24 +01:00
Peter Ojo
5bd522b80f Merge pull request #640 from Adyen/PW-3895v2
Release v7.0.0
2021-02-10 16:47:13 +01:00
peterojo
bd3c8a0f6b [PW-3895] fix broken test 2021-02-10 16:43:38 +01:00
peterojo
21892df7ff add peterojo to code owners 2021-02-10 16:43:28 +01:00
Peter Ojo
1721ab770f [PW-3895] update checkout API version 2021-02-10 16:43:15 +01:00
Peter Ojo
b671d126ac [PW-3895] update checkout API version (#638)
* [PW-3895] update checkout API version

* add peterojo to code owners

* [PW-3895] fix broken test
2021-02-10 16:25:34 +01:00
dependabot[bot]
7170189560 Bump acorn from 8.0.4 to 8.0.5 (#631)
Bumps [acorn](https://github.com/acornjs/acorn) from 8.0.4 to 8.0.5.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.0.4...8.0.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-26 09:16:34 +01:00
Ricardo Ambrogi
95f0c56564 Update README.md 2021-01-25 13:38:53 +01:00
dependabot[bot]
760807d978 Bump nock from 13.0.5 to 13.0.6 (#630)
Bumps [nock](https://github.com/nock/nock) from 13.0.5 to 13.0.6.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.0.5...v13.0.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-22 11:46:39 +01:00
dependabot[bot]
a43473da45 Bump @types/jest from 26.0.19 to 26.0.20 (#628)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.19 to 26.0.20.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-08 06:08:38 +01:00
dependabot[bot]
d63d9fc8c6 Bump jest-ts-auto-mock from 1.0.11 to 1.0.12 (#624)
Bumps [jest-ts-auto-mock](https://github.com/Typescript-TDD/jest-ts-auto-mock) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/Typescript-TDD/jest-ts-auto-mock/releases)
- [Commits](https://github.com/Typescript-TDD/jest-ts-auto-mock/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-04 10:33:42 +01:00
Ricardo Ambrogi
28b52ecbb0 Pw 3583/http methods (#625)
* updates checkout

* adds support for different http methods and update existing

* rename _request to request. make request private

* rename payout o payouts

* improve how http methods are handled
2021-01-04 08:37:29 +01:00
Ricardo Ambrogi
450c2c77cb [PW-3583]/http methods (#621)
* updates checkout

* adds support for different http methods and update existing

* rename _request to request. make request private

* rename payout o payouts
2020-12-11 08:35:51 +01:00
dependabot[bot]
8464c72aa4 Bump ini from 1.3.5 to 1.3.7 (#623)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 08:29:54 +01:00
dependabot[bot]
3f1962c5e6 Bump @types/jest from 26.0.18 to 26.0.19 (#622)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.18 to 26.0.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 08:20:02 +01:00
dependabot[bot]
d01555af69 Bump @types/jest from 26.0.16 to 26.0.18 (#620)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.16 to 26.0.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-09 09:02:41 +01:00
dependabot[bot]
4f5e9ff799 Bump ts-auto-mock from 2.6.5 to 2.7.0 (#619)
Bumps [ts-auto-mock](https://github.com/Typescript-TDD/ts-auto-mock) from 2.6.5 to 2.7.0.
- [Release notes](https://github.com/Typescript-TDD/ts-auto-mock/releases)
- [Changelog](https://github.com/Typescript-TDD/ts-auto-mock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Typescript-TDD/ts-auto-mock/compare/2.6.5...2.7.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-09 08:41:29 +01:00
dependabot[bot]
1cdc125263 Bump @types/jest from 26.0.15 to 26.0.16 (#618)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.15 to 26.0.16.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-02 06:02:54 +01:00
dependabot[bot]
57b06ee000 Bump release-it from 14.2.1 to 14.2.2 (#617)
Bumps [release-it](https://github.com/release-it/release-it) from 14.2.1 to 14.2.2.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.2.1...14.2.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-27 07:35:02 +01:00
Ricardo Ambrogi
a1977ff4c5 Release v6.0.3 2020-11-16 07:26:12 +01:00
Ricardo Ambrogi
2b2cfaa61e Merge branch 'master' into develop 2020-11-16 07:23:48 +01:00
Ricardo Ambrogi
bae6ff9f25 Release v6.0.3
Revert removal of `merchantAccount` from config
2020-11-16 07:22:29 +01:00
KadoBOT
d459f00871 Revert "Remove merchantAccount from Config. (#590)"
This reverts commit 21700d8bb6.
2020-11-16 07:18:17 +01:00
Ricardo Ambrogi
ddf56999b4 Release v6.0.2 2020-11-13 15:00:36 +01:00
Ricardo Ambrogi
0322f35e6b Merge branch 'master' into develop 2020-11-13 14:58:17 +01:00
Ricardo Ambrogi
c35bd577a4 Revert "Release v6.0.2" (#594)
This reverts commit e2bb647e13.
2020-11-13 14:56:54 +01:00
Ricardo Ambrogi
e2bb647e13 Release v6.0.2 (#591)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ricardo Ambrogi <ricardo.ambrogi@gmail.com>
Co-authored-by: fredriksmaamo <fredrik.smaamo@sonat.no>
Co-authored-by: Fredrik <46444770+smafre@users.noreply.github.com>
2020-11-13 14:51:06 +01:00
Ricardo Ambrogi
0debcaa793 Merge branch 'master' into develop 2020-11-13 12:40:53 +01:00
Ricardo Ambrogi
9d0be96d8c Release v6.0.2 2020-11-13 12:39:13 +01:00
Ricardo Ambrogi
a27b9b4c45 fix saletoacquirerdata being changed to uppercase (#589) 2020-11-13 12:38:03 +01:00
Fredrik
21700d8bb6 Remove merchantAccount from Config. (#590)
Co-authored-by: fredriksmaamo <fredrik.smaamo@sonat.no>
2020-11-13 12:32:45 +01:00
dependabot[bot]
46a4918b6b Bump nock from 13.0.3 to 13.0.5 (#587)
Bumps [nock](https://github.com/nock/nock) from 13.0.3 to 13.0.5.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.0.3...v13.0.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-11 07:48:22 +01:00
dependabot[bot]
06d46f81dd Bump ts-loader from 8.0.9 to 8.0.10 (#584)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.9 to 8.0.10.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.9...v8.0.10)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-09 06:51:55 +01:00
dependabot[bot]
cf4e81a43b Bump ts-loader from 8.0.7 to 8.0.9 (#583)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.7 to 8.0.9.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.7...v8.0.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-05 05:50:43 +01:00
dependabot[bot]
71306af9f8 Bump release-it from 14.2.0 to 14.2.1 (#580)
Bumps [release-it](https://github.com/release-it/release-it) from 14.2.0 to 14.2.1.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.2.0...14.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 09:44:28 +01:00
dependabot[bot]
32e9c38079 Bump ts-loader from 8.0.6 to 8.0.7 (#577)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.6 to 8.0.7.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.6...v8.0.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 07:18:10 +01:00
dependabot[bot]
b4e5165e33 Bump ts-auto-mock from 1.6.2 to 2.6.5 (#576)
Bumps [ts-auto-mock](https://github.com/Typescript-TDD/ts-auto-mock) from 1.6.2 to 2.6.5.
- [Release notes](https://github.com/Typescript-TDD/ts-auto-mock/releases)
- [Changelog](https://github.com/Typescript-TDD/ts-auto-mock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Typescript-TDD/ts-auto-mock/compare/1.6.2...2.6.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-22 08:07:06 +02:00
dependabot[bot]
56646c2525 Bump ts-loader from 8.0.5 to 8.0.6 (#575)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.5 to 8.0.6.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.5...v8.0.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ricardo Ambrogi <ricardo.ambrogi@gmail.com>
2020-10-21 10:53:35 +02:00
dependabot[bot]
93e69d9255 Bump @types/jest from 26.0.14 to 26.0.15 (#574)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.14 to 26.0.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-21 07:29:13 +02:00
dependabot[bot]
6056b1f0be Bump release-it from 14.1.0 to 14.2.0 (#573)
Bumps [release-it](https://github.com/release-it/release-it) from 14.1.0 to 14.2.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.1.0...14.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 08:29:32 +02:00
dependabot[bot]
ec4f46aaf5 Bump ts-loader from 8.0.4 to 8.0.5 (#572)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.4 to 8.0.5.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/8.0.4...v8.0.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-14 07:01:31 +02:00
dependabot[bot]
557d6893ba Bump release-it from 14.0.4 to 14.1.0 (#571)
Bumps [release-it](https://github.com/release-it/release-it) from 14.0.4 to 14.1.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.0.4...14.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 07:35:48 +02:00
dependabot[bot]
5ed66fd7eb Bump release-it from 14.0.3 to 14.0.4 (#570)
Bumps [release-it](https://github.com/release-it/release-it) from 14.0.3 to 14.0.4.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.0.3...14.0.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-08 07:25:32 +02:00
dependabot[bot]
ba2e24ebe5 Bump acorn from 8.0.3 to 8.0.4 (#568)
Bumps [acorn](https://github.com/acornjs/acorn) from 8.0.3 to 8.0.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.0.3...8.0.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-06 07:32:12 +02:00
dependabot[bot]
514da2cab0 Bump acorn from 8.0.2 to 8.0.3 (#567)
Bumps [acorn](https://github.com/acornjs/acorn) from 8.0.2 to 8.0.3.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.0.2...8.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 07:14:40 +02:00
Ricardo Ambrogi
ec35545de0 Merge pull request #566 from Adyen/dependabot/npm_and_yarn/acorn-8.0.2
Bump acorn from 8.0.1 to 8.0.2
2020-10-01 08:04:53 +02:00
dependabot[bot]
830c87d61f Bump acorn from 8.0.1 to 8.0.2
Bumps [acorn](https://github.com/acornjs/acorn) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/8.0.1...8.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 04:05:39 +00:00
Ricardo Ambrogi
c37f6f95df Update package.json 2020-09-25 09:45:35 +02:00
Ricardo Ambrogi
487edf3164 Update package.json 2020-09-25 09:45:22 +02:00
Ricardo Ambrogi
5003e70bf5 Update npmpublish.yml 2020-09-25 09:42:26 +02:00
Ricardo Ambrogi
dd7be92a94 Update npmpublish.yml 2020-09-25 09:39:36 +02:00
Ricardo Ambrogi
6e7e62b240 Update npmpublish.yml 2020-09-25 09:37:11 +02:00
Ricardo Ambrogi
ea1da161d0 Merge pull request #565 from Adyen/develop 2020-09-25 09:21:01 +02:00
Ricardo Ambrogi
2ebd05f593 Merge branch 'master' into develop 2020-09-25 09:20:21 +02:00
Ricardo Ambrogi
4128891d4e Update package.json 2020-09-25 09:19:31 +02:00
Ricardo Ambrogi
d8dbb2ebf0 Update .release-it.json 2020-09-25 09:14:34 +02:00
Ricardo Ambrogi
a72692a82e Update npmpublish.yml 2020-09-25 09:11:53 +02:00
Ricardo Ambrogi
6a9987d3e6 Merge pull request #561 from Adyen/develop 2020-09-25 08:58:57 +02:00
KadoBOT
53815b0c43 merge master 2020-09-25 08:49:36 +02:00
Ricardo Ambrogi
b20f579cf0 update API versions (#560) 2020-09-25 08:29:15 +02:00
dependabot[bot]
5f54866a26 Bump ts-loader from 8.0.3 to 8.0.4 (#559)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.3 to 8.0.4.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.3...8.0.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-21 07:45:29 +02:00
dependabot[bot]
c3cc2d9773 Bump @types/jest from 26.0.13 to 26.0.14 (#558)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.13 to 26.0.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 06:51:01 +02:00
dependabot[bot]
7838bd06e5 Bump release-it from 14.0.2 to 14.0.3 (#557)
Bumps [release-it](https://github.com/release-it/release-it) from 14.0.2 to 14.0.3.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.0.2...14.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 07:39:52 +02:00
dependabot[bot]
df64578bd3 Bump acorn from 7.4.0 to 8.0.1 (#556)
Bumps [acorn](https://github.com/acornjs/acorn) from 7.4.0 to 8.0.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.4.0...8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 08:33:25 +02:00
dependabot[bot]
3d4de26368 Bump ttypescript from 1.5.11 to 1.5.12 (#555)
Bumps [ttypescript](https://github.com/cevek/ttypescript) from 1.5.11 to 1.5.12.
- [Release notes](https://github.com/cevek/ttypescript/releases)
- [Commits](https://github.com/cevek/ttypescript/compare/1.5.11...1.5.12)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 08:08:29 +02:00
dependabot[bot]
c873bd4e57 Bump release-it from 14.0.1 to 14.0.2 (#554)
Bumps [release-it](https://github.com/release-it/release-it) from 14.0.1 to 14.0.2.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/14.0.1...14.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-07 08:09:37 +02:00
dependabot[bot]
57b7b6caff Bump release-it from 13.7.0 to 14.0.1 (#553)
Bumps [release-it](https://github.com/release-it/release-it) from 13.7.0 to 14.0.1.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/13.7.0...14.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-04 07:31:48 +02:00
dependabot[bot]
fea4634fce Bump @types/jest from 26.0.12 to 26.0.13 (#550)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.12 to 26.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-03 07:17:15 +02:00
dependabot[bot]
98b1da396d Bump @types/jest from 26.0.10 to 26.0.12 (#548)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-01 08:53:49 +02:00
Ricardo Ambrogi
872f2302cd Revert "Bump @types/node from 14.0.9 to 14.6.1" (#549) 2020-09-01 07:18:06 +02:00
Ricardo Ambrogi
e9e75c379c Merge pull request #546 from Adyen/dependabot/npm_and_yarn/types/node-14.6.1
Bump @types/node from 14.0.9 to 14.6.1
2020-08-28 06:19:08 +02:00
dependabot[bot]
8b63c8fe21 Bump @types/node from 14.0.9 to 14.6.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.9 to 14.6.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-28 04:03:54 +00:00
dependabot[bot]
6f13cfcb50 Bump release-it from 13.6.9 to 13.7.0 (#544)
Bumps [release-it](https://github.com/release-it/release-it) from 13.6.9 to 13.7.0.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/13.6.9...13.7.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 08:41:43 +02:00
dependabot[bot]
d33b46c6a2 Bump ttypescript from 1.5.10 to 1.5.11 (#545)
Bumps [ttypescript](https://github.com/cevek/ttypescript) from 1.5.10 to 1.5.11.
- [Release notes](https://github.com/cevek/ttypescript/releases)
- [Commits](https://github.com/cevek/ttypescript/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 07:45:53 +02:00
dependabot[bot]
663a8cc6a6 Bump ts-loader from 8.0.2 to 8.0.3 (#543)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.2 to 8.0.3.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.2...v8.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 12:35:53 +02:00
dependabot[bot]
009bc4db00 Bump release-it from 13.6.8 to 13.6.9 (#542)
Bumps [release-it](https://github.com/release-it/release-it) from 13.6.8 to 13.6.9.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/13.6.8...13.6.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-24 07:17:20 +02:00
dependabot[bot]
42a4958ae3 Bump release-it from 13.6.7 to 13.6.8 (#540)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-20 07:56:32 +02:00
dependabot[bot]
783df311ec Bump release-it from 13.6.6 to 13.6.7 (#538)
Bumps [release-it](https://github.com/release-it/release-it) from 13.6.6 to 13.6.7.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/13.6.6...13.6.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ricardo Ambrogi <ricardo.ambrogi@gmail.com>
2020-08-17 09:23:13 +02:00
dependabot[bot]
84d1932e97 Bump @types/jest from 26.0.9 to 26.0.10 (#537)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.9 to 26.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ricardo Ambrogi <ricardo.ambrogi@gmail.com>
2020-08-17 08:44:58 +02:00
KadoBOT
8c469e886d fix unit test 2020-08-17 08:08:49 +02:00
KadoBOT
c5dcad9271 fix unit test 2020-08-17 08:07:02 +02:00
Ricardo Ambrogi
368db4455f Update npmpublish.yml (#533) 2020-08-07 06:24:47 +02:00
dependabot[bot]
40b6cd5f1e Bump @types/jest from 26.0.8 to 26.0.9 (#532)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.8 to 26.0.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-06 06:37:25 +02:00
Ricardo Ambrogi
c60c4b7520 Release 5.0.2-beta.0 2020-08-05 14:32:45 +00:00
Ricardo Ambrogi
e391d8d995 Merge pull request #531 from Adyen/develop
Code cleanup
2020-08-05 16:04:31 +02:00
Ricardo Ambrogi
955aea532c Merge branch 'master' into develop 2020-08-05 13:16:00 +02:00
Ricardo Ambrogi
fb5128c636 Feat/impr release (#530) 2020-08-05 13:13:27 +02:00
dependabot[bot]
164f6ca2b3 Bump @types/jest from 26.0.7 to 26.0.8 (#529)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.7 to 26.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-04 07:44:10 +02:00
dependabot[bot]
1d7c8edefe Bump ts-loader from 8.0.1 to 8.0.2 (#528)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.1...v8.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-03 07:50:47 +02:00
dependabot[bot]
64c2f008c7 Bump webpack from 4.44.0 to 4.44.1 (#527)
Bumps [webpack](https://github.com/webpack/webpack) from 4.44.0 to 4.44.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.44.0...v4.44.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 07:28:26 +02:00
dependabot[bot]
12223da1a3 Bump nock from 13.0.2 to 13.0.3 (#525)
Bumps [nock](https://github.com/nock/nock) from 13.0.2 to 13.0.3.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.0.2...v13.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-28 07:03:27 +02:00
dependabot[bot]
9faef744ed Bump release-it from 13.6.5 to 13.6.6 (#523)
Bumps [release-it](https://github.com/release-it/release-it) from 13.6.5 to 13.6.6.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/13.6.5...13.6.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 07:02:59 +02:00
dependabot[bot]
17a60f6c1f Bump webpack from 4.43.0 to 4.44.0 (#522)
Bumps [webpack](https://github.com/webpack/webpack) from 4.43.0 to 4.44.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.43.0...v4.44.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-27 06:15:04 +02:00
dependabot[bot]
db422acc71 Bump @types/jest from 26.0.5 to 26.0.7 (#521)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.5 to 26.0.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-24 08:01:16 +02:00
dependabot[bot]
e206679d45 Bump @types/jest from 26.0.4 to 26.0.5 (#518)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.4 to 26.0.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-20 07:24:02 +02:00
dependabot[bot]
fbe97cf919 Bump typescript from 3.9.6 to 3.9.7 (#516)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ricardo Ambrogi <ricardo.ambrogi@gmail.com>
2020-07-17 07:30:04 +02:00
dependabot[bot]
e276cb8e24 Bump ts-loader from 8.0.0 to 8.0.1 (#517)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 07:19:35 +02:00
dependabot[bot]
b471905ac3 Bump release-it from 13.6.4 to 13.6.5 (#513)
Bumps [release-it](https://github.com/release-it/release-it) from 13.6.4 to 13.6.5.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/13.6.4...13.6.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-10 07:46:03 +02:00
dependabot[bot]
86b78c3f92 Bump ts-loader from 7.0.5 to 8.0.0 (#511)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 7.0.5 to 8.0.0.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v7.0.5...v8.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-09 08:26:03 +02:00
dependabot[bot]
cfd92b904b Bump @types/jest from 26.0.3 to 26.0.4 (#509)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.3 to 26.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-07 06:54:59 +02:00
dependabot[bot]
e3cc8a6c00 Bump webpack-cli from 3.3.11 to 3.3.12 (#505)
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.11 to 3.3.12.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/v3.3.12/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.11...v3.3.12)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-02 08:04:46 +02:00
dependabot[bot]
60704022a1 Bump nock from 13.0.1 to 13.0.2 (#506)
Bumps [nock](https://github.com/nock/nock) from 13.0.1 to 13.0.2.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.0.1...v13.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-02 06:56:56 +02:00
dependabot[bot]
a416d7b14a Bump typescript from 3.9.5 to 3.9.6 (#507)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.5 to 3.9.6.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-02 06:56:26 +02:00
dependabot-preview[bot]
77d1cc7751 Create Dependabot config file (#503)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-01 16:59:37 +02:00
dependabot-preview[bot]
d56423560f Bump nock from 13.0.0 to 13.0.1 (#502)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-01 08:30:28 +02:00
dependabot-preview[bot]
ae2031fc5d Bump nock from 12.0.3 to 13.0.0 (#501)
Bumps [nock](https://github.com/nock/nock) from 12.0.3 to 13.0.0.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v12.0.3...v13.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-29 08:43:40 +02:00
dependabot-preview[bot]
1499559123 Bump release-it from 13.6.3 to 13.6.4 (#500)
Bumps [release-it](https://github.com/release-it/release-it) from 13.6.3 to 13.6.4.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/13.6.3...13.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-29 08:09:31 +02:00
dependabot-preview[bot]
d003c45f85 Bump @types/jest from 26.0.1 to 26.0.3 (#498)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.1 to 26.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-26 08:30:17 +02:00
Rik ter Beek
eb13940cb5 Create codeql-analysis.yml 2020-06-26 08:03:15 +02:00
dependabot-preview[bot]
ce91c512ae Bump @types/jest from 26.0.0 to 26.0.1 (#496)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.0 to 26.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-25 06:19:13 +02:00
Ricardo Ambrogi
3a2b899136 Merge pull request #493 from Adyen/dependabot/npm_and_yarn/release-it-13.6.3
Bump release-it from 13.6.2 to 13.6.3
2020-06-15 09:20:28 +02:00
dependabot-preview[bot]
36eb1476ac Bump release-it from 13.6.2 to 13.6.3
Bumps [release-it](https://github.com/release-it/release-it) from 13.6.2 to 13.6.3.
- [Release notes](https://github.com/release-it/release-it/releases)
- [Changelog](https://github.com/release-it/release-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/release-it/release-it/compare/13.6.2...13.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 06:08:54 +00:00
3441 changed files with 93153 additions and 74269 deletions

View File

@@ -37,13 +37,21 @@ module.exports = {
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
rules: {
quotes: ["error", "double"],
semi: ["error", "always"],
"@typescript-eslint/no-non-null-assertion": 0
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/ban-types": [
"error",
{
"extendDefaults": true,
"types": {
"{}": false
}
}
]
},
overrides: [
{

2
.github/CODEOWNERS vendored
View File

@@ -1 +1 @@
* @KadoBOT @zaiddreakh @maassenbas @msilvagarcia @AlexandrosMor
* @Adyen/javascript

View File

@@ -3,7 +3,7 @@ name: Bug report
about: Create a report to help us improve
title: '[BUG]'
labels: 'bug'
assignees: 'KadoBOT'
assignees: ''
---

View File

@@ -3,7 +3,7 @@ name: Feature request
about: Suggest an idea for this project
title: '[FEATURE]'
labels: 'feature'
assignees: 'KadoBOT'
assignees: ''
---

7
.github/stale.yml vendored
View File

@@ -3,6 +3,13 @@ daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Label to use when marking an issue as stale
# Issues with these labels will never be considered stale
exemptLabels:
- Validating request
- Bug report
- Bug
- Enhancement
- feature
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >

46
.github/workflows/codeql-analysis.yml vendored Normal file
View File

@@ -0,0 +1,46 @@
name: "Code scanning - action"
on:
push:
pull_request:
schedule:
- cron: '0 21 * * 4'
jobs:
CodeQL-Build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

View File

@@ -1,4 +1,4 @@
on: ["push", "pull_request"]
on: ["pull_request"]
name: Coveralls
@@ -9,12 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Use Node.js 12.x
uses: actions/setup-node@v1
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 12.x
node-version: 16.x
- name: npm install, npm test:coverage
run: |

30
.github/workflows/models.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Node.js Models
on: [ workflow_dispatch ]
jobs:
generate:
runs-on: ubuntu-latest
name: Generate Models
steps:
- uses: actions/checkout@v3
- run: make models
- name: Set PR variables
id: vars
run: |
cd build/spec
echo ::set-output name=pr_title::"Update models"
echo ::set-output name=pr_body::"OpenAPI spec or templates produced new models on $(date +%d-%m-%Y) \
by [commit](https://github.com/Adyen/adyen-openapi/commit/$(git rev-parse HEAD))."
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}
committer: ${{ secrets.ADYEN_AUTOMATION_BOT_EMAIL }}
author: ${{ secrets.ADYEN_AUTOMATION_BOT_EMAIL }}
base: develop
branch: automation/models
title: ${{ steps.vars.outputs.pr_title }}
body: ${{ steps.vars.outputs.pr_body }}
add-paths: |
src/typings

View File

@@ -1,6 +1,6 @@
name: Node.js CI
on: [push, pull_request]
on: [pull_request]
jobs:
build:
@@ -9,12 +9,12 @@ jobs:
strategy:
matrix:
node-version: [10.x, 12.x, 13.x]
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: npm install, lint and test

View File

@@ -1,47 +1,24 @@
name: Node.js Package
on:
workflow_dispatch:
release:
types: [created]
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn install --frozen-lockfile
- run: yarn run test
env:
CI: true
ADYEN_API_KEY: ${{ secrets.ADYEN_API_KEY }}
ADYEN_MERCHANT: ${{ secrets.ADYEN_MERCHANT }}
ADYEN_PASSWORD: ${{ secrets.ADYEN_PASSWORD }}
ADYEN_REVIEWPAYOUT_APIKEY: ${{ secrets.ADYEN_REVIEWPAYOUT_APIKEY }}
ADYEN_REVIEWPAYOUT_PASSWORD: ${{ secrets.ADYENREVIEWPAYOUT_PASSWORD }}
ADYEN_REVIEWPAYOUT_USER: ${{ secrets.ADYENREVIEWPAYOUT_USER }}
ADYEN_STOREPAYOUT_APIKEY: ${{ secrets.ADYEN_STOREPAYOUT_APIKEY }}
ADYEN_STOREPAYOUT_PASSWORD: ${{ secrets.ADYEN_STOREPAYOUT_PASSWORD }}
ADYEN_STOREPAYOUT_USER: ${{ secrets.ADYEN_STOREPAYOUT_USER }}
ADYEN_USER: ${{ secrets.ADYEN_USER }}
ADYEN_MARKETPLACE_USER: ${{ secrets.ADYEN_MARKETPLACE_USER }}
ADYEN_MARKETPLACE_PASSWORD: ${{ secrets.ADYEN_MARKETPLACE_PASSWORD }}
ADYEN_TERMINAL_APIKEY: ${{ secrets.ADYEN_TERMINAL_APIKEY }}
ADYEN_TERMINAL_POIID: ${{ secrets.ADYEN_TERMINAL_POIID }}
ADYEN_TERMINAL_MERCHANT: ${{ secrets.ADYEN_TERMINAL_MERCHANT }}
- run: yarn run build
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm publish
- run: |
npm install
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
npm run build
npm publish
env:
GITHUB_TOKEN: ${{ secrets.USER_GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

21
.github/workflows/sonarcloud.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: "Sonarcloud Analysis"
on: ["pull_request"]
jobs:
sonarcloud-analysis:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
# Disabling shallow clone to improve relevancy of SonarCloud reporting
fetch-depth: 0
- name: SonarCloud integration
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

4
.gitignore vendored
View File

@@ -11,4 +11,6 @@ node_modules
.ssh/
.viminfo
coverage/
.env
.env
lib/
build/

View File

@@ -1,10 +1,16 @@
src/
.babelrc
.eslintignore
.eslintrc.json
.eslintrc.js
.gitignore
.travis.yml
.release-it.json
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Makefile
config.ts
renovate.json
tsconfig.json
jest.config.js
tslint.json
webpack.config.js
.github
/**/__mocks__/
/**/__tests__/

View File

@@ -1,12 +1,20 @@
{
"git": {
"tagName": "v${version}",
"changelog": "npx auto-changelog --stdout --commit-limit false -u"
"changelog": "npx auto-changelog --hide-credit --stdout --commit-limit false --unreleased-only -t keepachangelog",
"commitMessage": "Release ${version}",
"tag": true,
"requireCleanWorkingDir": false
},
"github": {
"release": true
"release": true,
"releaseName": "Adyen Node API Library v${version}"
},
"hooks": {
"after:bump": "npx auto-changelog -p"
"after:bump": [
"npm run build",
"npx auto-changelog -p"
],
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}
}

View File

@@ -1,19 +0,0 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright Contributors to the ODPi Egeria project.
# Path to sources
#sonar.sources=.
sonar.exclusions=src/__mocks__/*
sonar.exclusions=src/typings/*
#sonar.inclusions=
# Path to tests
#sonar.tests=
#sonar.test.exclusions=
#sonar.test.inclusions=
# Source encoding
#sonar.sourceEncoding=UTF-8
# Exclusions for copy-paste detection
#sonar.cpd.exclusions=

74
Makefile Normal file
View File

@@ -0,0 +1,74 @@
generator:=typescript-node
openapi-generator-version:=5.4.0
openapi-generator-url:=https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/$(openapi-generator-version)/openapi-generator-cli-$(openapi-generator-version).jar
openapi-generator-jar:=build/openapi-generator-cli.jar
openapi-generator-cli:=java -jar $(openapi-generator-jar)
services:=balancePlatform binlookup checkout dataProtection legalEntityManagement management payments payouts platformsAccount platformsFund platformsHostedOnboardingPage platformsNotificationConfiguration recurring storedValue terminalManagement transfer
# Generate models (for each service)
models: $(services)
binlookup: spec=BinLookupService-v52
checkout: spec=CheckoutService-v69
dataProtection: spec=DataProtectionService-v1
storedValue: spec=StoredValueService-v46
terminalManagement: spec=TfmAPIService-v1
payments: spec=PaymentService-v68
recurring: spec=RecurringService-v68
payouts: spec=PayoutService-v68
management: spec=ManagementService-v1
managementapi: spec=ManagementService-v1
managementapi: service=management
legalEntityManagement: spec=LegalEntityService-v2
balancePlatform: spec=BalancePlatformService-v2
platformsAccount: spec=AccountService-v6
platformsFund: spec=FundService-v6
platformsNotificationConfiguration: spec=NotificationConfigurationService-v6
platformsHostedOnboardingPage: spec=HopService-v6
transfer: spec=TransferService-v3
$(services): build/spec $(openapi-generator-jar)
rm -rf src/typings/$@ build/model
$(openapi-generator-cli) generate \
-i build/spec/json/$(spec).json \
-g $(generator) \
-t templates/typescript \
-o build \
--global-property models,supportingFiles \
--additional-properties=serviceName=$@
mv build/model src/typings/$@
# Service
managementapi: build/spec $(openapi-generator-jar)
$(openapi-generator-cli) generate \
-i build/spec/json/$(spec).json \
-g $(generator) \
-t templates/typescript \
-o build \
--api-package $(service) \
--model-package typings/$(service) \
--global-property apis \
--additional-properties=serviceName=$(service)
cp build/$(service)/* src/services/$(service)
sed -i.bak '/RestServiceError/d' src/services/$(service)/*
rm src/services/$(service)/*.bak
# Checkout spec (and patch version)
build/spec:
git clone https://github.com/Adyen/adyen-openapi.git build/spec
perl -i -pe's/"openapi" : "3.[0-9].[0-9]"/"openapi" : "3.0.0"/' build/spec/json/*.json
# Extract templates (copy them for modifications)
templates: $(openapi-generator-jar)
$(openapi-generator-cli) author template -g $(generator) -o build/templates/typescript
# Download the generator
$(openapi-generator-jar):
wget --quiet -o /dev/null $(openapi-generator-url) -O $(openapi-generator-jar)
# Discard generated artifacts and changed models
clean:
git checkout src/typings src/services/management
git clean -f -d src/typings src/services/management
.PHONY: templates models $(services)

161
README.md
View File

@@ -1,30 +1,47 @@
![Node js](https://user-images.githubusercontent.com/62436079/207373079-9cf9377f-f530-4b02-a515-9b64ef7b06e7.png)
# Adyen Node.js API Library
![Node.js CI](https://github.com/Adyen/adyen-node-api-library/workflows/Node.js%20CI/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/Adyen/adyen-node-api-library/badge.svg?branch=master)](https://coveralls.io/github/Adyen/adyen-node-api-library?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/Adyen/adyen-node-api-library/badge.svg?branch=main)](https://coveralls.io/github/Adyen/adyen-node-api-library?branch=main)
[![Downloads](https://img.shields.io/npm/dm/@adyen/api-library.svg)](https://www.npmjs.com/package/@adyen/api-library)
![npm bundle size (scoped)](https://img.shields.io/bundlephobia/minzip/@adyen/api-library.svg)
[![Version](https://img.shields.io/npm/v/@adyen/api-library.svg)](https://www.npmjs.com/package/@adyen/api-library)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Adyen_adyen-node-api-library&metric=alert_status)](https://sonarcloud.io/dashboard?id=Adyen_adyen-node-api-library)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/Adyen/adyen-node-api-library.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Adyen/adyen-node-api-library/alerts/)
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/Adyen/adyen-node-api-library.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Adyen/adyen-node-api-library/context:javascript)
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
This is the officially supported NodeJS library for using Adyen's APIs.
## Integration
## Supported API versions
The Library supports all APIs under the following services:
| API | Description | Service Name | Supported version |
| --- | ----------- | ------------ | ----------------- |
|[BIN lookup API](https://docs.adyen.com/api-explorer/#/BinLookup/v52/overview) | The BIN Lookup API provides endpoints for retrieving information based on a given BIN. | BinLookup | **v52** |
| [Checkout API](https://docs.adyen.com/api-explorer/#/CheckoutService/v69/overview)| Our latest integration for accepting online payments. | CheckoutAPI | **v69** |
| [Configuration API](https://docs.adyen.com/api-explorer/#/balanceplatform/v2/overview)| The Configuration API enables you to create a platform where you can onboard your users as account holders and create balance accounts, cards, and business accounts. | BalancePlatform | **v2** |
| [DataProtection API](https://docs.adyen.com/development-resources/data-protection-api) | Adyen Data Protection API provides a way for you to process [Subject Erasure Requests](https://gdpr-info.eu/art-17-gdpr/) as mandated in GDPR. Use our API to submit a request to delete shopper's data, including payment details and other related information (for example, delivery address or shopper email) | DataProtection | **v1** |
| [Legal Entity Management API](https://docs.adyen.com/api-explorer/#/legalentity/v2/overview)| Manage legal entities that contain information required for verification. | LegalEntityManagement | **v2** |
| [Local/Cloud-based Terminal API](https://docs.adyen.com/point-of-sale/terminal-api-reference)| Our point-of-sale integration. | TerminalLocalAPI or TerminalCloudAPI | - |
| [Management API](https://docs.adyen.com/api-explorer/#/ManagementService/v1/overview)| Configure and manage your Adyen company and merchant accounts, stores, and payment terminals. | Management | **v1** |
| [Payments API](https://docs.adyen.com/api-explorer/#/Payment/v68/overview)| Our classic integration for online payments. | ClassicIntegrationAPI | **v68** |
| [Payouts API](https://docs.adyen.com/api-explorer/#/Payout/v68/overview)| Endpoints for sending funds to your customers. | Payout | **v68** |
| [Platforms APIs](https://docs.adyen.com/platforms/api)| Set of APIs when using Adyen for Platforms. This API is used for the classic integration. | Platforms | - |
| [Account API](https://docs.adyen.com/api-explorer/#/Account/v6/overview) | *Platforms subclass* | Account | **v6** |
| [Fund API](https://docs.adyen.com/api-explorer/#/Fund/v6/overview) | *Platforms subclass* | Fund | **v6** |
| [Hosted onboarding API](https://docs.adyen.com/api-explorer/#/Hop/v6/overview)| *Platforms subclass* | HostedOnboardingPage | **v6** |
| [Notification Configuration API](https://docs.adyen.com/api-explorer/#/NotificationConfigurationService/v6/overview) | *Platforms subclass* | NotificationConfiguration | **v6** |
| [Platforms Notifications Webhooks](https://docs.adyen.com/api-explorer/#/NotificationService/v6/overview) || *Models only* | **v6** |
| [POS Terminal Management API](https://docs.adyen.com/api-explorer/#/postfmapi/v1/overview)| Endpoints for managing your point-of-sale payment terminals. | TerminalManagement | **v1** |
| [Recurring API](https://docs.adyen.com/api-explorer/#/Recurring/v68/overview)| Endpoints for managing saved payment details. | Recurring | **v68** |
| [Stored Value API](https://docs.adyen.com/payment-methods/gift-cards/stored-value-api) | Manage both online and point-of-sale gift cards and other stored-value cards. | StoredValue | **v46** |
| [Transfers API](https://docs.adyen.com/api-explorer/transfers/3/overview) | The Transfers API provides endpoints that can be used to get information about all your transactions, move funds within your balance platform or send funds from your balance platform to a transfer instrument. | Transfers | **v3** |
| [Webhooks](https://docs.adyen.com/api-explorer/Webhooks/1/overview) | Adyen uses webhooks to send notifications about payment status updates, newly available reports, and other events that can be subscribed to. For more information, refer to our [documentation](https://docs.adyen.com/development-resources/webhooks). | *Models only* | **v1** |
* [x] checkout
* [x] checkout utility
* [x] payments
* [x] modifications
* [x] payouts
* [x] recurring
* [x] notifications
* [x] BIN lookup
For more information, refer to our [documentation](https://docs.adyen.com/) or the [API Explorer](https://docs.adyen.com/api-explorer/).
## Requirements
* Node 10 or higher
## Prerequisites
- [Adyen test account](https://docs.adyen.com/get-started-with-adyen). To start using Adyen APIs, you will need a Merchant Account.
- [API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). For testing, your API credential needs to have the [API PCI Payments role](https://docs.adyen.com/development-resources/api-credentials#roles).
- Node 12 or higher
## Installation
@@ -36,12 +53,100 @@ You can use NPM to add our library to your project
npm install --save @adyen/api-library
```
## Documentation
* https://docs.adyen.com/developers/development-resources/libraries
* https://docs.adyen.com/developers/checkout
Alternatively, you can download the [release on GitHub](https://github.com/Adyen/adyen-node-api-library/releases).
## HTTP Client Configuration
## Using the library
### Client initialisation
#### General use with API key
Set up the client as a singleton resource; you can then use it to create service objects for the API calls that you make to Adyen:
```typescript
const { Client } = require('@adyen/api-library');
const client = new Client({apiKey: "YOUR_API_KEY", environment: "TEST"});
```
#### General use with API key for live environment
```typescript
const { Client } = require('@adyen/api-library');
const client = new Client({apiKey: "YOUR_API_KEY", environment: "LIVE"});
```
#### General use with basic auth
```typescript
const { Client } = require('@adyen/api-library');
const client = new Client({username: "YOUR_USERNAME", password: "YOUR_PASSWORD", environment: "TEST"});
```
### Consuming Services
Every API the library supports is represented by a service object. The name of the service matching the corresponding API is listed in the [Integrations](#supported-api-versions) section of this document.
```javascript
const { Client, CheckoutAPI } = require('@adyen/api-library');
const client = new Client({apiKey: "YOUR_API_KEY", environment: "TEST"});
const paymentRequest = {
amount: {
currency: "USD",
value: 1000 // value in minor units
},
reference: "Your order number",
paymentMethod: {
type: "scheme",
encryptedCardNumber: "test_4111111111111111",
encryptedExpiryMonth: "test_03",
encryptedExpiryYear: "test_2030",
encryptedSecurityCode: "test_737"
},
shopperReference: "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j",
storePaymentMethod: true,
shopperInteraction: "Ecommerce",
recurringProcessingModel: "CardOnFile",
returnUrl: "https://your-company.com/...",
merchantAccount: "YOUR_MERCHANT_ACCOUNT"
};
const checkoutAPI = new CheckoutAPI(client);
checkoutAPI.payments(paymentRequest)
.then( paymentResponse => console.log(paymentResponse.pspReference))
.catch(error => console.log(error));
```
Alternatively you can make use of the Types included in this library using Typescript, and/or use the async syntax:
```typescript
const { Client, CheckoutAPI } = require('@adyen/api-library');
const client = new Client({apiKey: "YOUR_API_KEY", environment: "TEST"});
import { Types } from '@adyen/api-library';
const doPaymentsRequest = async () => {
const paymentRequest : Types.checkout.PaymentRequest = {
amount: {
currency: "USD",
value: 1000 // value in minor units
},
reference: "Your order number",
paymentMethod: {
type: Types.checkout.CardDetails.TypeEnum.Scheme,
encryptedCardNumber: "test_4111111111111111",
encryptedExpiryMonth: "test_03",
encryptedExpiryYear: "test_2030",
encryptedSecurityCode: "test_737"
},
shopperReference: "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j",
storePaymentMethod: true,
shopperInteraction: Types.checkout.PaymentRequest.ShopperInteractionEnum.Ecommerce,
recurringProcessingModel: Types.checkout.PaymentRequest.RecurringProcessingModelEnum.CardOnFile,
returnUrl: "https://your-company.com/...",
merchantAccount: "YOUR_MERCHANT_ACCOUNT"
};
const checkoutAPI = new CheckoutAPI(client);
const paymentResponse : Types.checkout.PaymentResponse = await checkoutAPI.payments(paymentRequest);
console.log(paymentResponse.pspReference);
}
doPaymentsRequest();
```
### Custom HTTP Client Configuration
By default, NodeJS [https](https://nodejs.org/api/https.html) will be used to submit requests to the API. But you can change that by injecting your own HttpClient on your client instance. In the example below, we use `axios`:
```javascript
@@ -88,17 +193,23 @@ client.httpClient = httpClient;
...
```
## Support
If you have a feature request, or spotted a bug or a technical problem, create a GitHub issue. For other questions, contact our [support team](https://support.adyen.com/hc/en-us/requests/new?ticket_form_id=360000705420).
### Example integration
For a closer look at how our NodeJS library works, clone our [example integration](https://github.com/adyen-examples/adyen-node-online-payments). This includes commented code, highlighting key features and concepts, and examples of API calls that can be made using the library.
## Contributing
## Contributing
We strongly encourage you to join us in contributing to this repository so everyone can benefit from:
* New features and functionality
* Resolved bug fixes and issues
* Any general improvements
Read our [**contribution guidelines**](CONTRIBUTING.md) to find out how.
Read our [**contribution guidelines**](CONTRIBUTING.md) to find out how to create a pull request.
## Support
If you have a feature request, or spotted a bug or a technical problem, create a GitHub issue. For other questions, contact our [support team](https://www.adyen.help).
## Licence
This repository is available under the [MIT license](LICENSE).
MIT license. For more information, see the LICENSE file.
## See also
* [example integration](https://github.com/adyen-examples/adyen-node-online-payments)

2
dist/es5/main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,68 +0,0 @@
{
"name": "@adyen/api-library",
"version": "5.0.0",
"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",
"module": "dist/lib-esm/src/index.js",
"engines": {
"node": ">=10"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Adyen/adyen-node-api-library.git"
},
"keywords": [
"adyen",
"api",
"nodejs"
],
"bugs": {
"url": "https://github.com/Adyen/adyen-node-api-library/issues"
},
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/Adyen/adyen-node-api-library#readme",
"scripts": {
"clean": "rm -rf ./dist",
"build": "npm run clean && tsc && tsc -m es6 --outDir dist/lib-esm && webpack",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint --fix 'src/**/*.ts'",
"test": "jest",
"test:coverage": "jest --coverage",
"preversion": "npm test",
"version": "npm run build && git add -A dist",
"postversion": "git push && git push --tags && rm -rf build/temp",
"release": "release-it --no-npm.publish"
},
"author": "Ricardo Ambrogi",
"license": "MIT",
"devDependencies": {
"@types/jest": "25.2.3",
"@types/nock": "11.1.0",
"@typescript-eslint/eslint-plugin": "2.34.0",
"@typescript-eslint/parser": "2.34.0",
"acorn": "^7.1.1",
"coveralls": "3.1.0",
"dotenv": "^8.2.0",
"eslint": "6.8.0",
"jest": "25.5.4",
"jest-ts-auto-mock": "^1.0.11",
"kind-of": "^6.0.3",
"minimist": ">=1.2.3",
"nock": "12.0.3",
"release-it": "13.6.2",
"ts-auto-mock": "^1.6.0",
"ts-jest": "25.5.1",
"ts-loader": "7.0.5",
"ttypescript": "^1.5.10",
"typescript": "3.9.5",
"webpack": "4.43.0",
"webpack-cli": "3.3.11"
},
"dependencies": {
"@types/node": "14.0.9",
"https-proxy-agent": "5.0.0"
}
}

View File

@@ -1,6 +0,0 @@
import Client from "../client";
import { TerminalApiRequest, TransactionIdentification } from "../typings/terminal/models";
export declare const createClient: (apiKey?: string | undefined) => Client;
export declare const createBasicAuthClient: () => Client;
export declare const createTerminalAPIPaymentRequest: () => TerminalApiRequest;
export declare const createTerminalAPIRefundRequest: (transactionIdentification: TransactionIdentification) => TerminalApiRequest;

View File

@@ -1,98 +0,0 @@
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
import Client from "../client";
import Config from "../config";
import { MessageCategoryType, MessageClassType, MessageType, ReversalReasonType } from "../typings/terminal/models";
export var createClient = function (apiKey) {
if (apiKey === void 0) { apiKey = process.env.ADYEN_API_KEY; }
var config = new Config();
config.terminalApiCloudEndpoint = Client.TERMINAL_API_ENDPOINT_TEST;
config.terminalApiLocalEndpoint = "https://mocked_local_endpoint.com";
config.hmacKey = "DFB1EB5485895CFA84146406857104ABB4CBCABDC8AAF103A624C8F6A3EAAB00";
config.endpoint = Client.ENDPOINT_TEST;
config.checkoutEndpoint = Client.CHECKOUT_ENDPOINT_TEST;
config.marketPayEndpoint = Client.MARKETPAY_ENDPOINT_TEST;
config.apiKey = apiKey;
config.marketPayEndpoint = Client.MARKETPAY_ENDPOINT_TEST;
var client = new Client({ config: config });
return client;
};
export var createBasicAuthClient = function () {
var client = new Client({
username: process.env.ADYEN_USER,
password: process.env.ADYEN_PASSWORD,
environment: "TEST",
applicationName: "adyen-node-api-library"
});
return client;
};
var id = Math.floor(Math.random() * Math.floor(10000000)).toString();
var getMessageHeader = function (_a) {
var _b = (_a === void 0 ? {} : _a).messageCategory, messageCategory = _b === void 0 ? MessageCategoryType.Payment : _b;
return ({
messageCategory: messageCategory,
messageClass: MessageClassType.Service,
messageType: MessageType.Request,
pOIID: process.env.ADYEN_TERMINAL_POIID,
protocolVersion: "3.0",
saleID: id,
serviceID: id,
});
};
var timestamp = function () { return new Date().toISOString(); };
var transactionIdentification = {
timeStamp: timestamp(),
transactionID: id,
};
var saleData = {
saleTransactionID: transactionIdentification,
saleToAcquirerData: {
applicationInfo: {
merchantApplication: {
version: "1",
name: "test"
}
}
}
};
var amountsReq = {
currency: "EUR",
requestedAmount: 1,
};
var paymentTransaction = {
amountsReq: amountsReq,
};
var paymentRequest = {
paymentTransaction: paymentTransaction,
saleData: saleData,
};
var getReversalRequest = function (poiTransaction) { return ({
originalPOITransaction: {
pOITransactionID: {
transactionID: poiTransaction.transactionID,
timeStamp: poiTransaction.timeStamp
},
},
reversalReason: ReversalReasonType.MerchantCancel
}); };
var getSaleToPOIRequest = function (messageHeader, request) { return (__assign({ messageHeader: messageHeader }, request)); };
export var createTerminalAPIPaymentRequest = function () {
var messageHeader = getMessageHeader();
var saleToPOIRequest = getSaleToPOIRequest(messageHeader, { paymentRequest: paymentRequest });
return { saleToPOIRequest: saleToPOIRequest };
};
export var createTerminalAPIRefundRequest = function (transactionIdentification) {
var messageHeader = getMessageHeader({ messageCategory: MessageCategoryType.Reversal });
var saleToPOIRequest = getSaleToPOIRequest(messageHeader, { reversalRequest: getReversalRequest(transactionIdentification) });
return { saleToPOIRequest: saleToPOIRequest };
};
//# sourceMappingURL=base.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../src/__mocks__/base.ts"],"names":[],"mappings":"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"}

View File

@@ -1 +0,0 @@
export declare const paymentMethodsSuccess: string;

View File

@@ -1,986 +0,0 @@
export var paymentMethodsSuccess = JSON.stringify({
paymentMethods: [
{
name: "AliPay",
type: "alipay",
},
{
name: "AliPay",
type: "alipay_wap",
},
{
details: [
{
key: "additionalData.card.encrypted.json",
type: "cardToken",
},
],
name: "Credit Card",
type: "scheme",
},
{
name: "Credit Card via AsiaPay",
type: "asiapay",
},
{
name: "BancNet",
type: "bancnet",
},
{
name: "Bank Transfer (BE)",
type: "bankTransfer_BE",
},
{
name: "Bank Transfer (DE)",
type: "bankTransfer_DE",
},
{
name: "Bank Transfer (DK)",
type: "bankTransfer_DK",
},
{
name: "Bank Transfer (GB)",
type: "bankTransfer_GB",
},
{
name: "SEPA Bank Transfer",
type: "bankTransfer_IBAN",
},
{
name: "Bank Transfer (NL)",
type: "bankTransfer_NL",
},
{
name: "Bank Transfer (NO)",
type: "bankTransfer_NO",
},
{
name: "Bank Transfer (PL)",
type: "bankTransfer_PL",
},
{
name: "Bank Transfer (SE)",
type: "bankTransfer_SE",
},
{
name: "Russian Bank Transfer",
type: "bank_ru",
},
{
details: [
{
key: "additionalData.card.encrypted.json",
type: "cardToken",
},
],
name: "Bancontact card",
type: "bcmc",
},
{
name: "Boleto Bancario via HSBC",
type: "boletobancario_hsbc",
},
{
name: "Boleto Bancario via Itau",
type: "boletobancario_itau",
},
{
name: "Boleto Bancario via Santander",
type: "boletobancario_santander",
},
{
name: "c_cash",
type: "c_cash",
},
{
name: "CashU",
type: "cashu",
},
{
name: "Paiement en 3 fois par Cartes Bancaires",
type: "cofinoga_3xcb",
},
{
name: "DineroMail",
type: "dineromail",
},
{
name: "Online bank transfer.",
type: "directEbanking",
},
{
name: "Direct Debit Brazil - Banco do Brazil",
type: "directdebit_BR_bancodobrasil",
},
{
name: "Direct Debit Brazil - Bradesco",
type: "directdebit_BR_bradesco",
},
{
name: "Direct Debit Brazil - Caixa Economica Federal",
type: "directdebit_BR_caixa",
},
{
name: "Direct Debit Brazil - HSBC",
type: "directdebit_BR_hsbc",
},
{
name: "Direct Debit Brazil - Itau",
type: "directdebit_BR_itau",
},
{
name: "Direct Debit Brazil - Santander",
type: "directdebit_BR_santander",
},
{
name: "Eenmalige machtiging",
type: "directdebit_NL",
},
{
details: [
{
items: [
{
id: "11",
name: "Bank transfer / postal",
},
{
id: "74",
name: "Banki Spółdzielcze",
},
{
id: "73",
name: "BLIK",
},
{
id: "32",
name: "BNP Paribas",
},
{
id: "16",
name: "Credit Agricole",
},
{
id: "83",
name: "EnveloBank",
},
{
id: "55",
name: "erata - dotpay installment",
},
{
id: "93",
name: "eSKOK",
},
{
id: "56",
name: "eurobank płatności online",
},
{
id: "76",
name: "Getin Bank PBL",
},
{
id: "81",
name: "Idea Cloud",
},
{
id: "7",
name: "ING Corporate customers",
},
{
id: "35",
name: "Kantor Polski",
},
{
id: "44",
name: "Millennium - Płatności Internetowe",
},
{
id: "10",
name: "Millennium Corporate customers",
},
{
id: "68",
name: "mRaty",
},
{
id: "1",
name: "mTransfer",
},
{
id: "80",
name: "Noble Pay",
},
{
id: "50",
name: "Pay Way Toyota Bank",
},
{
id: "45",
name: "Pay with Alior Bank",
},
{
id: "65",
name: "Paylink Idea Bank",
},
{
id: "36",
name: "Pekao24Przelew",
},
{
id: "70",
name: "Pocztowy24",
},
{
id: "6",
name: "Przelew24",
},
{
id: "46",
name: "Płacę z Citi Handlowy",
},
{
id: "38",
name: "Płacę z ING",
},
{
id: "2",
name: "Płacę z Inteligo",
},
{
id: "4",
name: "Płacę z iPKO",
},
{
id: "72",
name: "Płacę z Orange",
},
{
id: "66",
name: "Płacę z PBS",
},
{
id: "75",
name: "Płacę z Plus Bank",
},
{
id: "51",
name: "Płać z BOŚ",
},
{
id: "48",
name: "R-Przelew",
},
{
id: "88",
name: "Raiffeisen",
},
{
id: "52",
name: "SkyCash",
},
{
id: "58",
name: "Szybkie Platnosci Internetowe z Deutsche Bank PBC",
},
{
id: "60",
name: "T-Mobile usługi bankowe",
},
{
id: "21",
name: "VIA - Moje Rachunki",
},
{
id: "84",
name: "Volkswagen Bank direct",
},
{
id: "31",
name: "Zaplac w Zabce i we Freshmarket",
},
{
id: "24",
name: "mPay",
},
],
key: "issuer",
type: "select",
},
],
name: "Local Polish Payment Methods",
type: "dotpay",
},
{
name: "Finnish E-Banking",
type: "ebanking_FI",
},
{
name: "Lastschrift (ELV)",
type: "elv",
},
{
details: [
{
items: [
{
id: "550",
name: "?eská spo?itelna",
},
{
id: "231",
name: "POP Pankki",
},
{
id: "551",
name: "Kb",
},
{
id: "232",
name: "Aktia",
},
{
id: "552",
name: "Raiffeisen",
},
{
id: "750",
name: "Swedbank",
},
{
id: "211",
name: "Nordea",
},
{
id: "233",
name: "Säästöpankki",
},
{
id: "553",
name: "Csob",
},
{
id: "751",
name: "SEB",
},
{
id: "234",
name: "S-Pankki",
},
{
id: "554",
name: "Moneta",
},
{
id: "752",
name: "Nordea",
},
{
id: "235",
name: "OmaSP",
},
{
id: "213",
name: "Op-Pohjola",
},
{
id: "555",
name: "UniCredit",
},
{
id: "753",
name: "LHV",
},
{
id: "556",
name: "Fio",
},
{
id: "557",
name: "mBank",
},
{
id: "216",
name: "Handelsbanken",
},
{
id: "260",
name: "Länsförsäkringar",
},
{
id: "240",
name: "BankDeposit",
},
{
id: "265",
name: "Sparbanken",
},
{
id: "640",
name: "BankDeposit",
},
{
id: "200",
name: "Ålandsbanken",
},
{
id: "720",
name: "Swedbank",
},
{
id: "940",
name: "Swedbank",
},
{
id: "204",
name: "Danske Bank",
},
{
id: "721",
name: "SEB",
},
{
id: "941",
name: "SEB",
},
{
id: "722",
name: "DNB",
},
{
id: "942",
name: "Citadele",
},
{
id: "205",
name: "Handelsbanken",
},
{
id: "723",
name: "Šiaulių Bankas",
},
{
id: "943",
name: "DNB",
},
{
id: "206",
name: "Nordea",
},
{
id: "724",
name: "Nordea",
},
{
id: "207",
name: "SEB",
},
{
id: "208",
name: "Skandiabanken",
},
{
id: "209",
name: "Swedbank",
},
],
key: "issuer",
type: "select",
},
],
name: "Bank Payment",
type: "entercash",
},
{
name: "Nationale Entertainment Card",
type: "entertainmentcard",
},
{
name: "Gall & Gall",
type: "gallgall",
},
{
name: "Generic GiftCard",
type: "genericgiftcard",
},
{
details: [
{
key: "bic",
type: "text",
},
],
name: "GiroPay",
type: "giropay",
},
{
name: "Globe GCash",
type: "globegcash",
},
{
name: "Hunkemoller Lingerie Card",
type: "hmlingerie",
},
{
details: [
{
items: [
{
id: "1121",
name: "Test Issuer",
},
{
id: "1154",
name: "Test Issuer 5",
},
{
id: "1153",
name: "Test Issuer 4",
},
{
id: "1152",
name: "Test Issuer 3",
},
{
id: "1151",
name: "Test Issuer 2",
},
{
id: "1162",
name: "Test Issuer Cancelled",
},
{
id: "1161",
name: "Test Issuer Pending",
},
{
id: "1160",
name: "Test Issuer Refused",
},
{
id: "1159",
name: "Test Issuer 10",
},
{
id: "1158",
name: "Test Issuer 9",
},
{
id: "1157",
name: "Test Issuer 8",
},
{
id: "1156",
name: "Test Issuer 7",
},
{
id: "1155",
name: "Test Issuer 6",
},
],
key: "idealIssuer",
type: "select",
},
],
name: "iDEAL",
type: "ideal",
},
{
name: "Phone Payment",
type: "ivr",
},
{
name: "Landline phone",
type: "ivrLandline",
},
{
name: "Mobile phone",
type: "ivrMobile",
},
{
details: [
{
details: [
{
key: "firstName",
type: "text",
},
{
key: "infix",
optional: "true",
type: "text",
},
{
key: "lastName",
type: "text",
},
{
items: [
{
id: "M",
name: "MALE",
},
{
id: "F",
name: "FEMALE",
},
],
key: "gender",
type: "radio",
},
{
key: "dateOfBirth",
type: "date",
},
{
key: "telephoneNumber",
type: "tel",
},
{
key: "socialSecurityNumber",
optional: "true",
type: "text",
},
{
key: "shopperEmail",
type: "emailAddress",
},
],
key: "personalDetails",
type: "fieldSet",
},
{
details: [
{
key: "street",
type: "text",
},
{
key: "houseNumberOrName",
type: "text",
},
{
key: "city",
type: "text",
},
{
key: "postalCode",
type: "text",
},
{
key: "stateOrProvince",
optional: "true",
type: "text",
},
{
items: [
{
id: "SE",
name: "SWEDEN",
},
{
id: "NO",
name: "NORWAY",
},
{
id: "FI",
name: "FINLAND",
},
{
id: "DK",
name: "DENMARK",
},
{
id: "AT",
name: "AUSTRIA",
},
{
id: "DE",
name: "GERMANY",
},
{
id: "NL",
name: "NETHERLANDS",
},
],
key: "country",
type: "select",
},
],
key: "billingAddress",
type: "address",
},
{
key: "separateDeliveryAddress",
optional: "true",
type: "boolean",
value: "false",
},
{
details: [
{
key: "street",
type: "text",
},
{
key: "houseNumberOrName",
type: "text",
},
{
key: "city",
type: "text",
},
{
key: "postalCode",
type: "text",
},
{
key: "stateOrProvince",
optional: "true",
type: "text",
},
{
items: [
{
id: "SE",
name: "SWEDEN",
},
{
id: "NO",
name: "NORWAY",
},
{
id: "FI",
name: "FINLAND",
},
{
id: "DK",
name: "DENMARK",
},
{
id: "AT",
name: "AUSTRIA",
},
{
id: "DE",
name: "GERMANY",
},
{
id: "NL",
name: "NETHERLANDS",
},
],
key: "country",
type: "select",
},
],
key: "deliveryAddress",
optional: "true",
type: "address",
},
],
name: "Pay later with Klarna.",
type: "klarna",
},
{
name: "Multibanco",
type: "multibanco",
},
{
name: "Russian Online Payments",
type: "online_RU",
},
{
name: "Invoice",
type: "openinvoice",
},
{
name: "PayPal",
type: "paypal",
},
{
name: "Paysafecard",
type: "paysafecard",
},
{
name: "POLi",
type: "poli",
},
{
details: [
{
items: [
{
id: "+7",
name: "RU",
},
{
id: "+9955",
name: "GE",
},
{
id: "+507",
name: "PA",
},
{
id: "+44",
name: "GB",
},
{
id: "+992",
name: "TJ",
},
{
id: "+370",
name: "LT",
},
{
id: "+972",
name: "IL",
},
{
id: "+996",
name: "KG",
},
{
id: "+380",
name: "UA",
},
{
id: "+84",
name: "VN",
},
{
id: "+90",
name: "TR",
},
{
id: "+994",
name: "AZ",
},
{
id: "+374",
name: "AM",
},
{
id: "+371",
name: "LV",
},
{
id: "+91",
name: "IN",
},
{
id: "+66",
name: "TH",
},
{
id: "+373",
name: "MD",
},
{
id: "+1",
name: "US",
},
{
id: "+81",
name: "JP",
},
{
id: "+998",
name: "UZ",
},
{
id: "+77",
name: "KZ",
},
{
id: "+375",
name: "BY",
},
{
id: "+372",
name: "EE",
},
{
id: "+40",
name: "RO",
},
{
id: "+82",
name: "KR",
},
],
key: "qiwiwallet.telephoneNumberPrefix",
type: "select",
},
{
key: "qiwiwallet.telephoneNumber",
type: "text",
},
],
name: "Qiwi Wallet",
type: "qiwiwallet",
},
{
name: "RatePay Invoice",
type: "ratepay",
},
{
name: "SafetyPay",
type: "safetypay",
},
{
details: [
{
key: "sepa.ownerName",
type: "text",
},
{
key: "sepa.ibanNumber",
type: "text",
},
],
name: "SEPA Direct Debit",
type: "sepadirectdebit",
},
{
name: "Premium SMS",
type: "sms",
},
{
name: "TenPay",
type: "tenpay",
},
{
name: "Russian Cash Terminal Payments",
type: "terminal_RU",
},
{
name: "Trustly Direct bank e-Payments",
type: "trustly",
},
{
name: "Online Banking by Trustpay",
type: "trustpay",
},
{
name: "UnionPay",
type: "unionpay",
},
{
name: "Russian Wallet Payments",
type: "wallet_RU",
},
{
name: "Webshop Giftcard",
type: "webshopgiftcard",
},
{
name: "Your Gift",
type: "yourgift",
},
],
});
//# sourceMappingURL=paymentMethodsSuccess.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +0,0 @@
export declare const paymentSessionError: {
statusCode: number;
errorCode: string;
message: string;
errorType: string;
};

View File

@@ -1,7 +0,0 @@
export var paymentSessionError = {
statusCode: 422,
errorCode: "14_012",
message: "The provided SDK token could not be parsed.",
errorType: "validation",
};
//# sourceMappingURL=paymentSessionErrorInvalidData422.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"paymentSessionErrorInvalidData422.js","sourceRoot":"","sources":["../../../../../src/__mocks__/checkout/paymentSessionErrorInvalidData422.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAC,IAAM,mBAAmB,GAAG;IAC/B,UAAU,EAAE,GAAG;IACf,SAAS,EAAE,QAAQ;IACnB,OAAO,EAAE,6CAA6C;IACtD,SAAS,EAAE,YAAY;CAC1B,CAAC"}

View File

@@ -1,3 +0,0 @@
export declare const paymentSessionSuccess: {
paymentSession: string;
};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
{"version":3,"file":"paymentSessionSucess.js","sourceRoot":"","sources":["../../../../../src/__mocks__/checkout/paymentSessionSucess.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAC,IAAM,qBAAqB,GAAG;IACjC,cAAc,EAAE,k+YAAk+Y;CACr/Y,CAAC"}

View File

@@ -1,6 +0,0 @@
export declare const paymentMethodsError: {
errorCode: string;
errorType: string;
statusMessage: string;
statusCode: number;
};

View File

@@ -1,7 +0,0 @@
export var paymentMethodsError = {
errorCode: "901",
errorType: "security",
statusMessage: "Invalid Merchant Account",
statusCode: 403,
};
//# sourceMappingURL=paymentmethodsErrorForbidden403.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"paymentmethodsErrorForbidden403.js","sourceRoot":"","sources":["../../../../../src/__mocks__/checkout/paymentmethodsErrorForbidden403.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,IAAM,mBAAmB,GAAG;IAC/B,SAAS,EAAE,KAAK;IAChB,SAAS,EAAE,UAAU;IACrB,aAAa,EAAE,0BAA0B;IACzC,UAAU,EAAE,GAAG;CAClB,CAAC"}

View File

@@ -1,6 +0,0 @@
export declare const paymentDetailsError: {
statusCode: number;
errorCode: string;
message: string;
errorType: string;
};

View File

@@ -1,7 +0,0 @@
export var paymentDetailsError = {
statusCode: 422,
errorCode: "101",
message: "Invalid card number",
errorType: "validation",
};
//# sourceMappingURL=paymentsDetailsErrorInvalidData422.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"paymentsDetailsErrorInvalidData422.js","sourceRoot":"","sources":["../../../../../src/__mocks__/checkout/paymentsDetailsErrorInvalidData422.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAC,IAAM,mBAAmB,GAAG;IAC/B,UAAU,EAAE,GAAG;IACf,SAAS,EAAE,KAAK;IAChB,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CAC1B,CAAC"}

View File

@@ -1 +0,0 @@
export declare const paymentDetailsSuccess: string;

View File

@@ -1,9 +0,0 @@
export var paymentDetailsSuccess = JSON.stringify({
pspReference: "8515232733321252",
resultCode: "Authorised",
additionalData: {
liabilityShift: "true",
refusalReasonRaw: "AUTHORISED",
},
});
//# sourceMappingURL=paymentsDetailsSuccess.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"paymentsDetailsSuccess.js","sourceRoot":"","sources":["../../../../../src/__mocks__/checkout/paymentsDetailsSuccess.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAC,IAAM,qBAAqB,GAAG,IAAI,CAAC,SAAS,CAAC;IAChD,YAAY,EAAE,kBAAkB;IAChC,UAAU,EAAE,YAAY;IACxB,cAAc,EAAE;QACZ,cAAc,EAAE,MAAM;QACtB,gBAAgB,EAAE,YAAY;KACjC;CACJ,CAAC,CAAC"}

View File

@@ -1 +0,0 @@
export declare const paymentsError: string;

View File

@@ -1,7 +0,0 @@
export var paymentsError = JSON.stringify({
statusCode: 422,
errorCode: "130",
statusMessage: "Reference Missing",
errorType: "validation",
});
//# sourceMappingURL=paymentsErrorInvalidData422.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"paymentsErrorInvalidData422.js","sourceRoot":"","sources":["../../../../../src/__mocks__/checkout/paymentsErrorInvalidData422.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAC,IAAM,aAAa,GAAG,IAAI,CAAC,SAAS,CAAC;IACxC,UAAU,EAAE,GAAG;IACf,SAAS,EAAE,KAAK;IAChB,aAAa,EAAE,mBAAmB;IAClC,SAAS,EAAE,YAAY;CAC1B,CAAC,CAAC"}

View File

@@ -1 +0,0 @@
export declare const paymentsResultError: string;

View File

@@ -1,7 +0,0 @@
export var paymentsResultError = JSON.stringify({
statusCode: 422,
errorCode: "14_018",
message: "Invalid payload provided",
errorType: "validation",
});
//# sourceMappingURL=paymentsResultErrorInvalidDataPayload422.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"paymentsResultErrorInvalidDataPayload422.js","sourceRoot":"","sources":["../../../../../src/__mocks__/checkout/paymentsResultErrorInvalidDataPayload422.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAC,IAAM,mBAAmB,GAAG,IAAI,CAAC,SAAS,CAAC;IAC9C,UAAU,EAAE,GAAG;IACf,SAAS,EAAE,QAAQ;IACnB,OAAO,EAAE,0BAA0B;IACnC,SAAS,EAAE,YAAY;CAC1B,CAAC,CAAC"}

View File

@@ -1,14 +0,0 @@
export declare const paymentsResultMultibancoSuccess: {
additionalData: {
cvcResult: string;
avsResult: string;
"comprafacil.deadline": string;
"comprafacil.reference": string;
paymentMethod: string;
paymentMethodVariant: string;
"comprafacil.entity": string;
"comprafacil.amount": string;
};
pspReference: string;
resultCode: string;
};

View File

@@ -1,15 +0,0 @@
export var paymentsResultMultibancoSuccess = {
additionalData: {
"cvcResult": "0",
"avsResult": "0",
"comprafacil.deadline": "3",
"comprafacil.reference": "123 123 123",
"paymentMethod": "multibanco",
"paymentMethodVariant": "multibanco",
"comprafacil.entity": "12345",
"comprafacil.amount": "101.01",
},
pspReference: "8111111111111111",
resultCode: "Received",
};
//# sourceMappingURL=paymentsResultMultibancoSuccess.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"paymentsResultMultibancoSuccess.js","sourceRoot":"","sources":["../../../../../src/__mocks__/checkout/paymentsResultMultibancoSuccess.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAC,IAAM,+BAA+B,GAAG;IAC3C,cAAc,EAAE;QACZ,WAAW,EAAE,GAAG;QAChB,WAAW,EAAE,GAAG;QAChB,sBAAsB,EAAE,GAAG;QAC3B,uBAAuB,EAAE,aAAa;QACtC,eAAe,EAAE,YAAY;QAC7B,sBAAsB,EAAE,YAAY;QACpC,oBAAoB,EAAE,OAAO;QAC7B,oBAAoB,EAAE,QAAQ;KACjC;IACD,YAAY,EAAE,kBAAkB;IAChC,UAAU,EAAE,UAAU;CACzB,CAAC"}

View File

@@ -1 +0,0 @@
export declare const paymentsResultSuccess: string;

View File

@@ -1,5 +0,0 @@
export var paymentsResultSuccess = JSON.stringify({
pspReference: "8535253563623704",
resultCode: "Authorised",
});
//# sourceMappingURL=paymentsResultSucess.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"paymentsResultSucess.js","sourceRoot":"","sources":["../../../../../src/__mocks__/checkout/paymentsResultSucess.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAC,IAAM,qBAAqB,GAAG,IAAI,CAAC,SAAS,CAAC;IAChD,YAAY,EAAE,kBAAkB;IAChC,UAAU,EAAE,YAAY;CAC3B,CAAC,CAAC"}

View File

@@ -1 +0,0 @@
export declare const paymentsSuccess: string;

View File

@@ -1,99 +0,0 @@
export var paymentsSuccess = JSON.stringify({
additionalData: {
expiryDate: "8/2018",
fraudResultType: "GREEN",
cardBin: "411111",
cardSummary: "1111",
fraudManualReview: "false",
aliasType: "Default",
alias: "H167852639363479",
cardPaymentMethod: "visa",
cardIssuingCountry: "NL",
"recurring.recurringDetailReference": "8415883203388055",
},
fraudResult: {
accountScore: 0,
results: [
{
FraudCheckResult: {
accountScore: 0,
checkId: 2,
name: "CardChunkUsage",
},
},
{
FraudCheckResult: {
accountScore: 0,
checkId: 3,
name: "PaymentDetailUsage",
},
},
{
FraudCheckResult: {
accountScore: 0,
checkId: 4,
name: "HolderNameUsage",
},
},
{
FraudCheckResult: {
accountScore: 0,
checkId: 1,
name: "PaymentDetailRefCheck",
},
},
{
FraudCheckResult: {
accountScore: 0,
checkId: 13,
name: "IssuerRefCheck",
},
},
{
FraudCheckResult: {
accountScore: 0,
checkId: 15,
name: "IssuingCountryReferral",
},
},
{
FraudCheckResult: {
accountScore: 0,
checkId: 27,
name: "PmOwnerRefCheck",
},
},
{
FraudCheckResult: {
accountScore: 0,
checkId: 10,
name: "HolderNameContainsNumber",
},
},
{
FraudCheckResult: {
accountScore: 0,
checkId: 11,
name: "HolderNameIsOneWord",
},
},
{
FraudCheckResult: {
accountScore: 0,
checkId: 82,
name: "CustomFieldCheck",
},
},
{
FraudCheckResult: {
accountScore: 0,
checkId: 25,
name: "CVCAuthResultCheck",
},
},
],
},
pspReference: "8535296650153317",
resultCode: "Authorised",
});
//# sourceMappingURL=paymentsSuccess.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"paymentsSuccess.js","sourceRoot":"","sources":["../../../../../src/__mocks__/checkout/paymentsSuccess.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAC,IAAM,eAAe,GAAG,IAAI,CAAC,SAAS,CAAC;IAC1C,cAAc,EAAE;QACZ,UAAU,EAAE,QAAQ;QACpB,eAAe,EAAE,OAAO;QACxB,OAAO,EAAE,QAAQ;QACjB,WAAW,EAAE,MAAM;QACnB,iBAAiB,EAAE,OAAO;QAC1B,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,kBAAkB;QACzB,iBAAiB,EAAE,MAAM;QACzB,kBAAkB,EAAE,IAAI;QACxB,oCAAoC,EAAE,kBAAkB;KAC3D;IACD,WAAW,EAAE;QACT,YAAY,EAAE,CAAC;QACf,OAAO,EAAE;YACL;gBACI,gBAAgB,EAAE;oBACd,YAAY,EAAE,CAAC;oBACf,OAAO,EAAE,CAAC;oBACV,IAAI,EAAE,gBAAgB;iBACzB;aACJ;YACD;gBACI,gBAAgB,EAAE;oBACd,YAAY,EAAE,CAAC;oBACf,OAAO,EAAE,CAAC;oBACV,IAAI,EAAE,oBAAoB;iBAC7B;aACJ;YACD;gBACI,gBAAgB,EAAE;oBACd,YAAY,EAAE,CAAC;oBACf,OAAO,EAAE,CAAC;oBACV,IAAI,EAAE,iBAAiB;iBAC1B;aACJ;YACD;gBACI,gBAAgB,EAAE;oBACd,YAAY,EAAE,CAAC;oBACf,OAAO,EAAE,CAAC;oBACV,IAAI,EAAE,uBAAuB;iBAChC;aACJ;YACD;gBACI,gBAAgB,EAAE;oBACd,YAAY,EAAE,CAAC;oBACf,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE,gBAAgB;iBACzB;aACJ;YACD;gBACI,gBAAgB,EAAE;oBACd,YAAY,EAAE,CAAC;oBACf,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE,wBAAwB;iBACjC;aACJ;YACD;gBACI,gBAAgB,EAAE;oBACd,YAAY,EAAE,CAAC;oBACf,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE,iBAAiB;iBAC1B;aACJ;YACD;gBACI,gBAAgB,EAAE;oBACd,YAAY,EAAE,CAAC;oBACf,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE,0BAA0B;iBACnC;aACJ;YACD;gBACI,gBAAgB,EAAE;oBACd,YAAY,EAAE,CAAC;oBACf,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE,qBAAqB;iBAC9B;aACJ;YACD;gBACI,gBAAgB,EAAE;oBACd,YAAY,EAAE,CAAC;oBACf,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE,kBAAkB;iBAC3B;aACJ;YACD;gBACI,gBAAgB,EAAE;oBACd,YAAY,EAAE,CAAC;oBACf,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE,oBAAoB;iBAC7B;aACJ;SACJ;KACJ;IACD,YAAY,EAAE,kBAAkB;IAChC,UAAU,EAAE,YAAY;CAC3B,CAAC,CAAC"}

View File

@@ -1 +0,0 @@
export declare const originKeysSuccess: string;

View File

@@ -1,8 +0,0 @@
export var originKeysSuccess = JSON.stringify({
originKeys: {
"https://www.your-domain1.com": "pub.v2.7814286629520534.aHR0cHM6Ly93d3cueW91ci1kb21haW4xLmNvbQ.UEwIBmW9-c_uXo5wSEr2w8Hz8hVIpujXPHjpcEse3xI",
"https://www.your-domain2.com": "pub.v2.7814286629520534.aHR0cHM6Ly93d3cueW91ci1kb21haW4yLmNvbQ.EP6eXBJKk0t7-QIUl6e_b1qMuMHGepxG_SlUqxAYrfY",
"https://www.your-domain3.com": "pub.v2.7814286629520534.aHR0cHM6Ly93d3cueW91ci1kb21haW4zLmNvbQ.fUvflu-YIdZSsLEH8Qqmr7ksE4ag_NYiiMXK0s6aq_4",
},
});
//# sourceMappingURL=originkeysSuccess.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"originkeysSuccess.js","sourceRoot":"","sources":["../../../../../src/__mocks__/checkoutUtility/originkeysSuccess.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,IAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,CAAC;IAC5C,UAAU,EAAE;QACR,8BAA8B,EAAE,4GAA4G;QAC5I,8BAA8B,EAAE,4GAA4G;QAC5I,8BAA8B,EAAE,4GAA4G;KAC/I;CACJ,CAAC,CAAC"}

View File

@@ -1,36 +0,0 @@
{
"live": "false",
"notificationItems": [
{
"NotificationRequestItem": {
"additionalData": {
"expiryDate": "12\/2012",
" NAME1 ": "VALUE1",
"authCode": "1234",
"cardSummary": "7777",
"totalFraudScore": "10",
"hmacSignature": "OzDjCMZIsdtDqrZ+cl\/FWC+WdESrorctXTzAzW33dXI=",
"NAME2": " VALUE2 ",
"fraudCheck-6-ShopperIpUsage": "10"
},
"amount": {
"currency": "EUR",
"value": 10100
},
"eventCode": "AUTHORISATION",
"eventDate": "2017-01-19T16:42:03+01:00",
"merchantAccountCode": "MagentoMerchantTest2",
"merchantReference": "8313842560770001",
"operations": [
"CANCEL",
"CAPTURE",
"REFUND"
],
"paymentMethod": "visa",
"pspReference": "123456789",
"reason": "1234:7777:12\/2012",
"success": "true"
}
}
]
}

View File

@@ -1,25 +0,0 @@
{
"live": "false",
"notificationItems": [
{
"NotificationRequestItem": {
"additionalData": {
"hmacSignature": "KujHNqpyCAMdGefj7lfQ8AeD0Jke9Zs2bVAqScQDWi4="
},
"amount": {
"currency": "USD",
"value": 23623
},
"eventCode": "CAPTURE",
"eventDate": "2017-01-25T18:08:19+01:00",
"merchantAccountCode": "MagentoMerchantTest2",
"merchantReference": "00000001",
"originalReference": "ORIGINAL_PSP",
"paymentMethod": "visa",
"pspReference": "PSP_REFERENCE",
"reason": "Insufficient balance on payment",
"success": "false"
}
}
]
}

View File

@@ -1,25 +0,0 @@
{
"live": "false",
"notificationItems": [
{
"NotificationRequestItem": {
"additionalData": {
"hmacSignature": "qvS6I3Gdi1jx+jSh7IopAgcHtMoxvXlNL7DYQ+j1hd0="
},
"amount": {
"currency": "USD",
"value": 23623
},
"eventCode": "CAPTURE",
"eventDate": "2017-01-25T18:08:19+01:00",
"merchantAccountCode": "MagentoMerchantTest2",
"merchantReference": "00000001",
"originalReference": "ORIGINAL_PSP",
"paymentMethod": "visa",
"pspReference": "PSP_REFERENCE",
"reason": "",
"success": "true"
}
}
]
}

View File

@@ -1,25 +0,0 @@
{
"live": "false",
"notificationItems": [
{
"NotificationRequestItem": {
"additionalData": {
"hmacSignature": "HZXziBYopfDIzDhk49iC\/\/yCfxmy\/z0xWuvvTxFNUSA="
},
"amount": {
"currency": "EUR",
"value": 1500
},
"eventCode": "REFUND",
"eventDate": "2017-02-17T11:04:07+01:00",
"merchantAccountCode": "MagentoMerchantTest2",
"merchantReference": "payment-2017-1-17-11-refund",
"originalReference": "ORIGINAL_PSP",
"paymentMethod": "visa",
"pspReference": "PSP_REFERENCE",
"reason": "Insufficient balance on payment",
"success": "false"
}
}
]
}

View File

@@ -1,25 +0,0 @@
{
"live": "false",
"notificationItems": [
{
"NotificationRequestItem": {
"additionalData": {
"hmacSignature": "KJFhURWP8Pv9m8k+7NGHNJAupBj6X6J\/VWAikFxeWhA="
},
"amount": {
"currency": "EUR",
"value": 1500
},
"eventCode": "REFUND",
"eventDate": "2017-02-17T11:11:44+01:00",
"merchantAccountCode": "MagentoMerchantTest2",
"merchantReference": "payment-2017-1-17-11-refund",
"originalReference": "ORIGINAL_PSP",
"paymentMethod": "visa",
"pspReference": "PSP_REFERENCE",
"reason": "",
"success": "true"
}
}
]
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
{"version":3,"file":"documentContent.js","sourceRoot":"","sources":["../../../../../src/__mocks__/platforms/documentContent.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,eAAe,GAAG,636LAA636L,CAAA"}

View File

@@ -1,3 +0,0 @@
export declare const disableSuccess: {
response: string;
};

View File

@@ -1,4 +0,0 @@
export var disableSuccess = {
response: "[detail-successfully-disabled]",
};
//# sourceMappingURL=disableSuccess.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"disableSuccess.js","sourceRoot":"","sources":["../../../../../src/__mocks__/recurring/disableSuccess.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,IAAM,cAAc,GAAG;IAC1B,QAAQ,EAAE,gCAAgC;CAC7C,CAAC"}

View File

@@ -1,51 +0,0 @@
export declare const listRecurringDetailsSuccess: {
creationDate: string;
details: ({
additionalData: {
cardBin: string;
};
alias: string;
aliasType: string;
card: {
expiryMonth: string;
expiryYear: string;
holderName: string;
number: string;
};
contractTypes: string[];
creationDate: string;
firstPspReference: string;
paymentMethodVariant: string;
recurringDetailReference: string;
variant: string;
billingAddress?: undefined;
tokenDetails?: undefined;
} | {
billingAddress: {
city: string;
country: string;
houseNumberOrName: string;
postalCode: string;
stateOrProvince: string;
street: string;
};
contractTypes: string[];
creationDate: string;
firstPspReference: string;
paymentMethodVariant: string;
recurringDetailReference: string;
tokenDetails: {
tokenData: {
BillingAgreementId: string;
EmailId: string;
"PayPal.PayerId": string;
};
tokenDataType: string;
};
variant: string;
additionalData?: undefined;
alias?: undefined;
aliasType?: undefined;
card?: undefined;
})[];
};

View File

@@ -1,53 +0,0 @@
export var listRecurringDetailsSuccess = {
creationDate: "2017-03-01T10:53:11.000",
details: [
{
additionalData: {
cardBin: "411111",
},
alias: "cardAlias",
aliasType: "Default",
card: {
expiryMonth: "8",
expiryYear: "2018",
holderName: "Holder",
number: "1111",
},
contractTypes: [
"ONECLICK",
],
creationDate: "2017-03-01T10:53:11.000",
firstPspReference: "8524888762135795",
paymentMethodVariant: "visa",
recurringDetailReference: "recurringReference",
variant: "visa",
},
{
billingAddress: {
city: "City",
country: "NL",
houseNumberOrName: "1",
postalCode: "2312aa",
stateOrProvince: "NA",
street: "Street",
},
contractTypes: [
"RECURRING",
],
creationDate: "2017-03-01T10:53:11.000",
firstPspReference: "8515076181707110",
paymentMethodVariant: "paypal",
recurringDetailReference: "8315076181982020",
tokenDetails: {
tokenData: {
"BillingAgreementId": "B-7MA42752FE774625C",
"EmailId": "tedtest@test.nl",
"PayPal.PayerId": "H95EPL8B2KFE6",
},
tokenDataType: "PayPal",
},
variant: "paypal",
},
],
};
//# sourceMappingURL=listRecurringDetailsSuccess.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"listRecurringDetailsSuccess.js","sourceRoot":"","sources":["../../../../../src/__mocks__/recurring/listRecurringDetailsSuccess.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,IAAM,2BAA2B,GAAG;IACvC,YAAY,EAAE,yBAAyB;IACvC,OAAO,EAAE;QACL;YACI,cAAc,EAAE;gBACZ,OAAO,EAAE,QAAQ;aACpB;YACD,KAAK,EAAE,WAAW;YAClB,SAAS,EAAE,SAAS;YACpB,IAAI,EAAE;gBACF,WAAW,EAAE,GAAG;gBAChB,UAAU,EAAE,MAAM;gBAClB,UAAU,EAAE,QAAQ;gBACpB,MAAM,EAAE,MAAM;aACjB;YACD,aAAa,EAAE;gBACX,UAAU;aACb;YACD,YAAY,EAAE,yBAAyB;YACvC,iBAAiB,EAAE,kBAAkB;YACrC,oBAAoB,EAAE,MAAM;YAC5B,wBAAwB,EAAE,oBAAoB;YAC9C,OAAO,EAAE,MAAM;SAClB;QACD;YACI,cAAc,EAAE;gBACZ,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,IAAI;gBACb,iBAAiB,EAAE,GAAG;gBACtB,UAAU,EAAE,QAAQ;gBACpB,eAAe,EAAE,IAAI;gBACrB,MAAM,EAAE,QAAQ;aACnB;YACD,aAAa,EAAE;gBACX,WAAW;aACd;YACD,YAAY,EAAE,yBAAyB;YACvC,iBAAiB,EAAE,kBAAkB;YACrC,oBAAoB,EAAE,QAAQ;YAC9B,wBAAwB,EAAE,kBAAkB;YAC5C,YAAY,EAAE;gBACV,SAAS,EAAE;oBACP,oBAAoB,EAAE,qBAAqB;oBAC3C,SAAS,EAAE,iBAAiB;oBAC5B,gBAAgB,EAAE,eAAe;iBACpC;gBACD,aAAa,EAAE,QAAQ;aAC1B;YACD,OAAO,EAAE,QAAQ;SACpB;KACJ;CACJ,CAAC"}

View File

@@ -1 +0,0 @@
export declare const asyncRes = "ok";

View File

@@ -1,2 +0,0 @@
export var asyncRes = "ok";
//# sourceMappingURL=async.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"async.js","sourceRoot":"","sources":["../../../../../src/__mocks__/terminalApi/async.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,IAAM,QAAQ,GAAG,IAAI,CAAC"}

View File

@@ -1,56 +0,0 @@
export declare const localSecuredRes: {
SaleToPOIResponse: {
MessageHeader: {
MessageCategory: string;
MessageClass: string;
MessageType: string;
POIID: string;
ProtocolVersion: string;
SaleID: string;
ServiceID: string;
};
PaymentResponse: {};
};
};
export declare const localEncRes: {
SaleToPOIResponse: {
MessageHeader: {
MessageCategory: string;
MessageClass: string;
MessageType: string;
POIID: string;
ProtocolVersion: string;
SaleID: string;
ServiceID: string;
};
NexoBlob: string;
SecurityTrailer: {
AdyenCryptoVersion: number;
Hmac: string;
KeyIdentifier: string;
KeyVersion: number;
Nonce: string;
};
};
};
export declare const wrongEncRes: {
SaleToPOIResponse: {
MessageHeader: {
MessageCategory: string;
MessageClass: string;
MessageType: string;
POIID: string;
ProtocolVersion: string;
SaleID: string;
ServiceID: string;
};
NexoBlob: string;
SecurityTrailer: {
AdyenCryptoVersion: number;
Hmac: string;
KeyIdentifier: string;
KeyVersion: number;
Nonce: string;
};
};
};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
{"version":3,"file":"local.js","sourceRoot":"","sources":["../../../../../src/__mocks__/terminalApi/local.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAC,IAAM,eAAe,GAAG;IAC3B,iBAAiB,EAAE;QACf,aAAa,EAAE;YACX,eAAe,EAAE,SAAS;YAC1B,YAAY,EAAE,SAAS;YACvB,WAAW,EAAE,UAAU;YACvB,KAAK,EAAE,oBAAoB;YAC3B,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,WAAW;YACnB,SAAS,EAAE,WAAW;SACzB;QACD,eAAe,EAAE,EAAE;KACtB;CACJ,CAAC;AAEF,MAAM,CAAC,IAAM,WAAW,GAAG;IACvB,iBAAiB,EAAE;QACf,aAAa,EAAE;YACX,eAAe,EAAE,SAAS;YAC1B,YAAY,EAAE,SAAS;YACvB,WAAW,EAAE,UAAU;YACvB,KAAK,EAAE,oBAAoB;YAC3B,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,WAAW;YACnB,SAAS,EAAE,WAAW;SACzB;QACD,QAAQ,EAAE,8tUAsFwD;QAClE,eAAe,EAAE;YACb,kBAAkB,EAAE,CAAC;YACrB,IAAI,EAAE,8CAA8C;YACpD,aAAa,EAAE,0BAA0B;YACzC,UAAU,EAAE,CAAC;YACb,KAAK,EAAE,0BAA0B;SACpC;KACJ;CACJ,CAAC;AAEF,MAAM,CAAC,IAAM,WAAW,GAAG;IACvB,iBAAiB,EAAE;QACf,aAAa,EAAE;YACX,eAAe,EAAE,SAAS;YAC1B,YAAY,EAAE,SAAS;YACvB,WAAW,EAAE,UAAU;YACvB,KAAK,EAAE,oBAAoB;YAC3B,eAAe,EAAE,KAAK;YACtB,MAAM,EAAE,WAAW;YACnB,SAAS,EAAE,WAAW;SACzB;QACD,QAAQ,EAAE,8tUAsFwD;QAClE,eAAe,EAAE;YACb,kBAAkB,EAAE,CAAC;YACrB,IAAI,EAAE,8CAA8C;YACpD,aAAa,EAAE,0BAA0B;YACzC,UAAU,EAAE,CAAC;YACb,KAAK,EAAE,0BAA0B;SACpC;KACJ;CACJ,CAAC"}

View File

@@ -1,93 +0,0 @@
export declare const syncRes: {
SaleToPOIResponse: {
MessageHeader: {
MessageCategory: string;
MessageClass: string;
MessageType: string;
POIID: string | undefined;
ProtocolVersion: string;
SaleID: string;
ServiceID: string;
};
PaymentResponse: {
POIData: {
POIReconciliationID: string;
POITransactionID: {
TimeStamp: string;
TransactionID: string;
};
};
PaymentReceipt: {
DocumentQualifier: string;
OutputContent: {
OutputFormat: string;
OutputText: ({
CharacterStyle: string;
EndOfLineFlag: boolean;
Text: string;
} | {
EndOfLineFlag: boolean;
Text: string;
CharacterStyle?: undefined;
})[];
};
RequiredSignatureFlag: boolean;
}[];
PaymentResult: {
AmountsResp: {
AuthorizedAmount: number;
Currency: string;
};
OnlineFlag: boolean;
PaymentAcquirerData: {
AcquirerPOIID: string;
AcquirerTransactionID: {
TimeStamp: string;
TransactionID: string;
};
ApprovalCode: string;
MerchantID: string;
};
PaymentInstrumentData: {
CardData: {
EntryMode: string[];
MaskedPan: string;
PaymentBrand: string;
SensitiveCardData: {
ExpiryDate: string;
};
};
PaymentInstrumentType: string;
};
};
Response: {
AdditionalResponse: string;
Result: string;
};
SaleData: {
SaleTransactionID: {
TimeStamp: string;
TransactionID: string;
};
};
};
};
};
export declare const syncRefund: {
SaleToPOIResponse: {
MessageHeader: {
MessageCategory: string;
MessageClass: string;
MessageType: string;
POIID: string | undefined;
ProtocolVersion: string;
SaleID: string;
ServiceID: string;
};
ReversalResponse: {
Response: {
Result: string;
};
};
};
};

View File

@@ -1,338 +0,0 @@
export var syncRes = {
SaleToPOIResponse: {
MessageHeader: {
MessageCategory: "Payment",
MessageClass: "Service",
MessageType: "Response",
POIID: process.env.ADYEN_TERMINAL_POIID,
ProtocolVersion: "3.0",
SaleID: "001",
ServiceID: "001",
},
PaymentResponse: {
POIData: {
POIReconciliationID: "1000",
POITransactionID: {
TimeStamp: "2019-04-29T00:00:00.000Z",
TransactionID: "4r7i001556529591000.8515565295894301",
},
},
PaymentReceipt: [
{
DocumentQualifier: "CashierReceipt",
OutputContent: {
OutputFormat: "Text",
OutputText: [
{
CharacterStyle: "Bold",
EndOfLineFlag: true,
Text: "key=header1",
},
{
CharacterStyle: "Bold",
EndOfLineFlag: true,
Text: "key=header2",
},
{
CharacterStyle: "Bold",
EndOfLineFlag: true,
Text: "name=MERCHANT%20COPY&key=merchantTitle",
},
{
EndOfLineFlag: true,
Text: "key=filler",
},
{
EndOfLineFlag: true,
Text: "name=Date&value=29%2f04%2f19&key=txdate",
},
{
EndOfLineFlag: true,
Text: "name=Time&value=10%3a19%3a51&key=txtime",
},
{
EndOfLineFlag: true,
Text: "key=filler",
},
{
EndOfLineFlag: true,
Text: "name=Card&value=%2a%2a%2a%2a%2a%2a%2a%2a%2a%2a%2a%2a3511&key=pan",
},
{
EndOfLineFlag: true,
Text: "name=Pref.%20name&value=MCC%20351%20v1%202&key=preferredName",
},
{
EndOfLineFlag: true,
Text: "name=Card%20type&value=mc&key=cardType",
},
{
EndOfLineFlag: true,
Text: "name=Payment%20method&value=mc&key=paymentMethod",
},
{
EndOfLineFlag: true,
Text: "name=Payment%20variant&value=mc&key=paymentMethodVariant",
},
{
EndOfLineFlag: true,
Text: "name=Entry%20mode&value=Contactless%20swipe&key=posEntryMode",
},
{
EndOfLineFlag: true,
Text: "key=filler",
},
{
EndOfLineFlag: true,
Text: "name=AID&value=A0000000041010&key=aid",
},
{
EndOfLineFlag: true,
Text: "name=MID&value=1000&key=mid",
},
{
EndOfLineFlag: true,
Text: "name=TID&value=P400Plus-275039202&key=tid",
},
{
EndOfLineFlag: true,
Text: "name=PTID&value=75039202&key=ptid",
},
{
EndOfLineFlag: true,
Text: "key=filler",
},
{
EndOfLineFlag: true,
Text: "name=Auth.%20code&value=123456&key=authCode",
},
{
EndOfLineFlag: true,
Text: "name=Tender&value=4r7i001556529591000&key=txRef",
},
{
EndOfLineFlag: true,
Text: "name=Reference&value=003&key=mref",
},
{
EndOfLineFlag: true,
Text: "key=filler",
},
{
EndOfLineFlag: true,
Text: "name=Type&value=GOODS_SERVICES&key=txtype",
},
{
CharacterStyle: "Bold",
EndOfLineFlag: true,
Text: "name=TOTAL&value=%e2%82%ac%c2%a01.00&key=totalAmount",
},
{
EndOfLineFlag: true,
Text: "key=filler",
},
{
CharacterStyle: "Bold",
EndOfLineFlag: true,
Text: "name=APPROVED&key=approved",
},
],
},
RequiredSignatureFlag: false,
},
{
DocumentQualifier: "CustomerReceipt",
OutputContent: {
OutputFormat: "Text",
OutputText: [
{
CharacterStyle: "Bold",
EndOfLineFlag: true,
Text: "key=header1",
},
{
CharacterStyle: "Bold",
EndOfLineFlag: true,
Text: "key=header2",
},
{
CharacterStyle: "Bold",
EndOfLineFlag: true,
Text: "name=CARDHOLDER%20COPY&key=cardholderHeader",
},
{
EndOfLineFlag: true,
Text: "key=filler",
},
{
EndOfLineFlag: true,
Text: "name=Date&value=29%2f04%2f19&key=txdate",
},
{
EndOfLineFlag: true,
Text: "name=Time&value=10%3a19%3a51&key=txtime",
},
{
EndOfLineFlag: true,
Text: "key=filler",
},
{
EndOfLineFlag: true,
Text: "name=Card&value=%2a%2a%2a%2a%2a%2a%2a%2a%2a%2a%2a%2a3511&key=pan",
},
{
EndOfLineFlag: true,
Text: "name=Pref.%20name&value=MCC%20351%20v1%202&key=preferredName",
},
{
EndOfLineFlag: true,
Text: "name=Card%20type&value=mc&key=cardType",
},
{
EndOfLineFlag: true,
Text: "name=Payment%20method&value=mc&key=paymentMethod",
},
{
EndOfLineFlag: true,
Text: "name=Payment%20variant&value=mc&key=paymentMethodVariant",
},
{
EndOfLineFlag: true,
Text: "name=Entry%20mode&value=Contactless%20swipe&key=posEntryMode",
},
{
EndOfLineFlag: true,
Text: "key=filler",
},
{
EndOfLineFlag: true,
Text: "name=AID&value=A0000000041010&key=aid",
},
{
EndOfLineFlag: true,
Text: "name=MID&value=1000&key=mid",
},
{
EndOfLineFlag: true,
Text: "name=TID&value=P400Plus-275039202&key=tid",
},
{
EndOfLineFlag: true,
Text: "name=PTID&value=75039202&key=ptid",
},
{
EndOfLineFlag: true,
Text: "key=filler",
},
{
EndOfLineFlag: true,
Text: "name=Auth.%20code&value=123456&key=authCode",
},
{
EndOfLineFlag: true,
Text: "name=Tender&value=4r7i001556529591000&key=txRef",
},
{
EndOfLineFlag: true,
Text: "name=Reference&value=003&key=mref",
},
{
EndOfLineFlag: true,
Text: "key=filler",
},
{
EndOfLineFlag: true,
Text: "name=Type&value=GOODS_SERVICES&key=txtype",
},
{
CharacterStyle: "Bold",
EndOfLineFlag: true,
Text: "name=TOTAL&value=%e2%82%ac%c2%a01.00&key=totalAmount",
},
{
EndOfLineFlag: true,
Text: "key=filler",
},
{
CharacterStyle: "Bold",
EndOfLineFlag: true,
Text: "name=APPROVED&key=approved",
},
{
EndOfLineFlag: true,
Text: "key=filler",
},
{
EndOfLineFlag: true,
Text: "name=Please%20retain%20for%20your%20records&key=retain",
},
{
EndOfLineFlag: true,
Text: "name=Thank%20you&key=thanks",
},
],
},
RequiredSignatureFlag: false,
},
],
PaymentResult: {
AmountsResp: {
AuthorizedAmount: 1,
Currency: "EUR",
},
OnlineFlag: true,
PaymentAcquirerData: {
AcquirerPOIID: "P400Plus-123456789",
AcquirerTransactionID: {
TimeStamp: "2019-04-29T09:19:51.000Z",
TransactionID: "8515565295894301",
},
ApprovalCode: "123456",
MerchantID: "TestMerchant",
},
PaymentInstrumentData: {
CardData: {
EntryMode: [
"Tapped",
],
MaskedPan: "411111 **** 1111",
PaymentBrand: "mc",
SensitiveCardData: {
ExpiryDate: "1225",
},
},
PaymentInstrumentType: "Card",
},
},
Response: {
AdditionalResponse: "tid=75039202&AID=A0000000041010&transactionType=GOODS_SERVICES&backendGiftcardIndi\n cator=false&expiryYear=2025&acquirerAccountCode=TestPmmAcquirerAccount&alias=M900978995070104&posOrigin\n alAmountCurrency=EUR&giftcardIndicator=false&authorisedAmountValue=100&pspReference=8515565295894301&pa\n ymentMethodVariant=mc&cardHolderName=N%2fA&refusalReasonRaw=APPROVED&authorisationMid=1000&expiryDate=1\n 2%2f2025&applicationPreferredName=MCC%20351%20v1%202&acquirerCode=TestPmmAcquirer&txtime=10%3a19%3a51&i\n so8601TxDate=2019-04-29T09%3a19%3a51.0000000%2b0000&cardType=mc&posOriginalAmountValue=100&offline=fals\n e&aliasType=Default&txdate=29-04-2019&paymentMethod=mc&cvcResult=0%20Unknown&avsResult=0%20Unknown&mid=\n 1000&merchantReference=003&transactionReferenceNumber=8515565295894301&expiryMonth=12&cardSummary=3511&\n posTotalAmountValue=100&posAuthAmountCurrency=EUR&cardHolderVerificationMethodResults=3F0300&authCode=1\n 23456&shopperCountry=NL&posEntryMode=CLESS_SWIPE&cardScheme=mc&cardBin=541333&posAuthAmountValue=100",
Result: "Success",
},
SaleData: {
SaleTransactionID: {
TimeStamp: "2019-04-29T00:00:00.000Z",
TransactionID: "001",
},
},
},
},
};
export var syncRefund = {
SaleToPOIResponse: {
MessageHeader: {
MessageCategory: "Payment",
MessageClass: "Service",
MessageType: "Response",
POIID: process.env.ADYEN_TERMINAL_POIID,
ProtocolVersion: "3.0",
SaleID: "001",
ServiceID: "001",
},
ReversalResponse: {
Response: {
Result: "Success"
}
}
}
};
//# sourceMappingURL=sync.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
export {};

View File

@@ -1,161 +0,0 @@
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
import nock from "nock";
import { createClient } from "../__mocks__/base";
import BinLookup from "../services/binLookup";
import Client from "../client";
import HttpClientException from "../httpClient/httpClientException";
var threeDSAvailabilitySuccess = {
binDetails: {
issuerCountry: "NL"
},
threeDS1Supported: true,
threeDS2CardRangeDetails: [],
threeDS2supported: false
};
var client;
var binLookup;
var scope;
beforeEach(function () {
if (!nock.isActive()) {
nock.activate();
}
client = createClient();
binLookup = new BinLookup(client);
scope = nock("" + client.config.endpoint + Client.BIN_LOOKUP_PAL_SUFFIX + Client.BIN_LOOKUP_API_VERSION);
});
afterEach(function () {
nock.cleanAll();
});
describe("Bin Lookup", function () {
test.each([false, true])("should succeed on get 3ds availability. isMock: %p", function (isMock) {
return __awaiter(this, void 0, void 0, function () {
var threeDSAvailabilityRequest, response;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
!isMock && nock.restore();
threeDSAvailabilityRequest = {
merchantAccount: process.env.ADYEN_MERCHANT,
brands: ["randomBrand"],
cardNumber: "4111111111111111"
};
scope.post("/get3dsAvailability")
.reply(200, threeDSAvailabilitySuccess);
return [4, binLookup.get3dsAvailability(threeDSAvailabilityRequest)];
case 1:
response = _a.sent();
expect(response).toEqual(threeDSAvailabilitySuccess);
return [2];
}
});
});
});
test.each([false, true])("should fail with invalid merchant. isMock: %p", function (isMock) {
return __awaiter(this, void 0, void 0, function () {
var threeDSAvailabilityRequest, e_1;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
!isMock && nock.restore();
threeDSAvailabilityRequest = {
merchantAccount: undefined,
cardNumber: "4111111111111",
brands: []
};
scope.post("/get3dsAvailability")
.reply(403, JSON.stringify({ status: 403, message: "fail", errorCode: "171" }));
_a.label = 1;
case 1:
_a.trys.push([1, 3, , 4]);
return [4, binLookup.get3dsAvailability(threeDSAvailabilityRequest)];
case 2:
_a.sent();
fail("Expected request to fail");
return [3, 4];
case 3:
e_1 = _a.sent();
expect(e_1 instanceof HttpClientException).toBeTruthy();
return [3, 4];
case 4: return [2];
}
});
});
});
test.each([false, true])("should succeed on get cost estimate. isMock: %p", function (isMock) {
return __awaiter(this, void 0, void 0, function () {
var expected, costEstimateRequest, response;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
!isMock && nock.restore();
expected = {
costEstimateAmount: {
currency: "EUR",
value: 10
},
resultCode: "Unsupported",
surchargeType: "ZERO"
};
costEstimateRequest = {
amount: { currency: "EUR", value: 1000 },
assumptions: {
assumeLevel3Data: true,
assume3DSecureAuthenticated: true
},
cardNumber: "411111111111",
merchantAccount: process.env.ADYEN_MERCHANT,
merchantDetails: {
countryCode: "NL",
mcc: "7411",
enrolledIn3DSecure: true
},
shopperInteraction: "Ecommerce"
};
scope.post("/getCostEstimate")
.reply(200, expected);
return [4, binLookup.getCostEstimate(costEstimateRequest)];
case 1:
response = _a.sent();
expect(response).toEqual(expected);
return [2];
}
});
});
});
});
//# sourceMappingURL=binLookup.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"binLookup.spec.js","sourceRoot":"","sources":["../../../../src/__tests__/binLookup.spec.ts"],"names":[],"mappings":"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"}

View File

@@ -1 +0,0 @@
export {};

View File

@@ -1,77 +0,0 @@
import checkServerIdentity from "../helpers/checkServerIdentity";
var createMockedCertificate = function (CN) { return ({
subjectaltname: "Adyen B.V",
infoAccess: { mock: ["any"] },
subject: {
C: "AB",
ST: "AB",
L: "City",
O: "Company Name",
OU: "Mocked Value",
CN: CN,
},
issuer: {
C: "AB",
ST: "AB",
L: "City",
O: "Issuer Name",
OU: "Issuer",
CN: "Issuer CN",
},
modulus: "ABC123",
exponent: "01010101",
valid_from: "Nov 19 15:03:32 2018 GMT",
valid_to: "Nov 11 15:03:32 2048 GMT",
fingerprint: "MOCKED_FINGERPRINT",
fingerprint256: "MOCKED_FINGERPRINT_256",
ext_key_usage: ["1.2.3.4.5.6.7.8"],
serialNumber: "1000",
raw: Buffer.from("test")
}); };
describe("Certificate Server Identiy", function () {
test.each([
["legacy-terminal-certificate", "live"],
["legacy-terminal-certificate", "test"],
["P400-3123123", "live"],
["P400-3123123", "test"],
["MODEL-SN", "live"],
["MODEL-SN", "test"],
])("it should be valid: %s.%s", function (prefix, environment) {
var cn = prefix + "." + environment + ".terminal.adyen.com";
var mockedCertificate = createMockedCertificate(cn);
expect(checkServerIdentity("any", mockedCertificate)).toBeUndefined();
});
test.each([
"INVALID.adyen.com",
"terminal.INVALID.com",
"terminal.adyen.org",
"google.com",
"",
])("it should fail because invalid domain: %s", function (domain) {
var cn = "P400-123123.live." + domain;
var mockedCertificate = createMockedCertificate(cn);
expect(checkServerIdentity("any", mockedCertificate) instanceof Error).toBeTruthy();
});
test.each([
"liive", "teest", "lve", "tst", "ANY", "invalid",
])("it should fail because invalid environment: %s", function (environment) {
var cn = "P400-123123." + environment + ".terminal.adyen.com";
var mockedCertificate = createMockedCertificate(cn);
expect(checkServerIdentity("any", mockedCertificate) instanceof Error).toBeTruthy();
});
test.each([
"legacyy-terminal-certificate", "legacy-terminaal-certificate",
"legacy-terminal-certificatee", "P400-", "-123123", "P400--123123", "P400123123",
"ANY-ANY-ANY", "ANY", ""
])("it should fail because invalid prefix: %s", function (prefix) {
var cn = prefix + ".test.terminal.adyen.com";
var mockedCertificate = createMockedCertificate(cn);
expect(checkServerIdentity("any", mockedCertificate) instanceof Error).toBeTruthy();
});
it("should fail if no first part on CN", function () {
var cn = "live.terminal.adyen.com";
var mockedCertificate = createMockedCertificate(cn);
expect(checkServerIdentity("any", mockedCertificate) instanceof Error).toBeTruthy();
});
});
//# sourceMappingURL=checkServerIdentity.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"checkServerIdentity.spec.js","sourceRoot":"","sources":["../../../../src/__tests__/checkServerIdentity.spec.ts"],"names":[],"mappings":"AAqBA,OAAO,mBAAmB,MAAM,gCAAgC,CAAC;AAGjE,IAAM,uBAAuB,GAAG,UAAC,EAAU,IAAsB,OAAA,CAAC;IAC9D,cAAc,EAAE,WAAW;IAC3B,UAAU,EAAE,EAAC,IAAI,EAAE,CAAC,KAAK,CAAC,EAAC;IAC3B,OAAO,EACH;QACI,CAAC,EAAE,IAAI;QACP,EAAE,EAAE,IAAI;QACR,CAAC,EAAE,MAAM;QACT,CAAC,EAAE,cAAc;QACjB,EAAE,EAAE,cAAc;QAClB,EAAE,IAAA;KACL;IACL,MAAM,EACF;QACI,CAAC,EAAE,IAAI;QACP,EAAE,EAAE,IAAI;QACR,CAAC,EAAE,MAAM;QACT,CAAC,EAAE,aAAa;QAChB,EAAE,EAAE,QAAQ;QACZ,EAAE,EAAE,WAAW;KAClB;IACL,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,0BAA0B;IACtC,QAAQ,EAAE,0BAA0B;IACpC,WAAW,EAAE,oBAAoB;IACjC,cAAc,EAAE,wBAAwB;IACxC,aAAa,EAAE,CAAC,iBAAiB,CAAC;IAClC,YAAY,EAAE,MAAM;IACpB,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;CAC3B,CAAC,EA9B+D,CA8B/D,CAAC;AAEH,QAAQ,CAAC,4BAA4B,EAAE;IACnC,IAAI,CAAC,IAAI,CAAC;QACN,CAAC,6BAA6B,EAAE,MAAM,CAAC;QACvC,CAAC,6BAA6B,EAAE,MAAM,CAAC;QACvC,CAAC,cAAc,EAAE,MAAM,CAAC;QACxB,CAAC,cAAc,EAAE,MAAM,CAAC;QACxB,CAAC,UAAU,EAAE,MAAM,CAAC;QACpB,CAAC,UAAU,EAAE,MAAM,CAAC;KACvB,CAAC,CAAC,2BAA2B,EAAE,UAAC,MAAM,EAAE,WAAW;QAChD,IAAM,EAAE,GAAM,MAAM,SAAI,WAAW,wBAAqB,CAAC;QACzD,IAAM,iBAAiB,GAAG,uBAAuB,CAAC,EAAE,CAAC,CAAC;QACtD,MAAM,CAAC,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC;IAC1E,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,IAAI,CAAC;QACN,mBAAmB;QACnB,sBAAsB;QACtB,oBAAoB;QACpB,YAAY;QACZ,EAAE;KACL,CAAC,CAAC,2CAA2C,EAAE,UAAC,MAAM;QACnD,IAAM,EAAE,GAAG,sBAAoB,MAAQ,CAAC;QACxC,IAAM,iBAAiB,GAAG,uBAAuB,CAAC,EAAE,CAAC,CAAC;QACtD,MAAM,CAAC,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,CAAC,YAAY,KAAK,CAAC,CAAC,UAAU,EAAE,CAAC;IACxF,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,IAAI,CAAC;QACN,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS;KACnD,CAAC,CAAC,gDAAgD,EAAE,UAAC,WAAW;QAC7D,IAAM,EAAE,GAAG,iBAAe,WAAW,wBAAqB,CAAC;QAC3D,IAAM,iBAAiB,GAAG,uBAAuB,CAAC,EAAE,CAAC,CAAC;QACtD,MAAM,CAAC,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,CAAC,YAAY,KAAK,CAAC,CAAC,UAAU,EAAE,CAAC;IACxF,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,IAAI,CAAC;QACN,8BAA8B,EAAE,8BAA8B;QAC9D,8BAA8B,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY;QAChF,aAAa,EAAE,KAAK,EAAE,EAAE;KAC3B,CAAC,CAAC,2CAA2C,EAAE,UAAC,MAAM;QACnD,IAAM,EAAE,GAAM,MAAM,6BAA0B,CAAC;QAC/C,IAAM,iBAAiB,GAAG,uBAAuB,CAAC,EAAE,CAAC,CAAC;QACtD,MAAM,CAAC,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,CAAC,YAAY,KAAK,CAAC,CAAC,UAAU,EAAE,CAAC;IACxF,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oCAAoC,EAAE;QACrC,IAAM,EAAE,GAAG,yBAAyB,CAAC;QACrC,IAAM,iBAAiB,GAAG,uBAAuB,CAAC,EAAE,CAAC,CAAC;QACtD,MAAM,CAAC,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,CAAC,YAAY,KAAK,CAAC,CAAC,UAAU,EAAE,CAAC;IACxF,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}

View File

@@ -1 +0,0 @@
export declare function createPaymentsCheckoutRequest(): ICheckout.PaymentRequest;

View File

@@ -1,310 +0,0 @@
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
import nock from "nock";
import { createClient } from "../__mocks__/base";
import { paymentMethodsSuccess } from "../__mocks__/checkout/paymentMethodsSuccess";
import { paymentsSuccess } from "../__mocks__/checkout/paymentsSuccess";
import { paymentDetailsSuccess } from "../__mocks__/checkout/paymentsDetailsSuccess";
import { paymentSessionSuccess } from "../__mocks__/checkout/paymentSessionSucess";
import { paymentsResultMultibancoSuccess } from "../__mocks__/checkout/paymentsResultMultibancoSuccess";
import { paymentsResultSuccess } from "../__mocks__/checkout/paymentsResultSucess";
import Client from "../client";
import Checkout from "../services/checkout";
import HttpClientException from "../httpClient/httpClientException";
var merchantAccount = process.env.ADYEN_MERCHANT;
var reference = "Your order number";
var isCI = process.env.CI === "true" || (typeof process.env.CI === "boolean" && process.env.CI);
function createAmountObject(currency, value) {
return {
currency: currency,
value: value,
};
}
function createPaymentsDetailsRequest() {
return {
details: {
MD: "mdValue",
PaRes: "paResValue",
},
paymentData: "Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...",
};
}
export function createPaymentsCheckoutRequest() {
var paymentMethodDetails = {
cvc: "737",
expiryMonth: "03",
expiryYear: "2030",
holderName: "John Smith",
number: "4111111111111111",
type: "scheme",
};
return {
amount: createAmountObject("USD", 1000),
merchantAccount: merchantAccount,
paymentMethod: paymentMethodDetails,
reference: reference,
returnUrl: "https://your-company.com/...",
enableRecurring: true,
enableOneClick: true,
shopperReference: "shopperReference",
storePaymentMethod: true
};
}
function createPaymentSessionRequest() {
return {
amount: createAmountObject("USD", 1000),
countryCode: "NL",
merchantAccount: merchantAccount,
reference: reference,
returnUrl: "https://your-company.com/...",
channel: "Web",
sdkVersion: "3.7.0"
};
}
var client;
var checkout;
var scope;
beforeEach(function () {
if (!nock.isActive()) {
nock.activate();
}
client = createClient();
scope = nock(client.config.checkoutEndpoint + "/" + Client.CHECKOUT_API_VERSION);
checkout = new Checkout(client);
});
afterEach(function () {
nock.cleanAll();
});
describe("Checkout", function () {
test.each([false, true])("should make a payment. isMock: %p", function (isMock) { return __awaiter(void 0, void 0, void 0, function () {
var paymentsRequest, paymentsResponse;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
!isMock && nock.restore();
scope.post("/payments")
.reply(200, paymentsSuccess);
paymentsRequest = createPaymentsCheckoutRequest();
return [4, checkout.payments(paymentsRequest)];
case 1:
paymentsResponse = _a.sent();
expect(paymentsResponse.pspReference).toBeTruthy();
return [2];
}
});
}); });
test.each([false, true])("should return correct Exception, isMock: %p", function (isMock) { return __awaiter(void 0, void 0, void 0, function () {
var paymentsRequest, e_1;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
!isMock && nock.restore();
_a.label = 1;
case 1:
_a.trys.push([1, 3, , 4]);
scope.post("/payments")
.reply(401);
paymentsRequest = createPaymentsCheckoutRequest();
return [4, checkout.payments(paymentsRequest)];
case 2:
_a.sent();
return [3, 4];
case 3:
e_1 = _a.sent();
expect(e_1 instanceof HttpClientException).toBeTruthy();
return [3, 4];
case 4: return [2];
}
});
}); });
test.each([false, true])("should have valid payment methods, isMock: %p", function (isMock) { return __awaiter(void 0, void 0, void 0, function () {
var paymentMethodsRequest, paymentMethodsResponse;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
!isMock && nock.restore();
paymentMethodsRequest = { merchantAccount: "MagentoMerchantTest" };
scope.post("/paymentMethods")
.reply(200, paymentMethodsSuccess);
return [4, checkout.paymentMethods(paymentMethodsRequest)];
case 1:
paymentMethodsResponse = _a.sent();
if (paymentMethodsResponse && paymentMethodsResponse.paymentMethods) {
expect(paymentMethodsResponse.paymentMethods.length).toBeGreaterThan(0);
}
else {
fail();
}
return [2];
}
});
}); });
test.each([false, true])("should have valid payment link, isMock: %p", function (isMock) { return __awaiter(void 0, void 0, void 0, function () {
var amount, expiresAt, paymentLinkRequest, paymentLinkSuccess, paymentSuccessLinkResponse;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
!isMock && nock.restore();
amount = createAmountObject("BRL", 1000);
expiresAt = "2019-12-17T10:05:29Z";
paymentLinkRequest = {
allowedPaymentMethods: ["scheme", "boletobancario"],
amount: amount,
countryCode: "BR",
merchantAccount: merchantAccount,
shopperReference: "shopperReference",
shopperEmail: "test@email.com",
shopperLocale: "pt_BR",
billingAddress: {
street: "Roque Petroni Jr",
postalCode: "59000060",
city: "São Paulo",
houseNumberOrName: "999",
country: "BR",
stateOrProvince: "SP"
},
deliveryAddress: {
street: "Roque Petroni Jr",
postalCode: "59000060",
city: "São Paulo",
houseNumberOrName: "999",
country: "BR",
stateOrProvince: "SP"
},
reference: reference
};
paymentLinkSuccess = {
amount: amount,
expiresAt: expiresAt,
reference: reference,
url: "paymentLinkResponse.url"
};
scope.post("/paymentLinks").reply(200, paymentLinkSuccess);
return [4, checkout.paymentLinks(paymentLinkRequest)];
case 1:
paymentSuccessLinkResponse = _a.sent();
expect(paymentSuccessLinkResponse).toBeTruthy();
return [2];
}
});
}); });
test.each([isCI, true])("should have payment details, isMock: %p", function (isMock) { return __awaiter(void 0, void 0, void 0, function () {
var paymentsResponse;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
!isMock && nock.restore();
scope.post("/payments/details")
.reply(200, paymentDetailsSuccess);
return [4, checkout.paymentsDetails(createPaymentsDetailsRequest())];
case 1:
paymentsResponse = _a.sent();
expect(paymentsResponse.resultCode).toEqual("Authorised");
return [2];
}
});
}); });
test.each([false, true])("should have payment session success, isMock: %p", function (isMock) { return __awaiter(void 0, void 0, void 0, function () {
var paymentSessionRequest, paymentSessionResponse;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
!isMock && nock.restore();
scope.post("/paymentSession")
.reply(200, paymentSessionSuccess);
paymentSessionRequest = createPaymentSessionRequest();
return [4, checkout.paymentSession(paymentSessionRequest)];
case 1:
paymentSessionResponse = _a.sent();
expect(paymentSessionResponse.paymentSession).not.toBeUndefined();
return [2];
}
});
}); });
test.each([isCI, true])("should have payments result, isMock: %p", function (isMock) { return __awaiter(void 0, void 0, void 0, function () {
var paymentResultRequest, paymentResultResponse;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
!isMock && nock.restore();
scope.post("/payments/result")
.reply(200, paymentsResultSuccess);
paymentResultRequest = {
payload: "This is a test payload",
};
return [4, checkout.paymentResult(paymentResultRequest)];
case 1:
paymentResultResponse = _a.sent();
expect(paymentResultResponse.resultCode).toEqual("Authorised");
return [2];
}
});
}); });
test.each([false, true])("should have missing identifier on live, isMock: %p", function (isMock) { return __awaiter(void 0, void 0, void 0, function () {
return __generator(this, function (_a) {
!isMock && nock.restore();
client.setEnvironment("LIVE");
try {
new Checkout(client);
fail();
}
catch (e) {
expect(e.message).toEqual("Please provide your unique live url prefix on the setEnvironment() call on the Client or provide checkoutEndpoint in your config object.");
}
return [2];
});
}); });
test.each([false, true])("should succeed on multibanco payment, isMock: %p", function (isMock) { return __awaiter(void 0, void 0, void 0, function () {
var paymentsRequest, paymentsResponse;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
!isMock && nock.restore();
scope.post("/payments")
.reply(200, paymentsResultMultibancoSuccess);
paymentsRequest = createPaymentsCheckoutRequest();
return [4, checkout.payments(paymentsRequest)];
case 1:
paymentsResponse = _a.sent();
expect(paymentsResponse.pspReference).toBeTruthy();
expect(paymentsResponse.additionalData).toBeTruthy();
return [2];
}
});
}); });
});
//# sourceMappingURL=checkout.spec.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
export {};

View File

@@ -1,69 +0,0 @@
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
import nock from "nock";
import { createClient } from "../__mocks__/base";
import { originKeysSuccess } from "../__mocks__/checkoutUtility/originkeysSuccess";
import CheckoutUtility from "../services/checkoutUtility";
import Client from "../client";
describe("Checkout Utility", function () {
test.each([false, true])("should get origin keys. isMock: %p", function (isMock) { return __awaiter(void 0, void 0, void 0, function () {
var client, checkoutUtility, originKeysRequest, originKeysResponse;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
!isMock && nock.restore();
client = createClient();
checkoutUtility = new CheckoutUtility(client);
originKeysRequest = {
originDomains: ["https://www.your-domain.com"],
};
nock("" + client.config.checkoutEndpoint)
.post("/" + Client.CHECKOUT_UTILITY_API_VERSION + "/originKeys")
.reply(200, originKeysSuccess);
return [4, checkoutUtility.originKeys(originKeysRequest)];
case 1:
originKeysResponse = _a.sent();
if (originKeysResponse.originKeys) {
return [2, expect(originKeysResponse.originKeys["https://www.your-domain.com"].startsWith("pub.v2")).toBeTruthy()];
}
fail("Error: originKeysResponse.originKeys is empty");
return [2];
}
});
}); });
});
//# sourceMappingURL=checkoutUtility.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"checkoutUtility.spec.js","sourceRoot":"","sources":["../../../../src/__tests__/checkoutUtility.spec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAC,iBAAiB,EAAC,MAAM,gDAAgD,CAAC;AACjF,OAAO,eAAe,MAAM,6BAA6B,CAAC;AAC1D,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,QAAQ,CAAC,kBAAkB,EAAE;IACzB,IAAI,CAAC,IAAI,CAAC,CAAC,KAAK,EAAC,IAAI,CAAC,CAAC,CAAC,oCAAoC,EAAE,UAAO,MAAM;;;;;oBACvE,CAAC,MAAM,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;oBACpB,MAAM,GAAG,YAAY,EAAE,CAAC;oBACxB,eAAe,GAAG,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;oBAC9C,iBAAiB,GAA4C;wBAC/D,aAAa,EAAE,CAAC,6BAA6B,CAAC;qBACjD,CAAC;oBAEF,IAAI,CAAC,KAAG,MAAM,CAAC,MAAM,CAAC,gBAAkB,CAAC;yBACpC,IAAI,CAAC,MAAI,MAAM,CAAC,4BAA4B,gBAAa,CAAC;yBAC1D,KAAK,CAAC,GAAG,EAAE,iBAAiB,CAAC,CAAC;oBAER,WAAM,eAAe,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAA;;oBAAxE,kBAAkB,GAAG,SAAmD;oBAC9E,IAAI,kBAAkB,CAAC,UAAU,EAAE;wBAC/B,WAAO,MAAM,CAAC,kBAAkB,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,EAAE,EAAC;qBACjH;oBACD,IAAI,CAAC,+CAA+C,CAAC,CAAC;;;;SACzD,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}

View File

@@ -1 +0,0 @@
export {};

View File

@@ -1,107 +0,0 @@
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var _a;
import HmacValidator from "../utils/hmacValidator";
import { NotificationRequestItem } from "../typings/notification/models";
import { ApiConstants } from "../constants/apiConstants";
import NotificationRequest from "../notification/notificationRequest";
var key = "DFB1EB5485895CFA84146406857104ABB4CBCABDC8AAF103A624C8F6A3EAAB00";
var expectedSign = "ZNBPtI+oDyyRrLyD1XirkKnQgIAlFc07Vj27TeHsDRE=";
var notificationRequestItem = {
NotificationRequestItem: {
pspReference: "pspReference",
originalReference: "originalReference",
merchantAccountCode: "merchantAccount",
merchantReference: "reference",
amount: { currency: "EUR", value: 1000 },
eventCode: NotificationRequestItem.EventCodeEnum.REPORTAVAILABLE,
eventDate: "2019-09-21T11:45:24.637Z",
paymentMethod: "VISA",
reason: "reason",
success: NotificationRequestItem.SuccessEnum.True,
additionalData: (_a = {}, _a[ApiConstants.HMAC_SIGNATURE] = expectedSign, _a),
}
};
var notification = new NotificationRequest({
live: "false",
notificationItems: [notificationRequestItem]
});
describe("HMAC Validator", function () {
var hmacValidator;
beforeEach(function () {
hmacValidator = new HmacValidator();
});
it("should get correct data", function () {
var dataToSign = hmacValidator.getDataToSign({ merchantAccount: "ACC", currencyCode: "EUR" });
expect(dataToSign).toEqual("currencyCode:merchantAccount:EUR:ACC");
});
it("should get correct data with escaped characters", function () {
var dataToSign = hmacValidator.getDataToSign({ currencyCode: "EUR", merchantAccount: "ACC:\\", sessionValidity: "2019-09-21T11:45:24.637Z" });
expect(dataToSign).toEqual("currencyCode:merchantAccount:sessionValidity:EUR:ACC\\:\\\\:2019-09-21T11\\:45\\:24.637Z");
});
it("should encrypt correctly", function () {
var data = "countryCode:currencyCode:merchantAccount:merchantReference:paymentAmount:sessionValidity:skinCode:NL:EUR:MagentoMerchantTest2:TEST-PAYMENT-2017-02-01-14\\:02\\:05:199:2017-02-02T14\\:02\\:05+01\\:00:PKz2KML1";
var encrypted = hmacValidator.calculateHmac(data, "DFB1EB5485895CFA84146406857104ABB4CBCABDC8AAF103A624C8F6A3EAAB00");
expect(encrypted).toEqual("34oR8T1whkQWTv9P+SzKyp8zhusf9n0dpqrm9nsqSJs=");
});
it("should get correct data to sign", function () {
var data = hmacValidator.getDataToSign(notification.notificationItems[0]);
expect(data).toEqual("pspReference:originalReference:merchantAccount:reference:1000:EUR:REPORT_AVAILABLE:true");
});
it("should have valid hmac", function () {
var encrypted = hmacValidator.calculateHmac(notification.notificationItems[0], key);
expect(expectedSign).toEqual(encrypted);
expect(hmacValidator.validateHMAC(notification.notificationItems[0], key)).toBeTruthy();
});
it("should have invalid hmac", function () {
var _a;
var invalidNotification = __assign(__assign({}, notification.notificationItems[0]), { additionalData: (_a = {}, _a[ApiConstants.HMAC_SIGNATURE] = "notValidSign", _a) });
var result = hmacValidator.validateHMAC(invalidNotification, key);
expect(result).toBeFalsy();
});
it("should test hmac", function () {
var data = "countryCode:currencyCode:merchantAccount:merchantReference:paymentAmount:sessionValidity:skinCode:NL:EUR:MagentoMerchantTest2:TEST-PAYMENT-2017-02-01-14\\:02\\:05:199:2017-02-02T14\\:02\\:05+01\\:00:PKz2KML1";
var key = "DFB1EB5485895CFA84146406857104ABB4CBCABDC8AAF103A624C8F6A3EAAB00";
var hmacValidator = new HmacValidator();
var encrypted = hmacValidator.calculateHmac(data, key);
expect(encrypted).toEqual("34oR8T1whkQWTv9P+SzKyp8zhusf9n0dpqrm9nsqSJs=");
});
it("should validate HMAC", function () {
expect(hmacValidator.validateHMAC(notification.notificationItems[0], key)).toBeTruthy();
});
it("should have valid notification request item HMAC", function () {
var _a;
var expectedSign = "ipnxGCaUZ4l8TUW75a71/ghd2Fe5ffvX0pV4TLTntIc=";
var notificationRequestItem = { NotificationRequestItem: {
pspReference: "pspReference",
originalReference: "originalReference",
merchantAccountCode: "merchantAccount",
merchantReference: "reference",
amount: { currency: "EUR", value: 1000 },
eventCode: "EVENT",
success: "true",
additionalData: (_a = {}, _a[ApiConstants.HMAC_SIGNATURE] = expectedSign, _a)
} };
var notification = new NotificationRequest({
live: "false",
notificationItems: [notificationRequestItem]
});
var data = hmacValidator.getDataToSign(notification.notificationItems[0]);
expect("pspReference:originalReference:merchantAccount:reference:1000:EUR:EVENT:true").toEqual(data);
var encrypted = hmacValidator.calculateHmac(notification.notificationItems[0], key);
expect(expectedSign).toEqual(encrypted);
expect(hmacValidator.validateHMAC(notification.notificationItems[0], key)).toBeTruthy();
notification.notificationItems[0].additionalData[ApiConstants.HMAC_SIGNATURE] = "notValidSign";
expect(hmacValidator.validateHMAC(notification.notificationItems[0], key)).toBeFalsy();
});
});
//# sourceMappingURL=hmacValidator.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"hmacValidator.spec.js","sourceRoot":"","sources":["../../../../src/__tests__/hmacValidator.spec.ts"],"names":[],"mappings":"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"}

View File

@@ -1 +0,0 @@
export {};

View File

@@ -1,107 +0,0 @@
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
import nock from "nock";
import Client from "../client";
import Checkout from "../services/checkout";
import ApiException from "../services/exception/apiException";
import { createPaymentsCheckoutRequest } from "./checkout.spec";
import HttpClientException from "../httpClient/httpClientException";
beforeEach(function () {
nock.cleanAll();
});
var getResponse = function (_a, cb) {
var apiKey = _a.apiKey, environment = _a.environment;
return __awaiter(void 0, void 0, void 0, function () {
var client, checkout, scope, _b, errorMessageContains, errorMessageEquals, errorType, ErrorException, e_1;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
client = new Client({ apiKey: apiKey, environment: environment });
checkout = new Checkout(client);
scope = nock(client.config.checkoutEndpoint + "/" + Client.CHECKOUT_API_VERSION)
.post("/payments");
_b = cb(scope), errorMessageContains = _b.errorMessageContains, errorMessageEquals = _b.errorMessageEquals, errorType = _b.errorType;
ErrorException = errorType === "ApiException" ? ApiException : HttpClientException;
_c.label = 1;
case 1:
_c.trys.push([1, 3, , 4]);
return [4, checkout.payments(createPaymentsCheckoutRequest())];
case 2:
_c.sent();
fail("request should fail");
return [3, 4];
case 3:
e_1 = _c.sent();
expect(e_1 instanceof ErrorException).toBeTruthy();
if (errorMessageEquals)
expect(e_1.message).toEqual(errorMessageEquals);
if (errorMessageContains)
expect(e_1.message.toLowerCase()).toContain(errorMessageContains);
return [3, 4];
case 4: return [2];
}
});
});
};
describe("HTTP Client", function () {
var _this = this;
it.each(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n apiKey | environment | withError | args | errorType | contains | equals \n ", " | ", " | ", " | ", " | ", " | ", " | ", "\n ", " | ", " | ", " | ", " | ", " | ", " | ", "\n ", " | ", " | ", " | ", " | ", " | ", " | ", "\n ", " | ", " | ", " | ", " | ", " | ", " | ", "\n ", " | ", " | ", " | ", " | ", " | ", " | ", "\n "], ["\n apiKey | environment | withError | args | errorType | contains | equals \n ", " | ", " | ", " | ", " | ", " | ", " | ", "\n ", " | ", " | ", " | ", " | ", " | ", " | ", "\n ", " | ", " | ", " | ", " | ", " | ", " | ", "\n ", " | ", " | ", " | ", " | ", " | ", " | ", "\n ", " | ", " | ", " | ", " | ", " | ", " | ", "\n "])), "", "TEST", true, ["mocked_error_response"], "ApiException", "x-api-key", "", "MOCKED_API_KEY", "TEST", true, ["some_error"], "ApiException", "", "some_error", "API_KEY", "TEST", false, [401, { status: 401, message: "Invalid Request", errorCode: "171", errorType: "validationError" }], "HttpClientException", "", "HTTP Exception: 401. null: Invalid Request", "API_KEY", "TEST", false, [401, {}], "HttpClientException", "", "HTTP Exception: 401. null", "API_KEY", "TEST", false, [401, "fail"], "HttpClientException", "", "HTTP Exception: 401. null")("Should return $errorType, $contains, $equals", function (_a) {
var apiKey = _a.apiKey, environment = _a.environment, withError = _a.withError, args = _a.args, errorType = _a.errorType, contains = _a.contains, equals = _a.equals;
return __awaiter(_this, void 0, void 0, function () {
return __generator(this, function (_b) {
switch (_b.label) {
case 0: return [4, getResponse({ apiKey: apiKey, environment: environment }, function (scope) {
if (withError)
scope.replyWithError(args[0]);
else
scope.reply(args[0], args[1]);
return { errorType: errorType, errorMessageContains: contains, errorMessageEquals: equals };
})];
case 1:
_b.sent();
return [2];
}
});
});
});
});
var templateObject_1;
//# sourceMappingURL=httpClient.spec.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"httpClient.spec.js","sourceRoot":"","sources":["../../../../src/__tests__/httpClient.spec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,OAAO,IAAmB,MAAM,MAAM,CAAC;AACvC,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,YAAY,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAC,6BAA6B,EAAC,MAAM,iBAAiB,CAAC;AAC9D,OAAO,mBAAmB,MAAM,mCAAmC,CAAC;AAEpE,UAAU,CAAC;IACP,IAAI,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC,CAAC,CAAC;AAKH,IAAM,WAAW,GAAG,UAAO,EAAoE,EAAE,EAAuC;QAA5G,MAAM,YAAA,EAAG,WAAW,iBAAA;;;;;;oBACtC,MAAM,GAAG,IAAI,MAAM,CAAC,EAAE,MAAM,QAAA,EAAE,WAAW,aAAA,EAAE,CAAC,CAAC;oBAC7C,QAAQ,GAAG,IAAI,QAAQ,CAAC,MAAM,CAAC,CAAC;oBAEhC,KAAK,GAAG,IAAI,CAAI,MAAM,CAAC,MAAM,CAAC,gBAAgB,SAAI,MAAM,CAAC,oBAAsB,CAAC;yBACjF,IAAI,CAAC,WAAW,CAAC,CAAC;oBACjB,KAA0D,EAAE,CAAC,KAAK,CAAC,EAAjE,oBAAoB,0BAAA,EAAE,kBAAkB,wBAAA,EAAE,SAAS,eAAA,CAAe;oBACpE,cAAc,GAAG,SAAS,KAAK,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,mBAAmB,CAAC;;;;oBAGrF,WAAM,QAAQ,CAAC,QAAQ,CAAC,6BAA6B,EAAE,CAAC,EAAA;;oBAAxD,SAAwD,CAAC;oBACzD,IAAI,CAAC,qBAAqB,CAAC,CAAC;;;;oBAE5B,MAAM,CAAC,GAAC,YAAY,cAAc,CAAC,CAAC,UAAU,EAAE,CAAC;oBACjD,IAAG,kBAAkB;wBAAE,MAAM,CAAC,GAAC,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;oBACrE,IAAG,oBAAoB;wBAAE,MAAM,CAAC,GAAC,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAAC;;;;;;CAEhG,CAAC;AAEF,QAAQ,CAAC,aAAa,EAAE;IAAA,iBAgBvB;IAfG,EAAE,CAAC,IAAI,6/BAAA,qOAED,EAAE,oBAAqB,EAAM,UAAW,EAAI,OAAQ,EAAyB,6EAA8E,EAAc,YAAa,EAAW,KAAM,EAAE,YACzM,EAAgB,MAAO,EAAM,UAAW,EAAI,OAAQ,EAAc,wFAAyF,EAAc,YAAa,EAAE,cAAe,EAAY,YACnN,EAAS,aAAc,EAAM,UAAW,EAAK,MAAO,EAAiG,KAAM,EAAqB,KAAM,EAAE,cAAe,EAA4C,YACnP,EAAS,aAAc,EAAM,UAAW,EAAK,MAAO,EAAS,6FAA8F,EAAqB,KAAM,EAAE,cAAe,EAA2B,YAClO,EAAS,aAAc,EAAM,UAAW,EAAK,MAAO,EAAa,yFAA0F,EAAqB,KAAM,EAAE,cAAe,EAA2B,QACvO,KALK,EAAE,EAAqB,MAAM,EAAW,IAAI,EAAQ,CAAC,uBAAuB,CAAC,EAA8E,cAAc,EAAa,WAAW,EAAM,EAAE,EACzM,gBAAgB,EAAO,MAAM,EAAW,IAAI,EAAQ,CAAC,YAAY,CAAC,EAAyF,cAAc,EAAa,EAAE,EAAe,YAAY,EACnN,SAAS,EAAc,MAAM,EAAW,KAAK,EAAO,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAC,CAAC,EAAM,qBAAqB,EAAM,EAAE,EAAe,4CAA4C,EACnP,SAAS,EAAc,MAAM,EAAW,KAAK,EAAO,CAAC,GAAG,EAAE,EAAE,CAAC,EAA8F,qBAAqB,EAAM,EAAE,EAAe,2BAA2B,EAClO,SAAS,EAAc,MAAM,EAAW,KAAK,EAAO,CAAC,GAAG,EAAE,MAAM,CAAC,EAA0F,qBAAqB,EAAM,EAAE,EAAe,2BAA2B,EACtO,8CAA8C,EAAE,UAAO,EAAqE;YAAnE,MAAM,YAAA,EAAE,WAAW,iBAAA,EAAE,SAAS,eAAA,EAAE,IAAI,UAAA,EAAE,SAAS,eAAA,EAAE,QAAQ,cAAA,EAAE,MAAM,YAAA;;;;4BACxH,WAAM,WAAW,CAAC,EAAE,MAAM,QAAA,EAAE,WAAW,aAAA,EAAE,EAAE,UAAC,KAAK;4BAC7C,IAAI,SAAS;gCAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;;gCACxC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;4BAEnC,OAAO,EAAE,SAAS,WAAA,EAAE,oBAAoB,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,EAAE,CAAC;wBACrF,CAAC,CAAC,EAAA;;wBALF,SAKE,CAAC;;;;;KACN,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}

Some files were not shown because too many files have changed in this diff Show More