Commit Graph

1166 Commits

Author SHA1 Message Date
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
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