From 4820b13a98f141d0b485ac433e77304f70c10e53 Mon Sep 17 00:00:00 2001 From: zaid Date: Thu, 2 Jun 2022 22:48:14 +0200 Subject: [PATCH 1/6] WIP --- src/__tests__/checkout.spec.ts | 22 +- src/__tests__/hmacValidator.spec.ts | 2 +- src/__tests__/httpClient.spec.ts | 2 +- src/__tests__/modification.spec.ts | 22 +- src/__tests__/platforms.spec.ts | 42 +- src/__tests__/recurring.spec.ts | 6 +- src/__tests__/terminalLocalAPI.spec.ts | 2 +- src/client.ts | 2 +- src/httpClient/httpURLConnectionClient.ts | 2 +- src/services/checkout.ts | 14 +- src/typings/checkout/accountInfo.ts | 127 +--- src/typings/checkout/acctInfo.ts | 201 ++---- src/typings/checkout/achDetails.ts | 72 +- .../checkout/additionalData3DSecure.ts | 57 +- src/typings/checkout/additionalDataAirline.ts | 228 +------ .../checkout/additionalDataCarRental.ts | 193 +----- src/typings/checkout/additionalDataCommon.ts | 104 +-- src/typings/checkout/additionalDataLevel23.ts | 151 +---- src/typings/checkout/additionalDataLodging.ts | 151 +---- .../checkout/additionalDataOpenInvoice.ts | 144 +--- src/typings/checkout/additionalDataOpi.ts | 39 +- src/typings/checkout/additionalDataRatepay.ts | 88 +-- src/typings/checkout/additionalDataRetry.ts | 53 +- src/typings/checkout/additionalDataRisk.ts | 179 +---- .../checkout/additionalDataRiskStandalone.ts | 123 +--- .../checkout/additionalDataSubMerchant.ts | 102 +-- .../additionalDataTemporaryServices.ts | 95 +-- src/typings/checkout/additionalDataWallets.ts | 74 +- src/typings/checkout/address.ts | 66 +- src/typings/checkout/afterpayDetails.ts | 62 +- src/typings/checkout/amazonPayDetails.ts | 42 +- src/typings/checkout/amount.ts | 42 +- src/typings/checkout/androidPayDetails.ts | 37 +- src/typings/checkout/applePayDetails.ts | 57 +- src/typings/checkout/applicationInfo.ts | 62 +- src/typings/checkout/authenticationData.ts | 33 + src/typings/checkout/avs.ts | 44 +- .../checkout/bacsDirectDebitDetails.ts | 64 +- src/typings/checkout/bankAccount.ts | 77 +-- src/typings/checkout/billDeskDetails.ts | 46 +- src/typings/checkout/blikDetails.ts | 52 +- src/typings/checkout/browserInfo.ts | 77 +-- src/typings/checkout/card.ts | 72 +- src/typings/checkout/cardBrandDetails.ts | 24 + src/typings/checkout/cardDetails.ts | 145 +--- src/typings/checkout/cardDetailsRequest.ts | 32 + src/typings/checkout/cardDetailsResponse.ts | 21 + src/typings/checkout/cellulantDetails.ts | 42 +- src/typings/checkout/checkoutAwaitAction.ts | 52 +- .../checkout/checkoutBalanceCheckRequest.ts | 251 +------ .../checkout/checkoutBalanceCheckResponse.ts | 67 +- .../checkout/checkoutBankTransferAction.ts | 82 +-- .../checkout/checkoutCancelOrderRequest.ts | 42 +- .../checkout/checkoutCancelOrderResponse.ts | 42 +- .../checkout/checkoutCreateOrderRequest.ts | 52 +- .../checkout/checkoutCreateOrderResponse.ts | 82 +-- .../checkout/checkoutDonationAction.ts | 52 +- .../checkout/checkoutOneTimePasscodeAction.ts | 72 +- src/typings/checkout/checkoutOrder.ts | 42 +- src/typings/checkout/checkoutOrderResponse.ts | 62 +- src/typings/checkout/checkoutQrCodeAction.ts | 62 +- .../checkout/checkoutRedirectAction.ts | 57 +- src/typings/checkout/checkoutSDKAction.ts | 59 +- .../checkout/checkoutThreeDS2Action.ts | 69 +- .../checkout/checkoutUtilityRequest.ts | 37 +- .../checkout/checkoutUtilityResponse.ts | 37 +- src/typings/checkout/checkoutVoucherAction.ts | 132 +--- src/typings/checkout/commonField.ts | 42 +- src/typings/checkout/company.ts | 62 +- src/typings/checkout/configuration.ts | 58 +- .../checkout/createCheckoutSessionRequest.ts | 287 +------- .../checkout/createCheckoutSessionResponse.ts | 300 +-------- .../createPaymentAmountUpdateRequest.ts | 57 +- .../checkout/createPaymentCancelRequest.ts | 42 +- .../checkout/createPaymentCaptureRequest.ts | 57 +- .../checkout/createPaymentLinkRequest.ts | 216 +----- .../checkout/createPaymentRefundRequest.ts | 57 +- .../checkout/createPaymentReversalRequest.ts | 42 +- .../createStandalonePaymentCancelRequest.ts | 47 +- src/typings/checkout/detailsRequest.ts | 47 +- src/typings/checkout/deviceRenderOptions.ts | 42 +- src/typings/checkout/dokuDetails.ts | 52 +- src/typings/checkout/donationResponse.ts | 67 +- src/typings/checkout/dotpayDetails.ts | 42 +- src/typings/checkout/dragonpayDetails.ts | 47 +- .../checkout/econtextVoucherDetails.ts | 57 +- src/typings/checkout/entercashDetails.ts | 65 -- src/typings/checkout/externalPlatform.ts | 47 +- src/typings/checkout/forexQuote.ts | 92 +-- src/typings/checkout/fraudCheckResult.ts | 47 +- src/typings/checkout/fraudResult.ts | 42 +- .../genericIssuerPaymentMethodDetails.ts | 56 +- src/typings/checkout/giropayDetails.ts | 47 +- src/typings/checkout/googlePayDetails.ts | 57 +- src/typings/checkout/idealDetails.ts | 52 +- src/typings/checkout/inputDetail.ts | 77 +-- src/typings/checkout/installmentOption.ts | 52 +- src/typings/checkout/installments.ts | 44 +- src/typings/checkout/installmentsNumber.ts | 37 +- src/typings/checkout/item.ts | 42 +- src/typings/checkout/klarnaDetails.ts | 62 +- src/typings/checkout/lianLianPayDetails.ts | 66 -- src/typings/checkout/lineItem.ts | 82 +-- src/typings/checkout/mandate.ts | 74 +- src/typings/checkout/masterpassDetails.ts | 47 +- src/typings/checkout/mbwayDetails.ts | 47 +- src/typings/checkout/merchantDevice.ts | 47 +- src/typings/checkout/merchantRiskIndicator.ts | 106 +-- src/typings/checkout/mobilePayDetails.ts | 37 +- src/typings/checkout/models.ts | 636 +----------------- src/typings/checkout/molPayDetails.ts | 46 +- src/typings/checkout/name.ts | 42 +- src/typings/checkout/openInvoiceDetails.ts | 66 +- src/typings/checkout/payPalDetails.ts | 62 +- src/typings/checkout/payUUpiDetails.ts | 59 +- src/typings/checkout/payWithGoogleDetails.ts | 57 +- .../checkout/paymentAmountUpdateResource.ts | 72 +- src/typings/checkout/paymentCancelResource.ts | 57 +- .../checkout/paymentCaptureResource.ts | 72 +- .../checkout/paymentCompletionDetails.ts | 124 +--- src/typings/checkout/paymentDetails.ts | 103 +-- .../checkout/paymentDetailsResponse.ts | 113 +--- .../checkout/paymentDonationRequest.ts | 360 +--------- src/typings/checkout/paymentLinkResource.ts | 330 --------- src/typings/checkout/paymentLinkResponse.ts | 188 ++++++ src/typings/checkout/paymentMethod.ts | 77 +-- src/typings/checkout/paymentMethodGroup.ts | 47 +- src/typings/checkout/paymentMethodIssuer.ts | 47 +- src/typings/checkout/paymentMethodsRequest.ts | 94 +-- .../checkout/paymentMethodsResponse.ts | 42 +- src/typings/checkout/paymentRefundResource.ts | 72 +- src/typings/checkout/paymentRequest.ts | 343 +--------- src/typings/checkout/paymentResponse.ts | 104 +-- .../checkout/paymentReversalResource.ts | 57 +- src/typings/checkout/paymentSetupRequest.ts | 305 +-------- src/typings/checkout/paymentSetupResponse.ts | 42 +- .../checkout/paymentVerificationRequest.ts | 37 +- .../checkout/paymentVerificationResponse.ts | 91 +-- src/typings/checkout/phone.ts | 48 +- src/typings/checkout/qiwiWalletDetails.ts | 62 -- src/typings/checkout/ratepayDetails.ts | 65 +- src/typings/checkout/recurring.ts | 67 +- src/typings/checkout/recurringDetail.ts | 87 +-- src/typings/checkout/redirect.ts | 51 +- .../responseAdditionalData3DSecure.ts | 59 +- .../responseAdditionalDataBillingAddress.ts | 74 +- .../checkout/responseAdditionalDataCard.ts | 73 +- .../checkout/responseAdditionalDataCommon.ts | 341 +--------- .../responseAdditionalDataDeliveryAddress.ts | 98 --- .../responseAdditionalDataInstallments.ts | 116 +--- .../responseAdditionalDataNetworkTokens.ts | 53 +- .../checkout/responseAdditionalDataOpi.ts | 39 +- .../checkout/responseAdditionalDataPayPal.ts | 87 --- .../checkout/responseAdditionalDataSepa.ts | 53 +- src/typings/checkout/responsePaymentMethod.ts | 24 + src/typings/checkout/riskData.ts | 52 +- src/typings/checkout/sDKEphemPubKey.ts | 52 +- src/typings/checkout/samsungPayDetails.ts | 57 +- .../checkout/sepaDirectDebitDetails.ts | 60 +- src/typings/checkout/serviceError.ts | 62 +- src/typings/checkout/serviceError2.ts | 48 +- src/typings/checkout/shopperInput.ts | 47 +- .../checkout/shopperInteractionDevice.ts | 47 +- src/typings/checkout/signaturescript.sh | 24 - src/typings/checkout/split.ts | 62 +- src/typings/checkout/splitAmount.ts | 42 +- .../standalonePaymentCancelResource.ts | 57 +- src/typings/checkout/storedDetails.ts | 47 +- src/typings/checkout/storedPaymentMethod.ts | 99 +-- .../checkout/storedPaymentMethodDetails.ts | 61 +- src/typings/checkout/subInputDetail.ts | 62 +- src/typings/checkout/threeDS2RequestData.ts | 274 +------- src/typings/checkout/threeDS2ResponseData.ts | 127 +--- src/typings/checkout/threeDS2Result.ts | 115 +--- src/typings/checkout/threeDSRequestData.ts | 33 + .../threeDSRequestorAuthenticationInfo.ts | 68 +- ...threeDSRequestorPriorAuthenticationInfo.ts | 70 +- src/typings/checkout/threeDSecureData.ts | 105 +-- .../checkout/updatePaymentLinkRequest.ts | 37 +- src/typings/checkout/upiCollectDetails.ts | 45 ++ src/typings/checkout/upiDetails.ts | 103 --- src/typings/checkout/upiIntentDetails.ts | 25 + src/typings/checkout/vippsDetails.ts | 52 +- src/typings/checkout/visaCheckoutDetails.ts | 47 +- src/typings/checkout/weChatPayDetails.ts | 40 +- .../checkout/weChatPayMiniProgramDetails.ts | 47 +- src/typings/checkout/zipDetails.ts | 55 +- 187 files changed, 1416 insertions(+), 13539 deletions(-) create mode 100644 src/typings/checkout/authenticationData.ts create mode 100644 src/typings/checkout/cardBrandDetails.ts create mode 100644 src/typings/checkout/cardDetailsRequest.ts create mode 100644 src/typings/checkout/cardDetailsResponse.ts delete mode 100644 src/typings/checkout/entercashDetails.ts delete mode 100644 src/typings/checkout/lianLianPayDetails.ts delete mode 100644 src/typings/checkout/paymentLinkResource.ts create mode 100644 src/typings/checkout/paymentLinkResponse.ts delete mode 100644 src/typings/checkout/qiwiWalletDetails.ts delete mode 100644 src/typings/checkout/responseAdditionalDataDeliveryAddress.ts delete mode 100644 src/typings/checkout/responseAdditionalDataPayPal.ts create mode 100644 src/typings/checkout/responsePaymentMethod.ts delete mode 100755 src/typings/checkout/signaturescript.sh create mode 100644 src/typings/checkout/threeDSRequestData.ts create mode 100644 src/typings/checkout/upiCollectDetails.ts delete mode 100644 src/typings/checkout/upiDetails.ts create mode 100644 src/typings/checkout/upiIntentDetails.ts diff --git a/src/__tests__/checkout.spec.ts b/src/__tests__/checkout.spec.ts index b19d04d..b41846f 100644 --- a/src/__tests__/checkout.spec.ts +++ b/src/__tests__/checkout.spec.ts @@ -41,7 +41,7 @@ import { CheckoutUtilityRequest, CreatePaymentLinkRequest, DetailsRequest, - PaymentLinkResource, + PaymentLinkResponse, PaymentMethodsRequest, PaymentRequest, PaymentResponse, @@ -65,8 +65,8 @@ function createAmountObject(currency: string, value: number): Amount { function createPaymentsDetailsRequest(): DetailsRequest { return { details: { - MD: "mdValue", - PaRes: "paResValue", + mD: "mdValue", + paRes: "paResValue", }, paymentData: "Ab02b4c0!BQABAgCJN1wRZuGJmq8dMncmypvknj9s7l5Tj...", }; @@ -103,15 +103,15 @@ function createPaymentSessionRequest(): PaymentSetupRequest { sdkVersion: "3.7.0" }; } -function getPaymentLinkSuccess(expiresAt: string): PaymentLinkResource { +function getPaymentLinkSuccess(expiresAt: string): PaymentLinkResponse { return { amount: createAmountObject("USD", 1000), expiresAt, reference, - url: "paymentLinkResponse.url", + url: "PaymentLinkResponse.url", id: "mocked_id", merchantAccount, - status: PaymentLinkResource.StatusEnum.Active + status: PaymentLinkResponse.StatusEnum.Active }; } @@ -190,7 +190,7 @@ describe("Checkout", (): void => { const paymentsRequest: PaymentRequest = createPaymentsCheckoutRequest(); await checkout.payments(paymentsRequest); - } catch (e) { + } catch (e: any) { expect(e instanceof HttpClientException).toBeTruthy(); } }); @@ -213,7 +213,7 @@ describe("Checkout", (): void => { test.each([false, true])("should have valid payment link, isMock: %p", async (isMock): Promise => { !isMock && nock.restore(); const expiresAt = "2019-12-17T10:05:29Z"; - const paymentLinkSuccess: PaymentLinkResource = getPaymentLinkSuccess(expiresAt); + const paymentLinkSuccess: PaymentLinkResponse = getPaymentLinkSuccess(expiresAt); scope.post("/paymentLinks").reply(200, paymentLinkSuccess); @@ -224,7 +224,7 @@ describe("Checkout", (): void => { test.each([isCI, true])("should get payment link, isMock: %p", async (isMock): Promise => { !isMock && nock.restore(); const expiresAt = "2019-12-17T10:05:29Z"; - const paymentLinkSuccess: PaymentLinkResource = getPaymentLinkSuccess(expiresAt); + const paymentLinkSuccess: PaymentLinkResponse = getPaymentLinkSuccess(expiresAt); scope.post("/paymentLinks").reply(200, paymentLinkSuccess); @@ -238,7 +238,7 @@ describe("Checkout", (): void => { test.each([isCI, true])("should patch payment link, isMock: %p", async (isMock): Promise => { !isMock && nock.restore(); const expiresAt = "2019-12-17T10:05:29Z"; - const paymentLinkSuccess: PaymentLinkResource = getPaymentLinkSuccess(expiresAt); + const paymentLinkSuccess: PaymentLinkResponse = getPaymentLinkSuccess(expiresAt); scope.post("/paymentLinks").reply(200, paymentLinkSuccess); @@ -284,7 +284,7 @@ describe("Checkout", (): void => { try { new Checkout(client); fail(); - } catch (e: any) { + } 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."); } }); diff --git a/src/__tests__/hmacValidator.spec.ts b/src/__tests__/hmacValidator.spec.ts index ad2352c..7d653f6 100644 --- a/src/__tests__/hmacValidator.spec.ts +++ b/src/__tests__/hmacValidator.spec.ts @@ -101,7 +101,7 @@ describe("HMAC Validator", function (): void { }; try { hmacValidator.validateHMAC(notificationRequestItemNoAdditionalData, key); - } catch(error: any) { + } catch(error) { expect(error.message).toEqual(`Missing ${ApiConstants.HMAC_SIGNATURE}`); } }); diff --git a/src/__tests__/httpClient.spec.ts b/src/__tests__/httpClient.spec.ts index b253b43..c399272 100644 --- a/src/__tests__/httpClient.spec.ts +++ b/src/__tests__/httpClient.spec.ts @@ -43,7 +43,7 @@ const getResponse = async ({apiKey , environment }: { apiKey: string; environmen try { await checkout.payments(createPaymentsCheckoutRequest()); fail("request should fail"); - } catch (e: any) { + } catch (e) { expect(e instanceof ErrorException).toBeTruthy(); if (errorMessageEquals) expect(e.message).toEqual(errorMessageEquals); if (errorMessageContains) expect(e.message.toLowerCase()).toContain(errorMessageContains); diff --git a/src/__tests__/modification.spec.ts b/src/__tests__/modification.spec.ts index 531f206..3c2c8e7 100644 --- a/src/__tests__/modification.spec.ts +++ b/src/__tests__/modification.spec.ts @@ -196,7 +196,7 @@ describe("Modification", (): void => { try { const result = await modification.amountUpdates(paymentPspReference, request); expect(result).toBeTruthy(); - } catch (e: any) { + } catch (e) { fail(e.message); } }); @@ -210,7 +210,7 @@ describe("Modification", (): void => { try { await modification.amountUpdates(invalidPaymentPspReference, request); - } catch (e: any) { + } catch (e) { expect(e.statusCode).toBe(422); expect(e.message).toContain("Original pspReference required for this operation"); } @@ -224,7 +224,7 @@ describe("Modification", (): void => { try { const result = await modification.cancels(paymentPspReference, request); expect(result).toBeTruthy(); - } catch (e: any) { + } catch (e) { fail(e.message); } }); @@ -237,7 +237,7 @@ describe("Modification", (): void => { .reply(422, invalidModificationResult); try { await modification.cancels(invalidPaymentPspReference, request); - } catch (e: any) { + } catch (e) { expect(e.statusCode).toBe(422); expect(e.message).toContain("Original pspReference required for this operation"); } @@ -251,7 +251,7 @@ describe("Modification", (): void => { try { const result = await modification.cancelsStandalone(request); expect(result).toBeTruthy(); - } catch (e: any) { + } catch (e) { fail(e.message); } }); @@ -264,7 +264,7 @@ describe("Modification", (): void => { try { const result = await modification.captures(paymentPspReference, request); expect(result).toBeTruthy(); - } catch (e: any) { + } catch (e) { fail(e.message); } }); @@ -277,7 +277,7 @@ describe("Modification", (): void => { .reply(422, invalidModificationResult); try { await modification.captures(invalidPaymentPspReference, request); - } catch (e: any) { + } catch (e) { expect(e.statusCode).toBe(422); expect(e.message).toContain("Original pspReference required for this operation"); } @@ -291,7 +291,7 @@ describe("Modification", (): void => { try { const result = await modification.refunds(paymentPspReference, request); expect(result).toBeTruthy(); - } catch (e: any) { + } catch (e) { fail(e.message); } }); @@ -304,7 +304,7 @@ describe("Modification", (): void => { .reply(422, invalidModificationResult); try { await modification.refunds(invalidPaymentPspReference, request); - } catch (e: any) { + } catch (e) { expect(e.statusCode).toBe(422); expect(e.message).toContain("Original pspReference required for this operation"); } @@ -318,7 +318,7 @@ describe("Modification", (): void => { try { const result = await modification.reversals(paymentPspReference, request); expect(result).toBeTruthy(); - } catch (e: any) { + } catch (e) { fail(e.message); } }); @@ -331,7 +331,7 @@ describe("Modification", (): void => { .reply(422, invalidModificationResult); try { await modification.reversals(invalidPaymentPspReference, request); - } catch (e: any) { + } catch (e) { expect(e.statusCode).toBe(422); expect(e.message).toContain("Original pspReference required for this operation"); } diff --git a/src/__tests__/platforms.spec.ts b/src/__tests__/platforms.spec.ts index acd2f64..fffccd5 100644 --- a/src/__tests__/platforms.spec.ts +++ b/src/__tests__/platforms.spec.ts @@ -244,7 +244,7 @@ describe.skip("Platforms Test E2E", function(): void { nock.restore(); try { expect(accountHolder.pspReference).toBeDefined(); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -255,7 +255,7 @@ describe.skip("Platforms Test E2E", function(): void { accountHolderCode: accountHolder.accountHolderCode, }); expect(result.accountHolderDetails.email).toEqual("random_email@example.com"); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -273,7 +273,7 @@ describe.skip("Platforms Test E2E", function(): void { } }); expect(result.accountHolderDetails!.address?.country).toEqual("BE"); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -287,7 +287,7 @@ describe.skip("Platforms Test E2E", function(): void { tier: 2 }); expect(result.resultCode).toEqual("Success"); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -296,7 +296,7 @@ describe.skip("Platforms Test E2E", function(): void { nock.restore(); try { expect(account.pspReference).toBeDefined(); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -314,7 +314,7 @@ describe.skip("Platforms Test E2E", function(): void { } }); expect(result.pspReference).toBeDefined(); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -335,7 +335,7 @@ describe.skip("Platforms Test E2E", function(): void { accountHolderCode: account.accountHolderCode, }); expect(result.documentDetails![0].filename).toEqual("IDCardFront.png"); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -347,7 +347,7 @@ describe.skip("Platforms Test E2E", function(): void { accountCode: accountToClose.accountCode }); expect(result.status).toEqual("Closed"); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -359,7 +359,7 @@ describe.skip("Platforms Test E2E", function(): void { accountHolderCode: accountHolderToSuspend.accountHolderCode, }); expect(result.pspReference).toBeDefined(); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -369,7 +369,7 @@ describe.skip("Platforms Test E2E", function(): void { try { const result = await platforms.Account.unSuspendAccountHolder({ accountHolderCode: accountHolderToUnSuspend.accountHolderCode }); expect(result.pspReference).toBeDefined(); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -383,7 +383,7 @@ describe.skip("Platforms Test E2E", function(): void { stateType: A.UpdateAccountHolderStateRequest.StateTypeEnum.Payout }); expect(result.pspReference).toBeDefined(); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -395,7 +395,7 @@ describe.skip("Platforms Test E2E", function(): void { accountHolderCode: accountHolderToClose.accountHolderCode }); expect(result.pspReference).toBeDefined(); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -409,7 +409,7 @@ describe.skip("Platforms Test E2E", function(): void { year: 2020 }); expect(result.content).toBeDefined(); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -423,7 +423,7 @@ describe.skip("Platforms Test E2E", function(): void { accountHolderCode: generateRandomCode() }); expect(result.balancePerAccount![0].detailBalance).toBeDefined(); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -435,7 +435,7 @@ describe.skip("Platforms Test E2E", function(): void { accountHolderCode: generateRandomCode() }); expect(result.accountTransactionLists![0].transactions).toBeDefined(); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -453,7 +453,7 @@ describe.skip("Platforms Test E2E", function(): void { transferCode: "SUBSCRIPTION" }); expect(result.pspReference).toBeDefined(); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -468,7 +468,7 @@ describe.skip("Platforms Test E2E", function(): void { const result = await platforms.NotificationConfiguration.getNotificationConfigurationList({}); const resultStr = JSON.stringify(result); expect(resultStr.includes("pspReference")).toBeTruthy(); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -483,7 +483,7 @@ describe.skip("Platforms Test E2E", function(): void { } }); expect(result.configurationDetails.active).toBeTruthy(); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -496,7 +496,7 @@ describe.skip("Platforms Test E2E", function(): void { notificationId: configurationID }); expect(result.configurationDetails.notifyURL).toEqual("https://www.adyen.com/notification-handler"); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -522,7 +522,7 @@ describe.skip("Platforms Test E2E", function(): void { }); const accountHolderVerification = result.configurationDetails.eventConfigs.filter(event => event.eventType === "ACCOUNT_HOLDER_VERIFICATION")[0]; expect(accountHolderVerification.includeMode).toEqual("EXCLUDE"); - } catch (e: any) { + } catch (e) { assertError(e); } }); @@ -534,7 +534,7 @@ describe.skip("Platforms Test E2E", function(): void { try { const result = await platforms.NotificationConfiguration.deleteNotificationConfigurations({notificationIds}); expect(result.pspReference).toBeDefined(); - } catch (e: any) { + } catch (e) { assertError(e); } }); diff --git a/src/__tests__/recurring.spec.ts b/src/__tests__/recurring.spec.ts index e00827d..ce75af1 100644 --- a/src/__tests__/recurring.spec.ts +++ b/src/__tests__/recurring.spec.ts @@ -97,7 +97,7 @@ describe("Recurring", (): void => { try { const result = await recurring.disable(request); expect(result).toBeTruthy(); - } catch (e: any) { + } catch (e) { fail(e.message); } }); @@ -123,7 +123,7 @@ describe("Recurring", (): void => { try { const result = await recurring.notifyShopper(notifyShopperRequest); expect(result).toBeTruthy(); - } catch (e: any) { + } catch (e) { fail(e.message); } }); @@ -154,7 +154,7 @@ describe("Recurring", (): void => { try { const result = await recurring.scheduleAccountUpdater(request); expect(result).toBeTruthy(); - } catch (e: any) { + } catch (e) { fail(e.message); } }); diff --git a/src/__tests__/terminalLocalAPI.spec.ts b/src/__tests__/terminalLocalAPI.spec.ts index b8bc038..0c2f047 100644 --- a/src/__tests__/terminalLocalAPI.spec.ts +++ b/src/__tests__/terminalLocalAPI.spec.ts @@ -79,7 +79,7 @@ describe("Terminal Local API", (): void => { try { await terminalLocalAPI.request(terminalAPIPaymentRequest, securityKey); - } catch (e: any) { + } catch (e) { expect(e instanceof NexoCryptoException); expect(e.message).toEqual("Hmac validation failed"); } diff --git a/src/client.ts b/src/client.ts index d6ea29b..a210d00 100644 --- a/src/client.ts +++ b/src/client.ts @@ -52,7 +52,7 @@ class Client { public static HPP_LIVE = "https://live.adyen.com/hpp"; public static MARKETPAY_ENDPOINT_TEST = "https://cal-test.adyen.com/cal/services"; public static MARKETPAY_ENDPOINT_LIVE = "https://cal-live.adyen.com/cal/services"; - public static CHECKOUT_API_VERSION = "v68"; + public static CHECKOUT_API_VERSION = "v69"; public static API_VERSION = "v64"; public static RECURRING_API_VERSION = "v49"; public static MARKETPAY_ACCOUNT_API_VERSION = "v6"; diff --git a/src/httpClient/httpURLConnectionClient.ts b/src/httpClient/httpURLConnectionClient.ts index 3ce1b18..efa7b84 100644 --- a/src/httpClient/httpURLConnectionClient.ts +++ b/src/httpClient/httpURLConnectionClient.ts @@ -195,7 +195,7 @@ class HttpURLConnectionClient implements ClientInterface { checkServerIdentity, }; - } catch (e: any) { + } catch (e) { return Promise.reject(new HttpClientException({ message: `Error loading certificate from path: ${e.message}` })); } diff --git a/src/services/checkout.ts b/src/services/checkout.ts index 0e5e3a0..90a2834 100644 --- a/src/services/checkout.ts +++ b/src/services/checkout.ts @@ -34,7 +34,7 @@ import { PaymentResponse, PaymentMethodsRequest, PaymentMethodsResponse, - PaymentLinkResource, + PaymentLinkResponse, CreatePaymentLinkRequest, DetailsRequest, PaymentSetupRequest, @@ -109,25 +109,25 @@ class Checkout extends ApiKeyAuthenticatedService { ); } - public paymentLinks(paymentLinkRequest: CreatePaymentLinkRequest): Promise { - return getJsonResponse( + public paymentLinks(paymentLinkRequest: CreatePaymentLinkRequest): Promise { + return getJsonResponse( this._paymentLinks, paymentLinkRequest ); } - public getPaymentLinks(linkId: string): Promise { + public getPaymentLinks(linkId: string): Promise { this._paymentLinksId.id = linkId; - return getJsonResponse, PaymentLinkResource>( + return getJsonResponse, PaymentLinkResponse>( this._paymentLinksId, {}, { method: "GET" } ); } - public updatePaymentLinks(linkId: string, status: "expired"): Promise { + public updatePaymentLinks(linkId: string, status: "expired"): Promise { this._paymentLinksId.id = linkId; - return getJsonResponse, PaymentLinkResource>( + return getJsonResponse, PaymentLinkResponse>( this._paymentLinksId, { status }, { method: "PATCH" } diff --git a/src/typings/checkout/accountInfo.ts b/src/typings/checkout/accountInfo.ts index 058448d..f1c212b 100644 --- a/src/typings/checkout/accountInfo.ts +++ b/src/typings/checkout/accountInfo.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class AccountInfo { /** * Indicator for the length of time since this shopper account was created in the merchant\'s environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days @@ -108,109 +88,6 @@ export class AccountInfo { * Shopper\'s work phone number (including the country code). */ 'workPhone'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "accountAgeIndicator", - "baseName": "accountAgeIndicator", - "type": "AccountInfo.AccountAgeIndicatorEnum" - }, - { - "name": "accountChangeDate", - "baseName": "accountChangeDate", - "type": "Date" - }, - { - "name": "accountChangeIndicator", - "baseName": "accountChangeIndicator", - "type": "AccountInfo.AccountChangeIndicatorEnum" - }, - { - "name": "accountCreationDate", - "baseName": "accountCreationDate", - "type": "Date" - }, - { - "name": "accountType", - "baseName": "accountType", - "type": "AccountInfo.AccountTypeEnum" - }, - { - "name": "addCardAttemptsDay", - "baseName": "addCardAttemptsDay", - "type": "number" - }, - { - "name": "deliveryAddressUsageDate", - "baseName": "deliveryAddressUsageDate", - "type": "Date" - }, - { - "name": "deliveryAddressUsageIndicator", - "baseName": "deliveryAddressUsageIndicator", - "type": "AccountInfo.DeliveryAddressUsageIndicatorEnum" - }, - { - "name": "homePhone", - "baseName": "homePhone", - "type": "string" - }, - { - "name": "mobilePhone", - "baseName": "mobilePhone", - "type": "string" - }, - { - "name": "passwordChangeDate", - "baseName": "passwordChangeDate", - "type": "Date" - }, - { - "name": "passwordChangeIndicator", - "baseName": "passwordChangeIndicator", - "type": "AccountInfo.PasswordChangeIndicatorEnum" - }, - { - "name": "pastTransactionsDay", - "baseName": "pastTransactionsDay", - "type": "number" - }, - { - "name": "pastTransactionsYear", - "baseName": "pastTransactionsYear", - "type": "number" - }, - { - "name": "paymentAccountAge", - "baseName": "paymentAccountAge", - "type": "Date" - }, - { - "name": "paymentAccountIndicator", - "baseName": "paymentAccountIndicator", - "type": "AccountInfo.PaymentAccountIndicatorEnum" - }, - { - "name": "purchasesLast6Months", - "baseName": "purchasesLast6Months", - "type": "number" - }, - { - "name": "suspiciousActivity", - "baseName": "suspiciousActivity", - "type": "boolean" - }, - { - "name": "workPhone", - "baseName": "workPhone", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AccountInfo.attributeTypeMap; - } } export namespace AccountInfo { diff --git a/src/typings/checkout/acctInfo.ts b/src/typings/checkout/acctInfo.ts index 92e115c..e872c15 100644 --- a/src/typings/checkout/acctInfo.ts +++ b/src/typings/checkout/acctInfo.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,159 +11,113 @@ */ - export class AcctInfo { /** - * Length of time that the cardholder has had the account with the 3DS Requestor. + * Length of time that the cardholder has had the account with the 3DS Requestor. Allowed values: * **01** — No account * **02** — Created during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days */ - 'chAccAgeInd'?: string; + 'chAccAgeInd'?: AcctInfo.ChAccAgeIndEnum; /** - * String that the cardholder’s account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. + * Date that the cardholder’s account with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Format: **YYYYMMDD** */ 'chAccChange'?: string; /** - * Length of time since the cardholder’s account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. + * Length of time since the cardholder’s account information with the 3DS Requestor was last changed, including Billing or Shipping address, new payment account, or new user(s) added. Allowed values: * **01** — Changed during this transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days */ - 'chAccChangeInd'?: string; + 'chAccChangeInd'?: AcctInfo.ChAccChangeIndEnum; /** - * String that cardholder’s account with the 3DS Requestor had a password change or account reset. + * Date that cardholder’s account with the 3DS Requestor had a password change or account reset. Format: **YYYYMMDD** */ 'chAccPwChange'?: string; /** - * Indicates the length of time since the cardholder’s account with the 3DS Requestor had a password change or account reset. + * Indicates the length of time since the cardholder’s account with the 3DS Requestor had a password change or account reset. Allowed values: * **01** — No change * **02** — Changed during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days */ - 'chAccPwChangeInd'?: string; + 'chAccPwChangeInd'?: AcctInfo.ChAccPwChangeIndEnum; /** - * String that the cardholder opened the account with the 3DS Requestor. + * Date that the cardholder opened the account with the 3DS Requestor. Format: **YYYYMMDD** */ 'chAccString'?: string; /** - * Number of purchases with this cardholder account during the previous six months. + * Number of purchases with this cardholder account during the previous six months. Max length: 4 characters. */ 'nbPurchaseAccount'?: string; /** - * String that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. + * String that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Format: **YYYYMMDD** */ 'paymentAccAge'?: string; /** - * Indicates the length of time that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. + * Indicates the length of time that the payment account was enrolled in the cardholder’s account with the 3DS Requestor. Allowed values: * **01** — No account (guest checkout) * **02** — During this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days */ - 'paymentAccInd'?: string; + 'paymentAccInd'?: AcctInfo.PaymentAccIndEnum; /** - * Number of Add Card attempts in the last 24 hours. + * Number of Add Card attempts in the last 24 hours. Max length: 3 characters. */ 'provisionAttemptsDay'?: string; /** - * String when the shipping address used for this transaction was first used with the 3DS Requestor. + * String when the shipping address used for this transaction was first used with the 3DS Requestor. Format: **YYYYMMDD** */ 'shipAddressUsage'?: string; /** - * Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. + * Indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Allowed values: * **01** — This transaction * **02** — Less than 30 days * **03** — 30–60 days * **04** — More than 60 days */ - 'shipAddressUsageInd'?: string; + 'shipAddressUsageInd'?: AcctInfo.ShipAddressUsageIndEnum; /** - * Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. + * Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction. Allowed values: * **01** — Account Name identical to shipping Name * **02** — Account Name different to shipping Name */ - 'shipNameIndicator'?: string; + 'shipNameIndicator'?: AcctInfo.ShipNameIndicatorEnum; /** - * Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. + * Indicates whether the 3DS Requestor has experienced suspicious activity (including previous fraud) on the cardholder account. Allowed values: * **01** — No suspicious activity has been observed * **02** — Suspicious activity has been observed */ - 'suspiciousAccActivity'?: string; + 'suspiciousAccActivity'?: AcctInfo.SuspiciousAccActivityEnum; /** - * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. + * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. Max length: 3 characters. */ 'txnActivityDay'?: string; /** - * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. + * Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. Max length: 3 characters. */ 'txnActivityYear'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "chAccAgeInd", - "baseName": "chAccAgeInd", - "type": "string" - }, - { - "name": "chAccChange", - "baseName": "chAccChange", - "type": "string" - }, - { - "name": "chAccChangeInd", - "baseName": "chAccChangeInd", - "type": "string" - }, - { - "name": "chAccPwChange", - "baseName": "chAccPwChange", - "type": "string" - }, - { - "name": "chAccPwChangeInd", - "baseName": "chAccPwChangeInd", - "type": "string" - }, - { - "name": "chAccString", - "baseName": "chAccString", - "type": "string" - }, - { - "name": "nbPurchaseAccount", - "baseName": "nbPurchaseAccount", - "type": "string" - }, - { - "name": "paymentAccAge", - "baseName": "paymentAccAge", - "type": "string" - }, - { - "name": "paymentAccInd", - "baseName": "paymentAccInd", - "type": "string" - }, - { - "name": "provisionAttemptsDay", - "baseName": "provisionAttemptsDay", - "type": "string" - }, - { - "name": "shipAddressUsage", - "baseName": "shipAddressUsage", - "type": "string" - }, - { - "name": "shipAddressUsageInd", - "baseName": "shipAddressUsageInd", - "type": "string" - }, - { - "name": "shipNameIndicator", - "baseName": "shipNameIndicator", - "type": "string" - }, - { - "name": "suspiciousAccActivity", - "baseName": "suspiciousAccActivity", - "type": "string" - }, - { - "name": "txnActivityDay", - "baseName": "txnActivityDay", - "type": "string" - }, - { - "name": "txnActivityYear", - "baseName": "txnActivityYear", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AcctInfo.attributeTypeMap; - } } +export namespace AcctInfo { + export enum ChAccAgeIndEnum { + _01 = '01', + _02 = '02', + _03 = '03', + _04 = '04', + _05 = '05' + } + export enum ChAccChangeIndEnum { + _01 = '01', + _02 = '02', + _03 = '03', + _04 = '04' + } + export enum ChAccPwChangeIndEnum { + _01 = '01', + _02 = '02', + _03 = '03', + _04 = '04', + _05 = '05' + } + export enum PaymentAccIndEnum { + _01 = '01', + _02 = '02', + _03 = '03', + _04 = '04', + _05 = '05' + } + export enum ShipAddressUsageIndEnum { + _01 = '01', + _02 = '02', + _03 = '03', + _04 = '04' + } + export enum ShipNameIndicatorEnum { + _01 = '01', + _02 = '02' + } + export enum SuspiciousAccActivityEnum { + _01 = '01', + _02 = '02' + } +} diff --git a/src/typings/checkout/achDetails.ts b/src/typings/checkout/achDetails.ts index 381d1be..e58e79d 100644 --- a/src/typings/checkout/achDetails.ts +++ b/src/typings/checkout/achDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class AchDetails { /** * The bank account number (without separators). @@ -64,54 +44,6 @@ export class AchDetails { * **ach** */ 'type'?: AchDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "bankAccountNumber", - "baseName": "bankAccountNumber", - "type": "string" - }, - { - "name": "bankLocationId", - "baseName": "bankLocationId", - "type": "string" - }, - { - "name": "encryptedBankAccountNumber", - "baseName": "encryptedBankAccountNumber", - "type": "string" - }, - { - "name": "encryptedBankLocationId", - "baseName": "encryptedBankLocationId", - "type": "string" - }, - { - "name": "ownerName", - "baseName": "ownerName", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "AchDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return AchDetails.attributeTypeMap; - } } export namespace AchDetails { diff --git a/src/typings/checkout/additionalData3DSecure.ts b/src/typings/checkout/additionalData3DSecure.ts index b42858c..09424ea 100644 --- a/src/typings/checkout/additionalData3DSecure.ts +++ b/src/typings/checkout/additionalData3DSecure.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class AdditionalData3DSecure { /** * Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen still selects the version of 3D Secure based on configuration to optimize authorisation rates and improve the shopper\'s experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen will not offer 3D Secure 2 to your shopper regardless of your configuration. @@ -52,38 +32,5 @@ export class AdditionalData3DSecure { * Indicates your preference for the 3D Secure version. > If you use this parameter, you override the checks from Adyen\'s Authentication Engine. We recommend to use this field only if you have an extensive knowledge of 3D Secure. Possible values: * **1.0.2**: Apply 3D Secure version 1.0.2. * **2.1.0**: Apply 3D Secure version 2.1.0. * **2.2.0**: Apply 3D Secure version 2.2.0. If the issuer does not support version 2.2.0, we will fall back to 2.1.0. The following rules apply: * If you prefer 2.1.0 or 2.2.0 but we receive a negative `transStatus` in the `ARes`, we will apply the fallback policy configured in your account. For example, if the configuration is to fall back to 3D Secure 1, we will apply version 1.0.2. * If you prefer 2.1.0 or 2.2.0 but the BIN is not enrolled, you will receive an error. */ 'threeDSVersion'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "allow3DS2", - "baseName": "allow3DS2", - "type": "string" - }, - { - "name": "executeThreeD", - "baseName": "executeThreeD", - "type": "string" - }, - { - "name": "mpiImplementationType", - "baseName": "mpiImplementationType", - "type": "string" - }, - { - "name": "scaExemption", - "baseName": "scaExemption", - "type": "string" - }, - { - "name": "threeDSVersion", - "baseName": "threeDSVersion", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalData3DSecure.attributeTypeMap; - } } diff --git a/src/typings/checkout/additionalDataAirline.ts b/src/typings/checkout/additionalDataAirline.ts index 0f5392d..b1b036f 100644 --- a/src/typings/checkout/additionalDataAirline.ts +++ b/src/typings/checkout/additionalDataAirline.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,267 +11,118 @@ */ - export class AdditionalDataAirline { /** * Reference number for the invoice, issued by the agency. * minLength: 1 * maxLength: 6 */ - 'airline_agency_invoice_number'?: string; + 'airlineAgencyInvoiceNumber'?: string; /** * 2-letter agency plan identifier; alphabetical. * minLength: 2 * maxLength: 2 */ - 'airline_agency_plan_name'?: string; + 'airlineAgencyPlanName'?: string; /** * [IATA](https://www.iata.org/services/pages/codes.aspx) 3-digit accounting code (PAX); numeric. It identifies the carrier. * Format: IATA 3-digit accounting code (PAX) * Example: KLM = 074 * minLength: 3 * maxLength: 3 */ - 'airline_airline_code'?: string; + 'airlineAirlineCode'?: string; /** * [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX); alphabetical. It identifies the carrier. * Format: [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter airline code * Example: KLM = KL * minLength: 2 * maxLength: 2 */ - 'airline_airline_designator_code'?: string; + 'airlineAirlineDesignatorCode'?: string; /** * Chargeable amount for boarding the plane. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). * minLength: 1 * maxLength: 18 */ - 'airline_boarding_fee'?: string; + 'airlineBoardingFee'?: string; /** * The [CRS](https://en.wikipedia.org/wiki/Computer_reservation_system) used to make the reservation and purchase the ticket. * Format: alphanumeric. * minLength: 4 * maxLength: 4 */ - 'airline_computerized_reservation_system'?: string; + 'airlineComputerizedReservationSystem'?: string; /** * Reference number; alphanumeric. * minLength: 0 * maxLength: 20 */ - 'airline_customer_reference_number'?: string; + 'airlineCustomerReferenceNumber'?: string; /** * Optional 2-digit code; alphanumeric. It identifies the type of product of the transaction. The description of the code may appear on credit card statements. * Format: 2-digit code * Example: Passenger ticket = 01 * minLength: 2 * maxLength: 2 */ - 'airline_document_type'?: string; + 'airlineDocumentType'?: string; /** * Flight departure date. Local time `(HH:mm)` is optional. * Date format: `yyyy-MM-dd` * Date and time format: `yyyy-MM-dd HH:mm` * minLength: 10 * maxLength: 16 */ - 'airline_flight_date'?: string; + 'airlineFlightDate'?: string; /** * [IATA](https://www.iata.org/services/pages/codes.aspx) 2-letter accounting code (PAX); alphabetical. It identifies the carrier. This field is required/mandatory if the airline data includes leg details. * Format: IATA 2-letter airline code * Example: KLM = KL * minLength: 2 * maxLength: 2 */ - 'airline_leg_carrier_code'?: string; + 'airlineLegCarrierCode'?: string; /** * 1-letter travel class identifier; alphabetical. There is no standard; however, the following codes are used rather consistently: * F: first class * J: business class * Y: economy class * W: premium economy Limitations: * minLength: 1 * maxLength: 1 */ - 'airline_leg_class_of_travel'?: string; + 'airlineLegClassOfTravel'?: string; /** * Date and time of travel. [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-compliant. * Format: `yyyy-MM-dd HH:mm` * minLength: 16 * maxLength: 16 */ - 'airline_leg_date_of_travel'?: string; + 'airlineLegDateOfTravel'?: string; /** * Alphabetical identifier of the departure airport. This field is required if the airline data includes leg details. * Format: [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code. * Example: Amsterdam = AMS * minLength: 3 * maxLength: 3 */ - 'airline_leg_depart_airport'?: string; + 'airlineLegDepartAirport'?: string; /** * [Departure tax](https://en.wikipedia.org/wiki/Departure_tax). Amount charged by a country to an individual upon their leaving. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). * minLength: 1 * maxLength: 12 */ - 'airline_leg_depart_tax'?: string; + 'airlineLegDepartTax'?: string; /** * Alphabetical identifier of the destination/arrival airport. This field is required/mandatory if the airline data includes leg details. * Format: [IATA](https://www.iata.org/services/pages/codes.aspx) 3-letter airport code. * Example: Amsterdam = AMS * minLength: 3 * maxLength: 3 */ - 'airline_leg_destination_code'?: string; + 'airlineLegDestinationCode'?: string; /** * [Fare basis code](https://en.wikipedia.org/wiki/Fare_basis_code); alphanumeric. * minLength: 1 * maxLength: 7 */ - 'airline_leg_fare_base_code'?: string; + 'airlineLegFareBaseCode'?: string; /** * The flight identifier. * minLength: 1 * maxLength: 5 */ - 'airline_leg_flight_number'?: string; + 'airlineLegFlightNumber'?: string; /** * 1-letter code that indicates whether the passenger is entitled to make a stopover. Only two types of characters are allowed: * O: Stopover allowed * X: Stopover not allowed Limitations: * minLength: 1 * maxLength: 1 */ - 'airline_leg_stop_over_code'?: string; + 'airlineLegStopOverCode'?: string; /** * Date of birth of the passenger. Date format: `yyyy-MM-dd` * minLength: 10 * maxLength: 10 */ - 'airline_passenger_date_of_birth'?: string; + 'airlinePassengerDateOfBirth'?: string; /** * Passenger first name/given name. > This field is required/mandatory if the airline data includes passenger details or leg details. */ - 'airline_passenger_first_name'?: string; + 'airlinePassengerFirstName'?: string; /** * Passenger last name/family name. > This field is required/mandatory if the airline data includes passenger details or leg details. */ - 'airline_passenger_last_name'?: string; + 'airlinePassengerLastName'?: string; /** * Telephone number of the passenger, including country code. This is an alphanumeric field that can include the \'+\' and \'-\' signs. * minLength: 3 * maxLength: 30 */ - 'airline_passenger_telephone_number'?: string; + 'airlinePassengerTelephoneNumber'?: string; /** * Passenger type code (PTC). IATA PTC values are 3-letter alphabetical. Example: ADT, SRC, CNN, INS. However, several carriers use non-standard codes that can be up to 5 alphanumeric characters. * minLength: 3 * maxLength: 6 */ - 'airline_passenger_traveller_type'?: string; + 'airlinePassengerTravellerType'?: string; /** * Passenger name, initials, and a title. * Format: last name + first name or initials + title. * Example: *FLYER / MARY MS*. * minLength: 1 * maxLength: 49 */ - 'airline_passenger_name': string; + 'airlinePassengerName': string; /** * Address of the place/agency that issued the ticket. * minLength: 0 * maxLength: 16 */ - 'airline_ticket_issue_address'?: string; + 'airlineTicketIssueAddress'?: string; /** * The ticket\'s unique identifier. * minLength: 1 * maxLength: 150 */ - 'airline_ticket_number'?: string; + 'airlineTicketNumber'?: string; /** * IATA number, also ARC number or ARC/IATA number. Unique identifier number for travel agencies. * minLength: 1 * maxLength: 8 */ - 'airline_travel_agency_code'?: string; + 'airlineTravelAgencyCode'?: string; /** * The name of the travel agency. * minLength: 1 * maxLength: 25 */ - 'airline_travel_agency_name'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "airline_agency_invoice_number", - "baseName": "airline.agency_invoice_number", - "type": "string" - }, - { - "name": "airline_agency_plan_name", - "baseName": "airline.agency_plan_name", - "type": "string" - }, - { - "name": "airline_airline_code", - "baseName": "airline.airline_code", - "type": "string" - }, - { - "name": "airline_airline_designator_code", - "baseName": "airline.airline_designator_code", - "type": "string" - }, - { - "name": "airline_boarding_fee", - "baseName": "airline.boarding_fee", - "type": "string" - }, - { - "name": "airline_computerized_reservation_system", - "baseName": "airline.computerized_reservation_system", - "type": "string" - }, - { - "name": "airline_customer_reference_number", - "baseName": "airline.customer_reference_number", - "type": "string" - }, - { - "name": "airline_document_type", - "baseName": "airline.document_type", - "type": "string" - }, - { - "name": "airline_flight_date", - "baseName": "airline.flight_date", - "type": "string" - }, - { - "name": "airline_leg_carrier_code", - "baseName": "airline.leg.carrier_code", - "type": "string" - }, - { - "name": "airline_leg_class_of_travel", - "baseName": "airline.leg.class_of_travel", - "type": "string" - }, - { - "name": "airline_leg_date_of_travel", - "baseName": "airline.leg.date_of_travel", - "type": "string" - }, - { - "name": "airline_leg_depart_airport", - "baseName": "airline.leg.depart_airport", - "type": "string" - }, - { - "name": "airline_leg_depart_tax", - "baseName": "airline.leg.depart_tax", - "type": "string" - }, - { - "name": "airline_leg_destination_code", - "baseName": "airline.leg.destination_code", - "type": "string" - }, - { - "name": "airline_leg_fare_base_code", - "baseName": "airline.leg.fare_base_code", - "type": "string" - }, - { - "name": "airline_leg_flight_number", - "baseName": "airline.leg.flight_number", - "type": "string" - }, - { - "name": "airline_leg_stop_over_code", - "baseName": "airline.leg.stop_over_code", - "type": "string" - }, - { - "name": "airline_passenger_date_of_birth", - "baseName": "airline.passenger.date_of_birth", - "type": "string" - }, - { - "name": "airline_passenger_first_name", - "baseName": "airline.passenger.first_name", - "type": "string" - }, - { - "name": "airline_passenger_last_name", - "baseName": "airline.passenger.last_name", - "type": "string" - }, - { - "name": "airline_passenger_telephone_number", - "baseName": "airline.passenger.telephone_number", - "type": "string" - }, - { - "name": "airline_passenger_traveller_type", - "baseName": "airline.passenger.traveller_type", - "type": "string" - }, - { - "name": "airline_passenger_name", - "baseName": "airline.passenger_name", - "type": "string" - }, - { - "name": "airline_ticket_issue_address", - "baseName": "airline.ticket_issue_address", - "type": "string" - }, - { - "name": "airline_ticket_number", - "baseName": "airline.ticket_number", - "type": "string" - }, - { - "name": "airline_travel_agency_code", - "baseName": "airline.travel_agency_code", - "type": "string" - }, - { - "name": "airline_travel_agency_name", - "baseName": "airline.travel_agency_name", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalDataAirline.attributeTypeMap; - } + 'airlineTravelAgencyName'?: string; } diff --git a/src/typings/checkout/additionalDataCarRental.ts b/src/typings/checkout/additionalDataCarRental.ts index 2269e34..e34382c 100644 --- a/src/typings/checkout/additionalDataCarRental.ts +++ b/src/typings/checkout/additionalDataCarRental.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,222 +11,98 @@ */ - export class AdditionalDataCarRental { /** * Pick-up date. * Date format: `yyyyMMdd` */ - 'carRental_checkOutDate'?: string; + 'carRentalCheckOutDate'?: string; /** * The customer service phone number of the car rental company. * Format: Alphanumeric * maxLength: 17 */ - 'carRental_customerServiceTollFreeNumber'?: string; + 'carRentalCustomerServiceTollFreeNumber'?: string; /** * Number of days for which the car is being rented. * Format: Numeric * maxLength: 19 */ - 'carRental_daysRented'?: string; + 'carRentalDaysRented'?: string; /** * Any fuel charges associated with the rental. * Format: Numeric * maxLength: 12 */ - 'carRental_fuelCharges'?: string; + 'carRentalFuelCharges'?: string; /** * Any insurance charges associated with the rental. * Format: Numeric * maxLength: 12 */ - 'carRental_insuranceCharges'?: string; + 'carRentalInsuranceCharges'?: string; /** * The city from which the car is rented. * Format: Alphanumeric * maxLength: 18 */ - 'carRental_locationCity'?: string; + 'carRentalLocationCity'?: string; /** * The country from which the car is rented. * Format: Alphanumeric * maxLength: 2 */ - 'carRental_locationCountry'?: string; + 'carRentalLocationCountry'?: string; /** * The state or province from where the car is rented. * Format: Alphanumeric * maxLength: 3 */ - 'carRental_locationStateProvince'?: string; + 'carRentalLocationStateProvince'?: string; /** * Indicates if the customer was a \"no-show\" (neither keeps nor cancels their booking). * Y - Customer was a no show. * N - Not applicable. */ - 'carRental_noShowIndicator'?: string; + 'carRentalNoShowIndicator'?: string; /** * Charge associated with not returning a vehicle to the original rental location. */ - 'carRental_oneWayDropOffCharges'?: string; + 'carRentalOneWayDropOffCharges'?: string; /** * Daily rental rate. * Format: Alphanumeric * maxLength: 12 */ - 'carRental_rate'?: string; + 'carRentalRate'?: string; /** * Specifies whether the given rate is applied daily or weekly. * D - Daily rate. * W - Weekly rate. */ - 'carRental_rateIndicator'?: string; + 'carRentalRateIndicator'?: string; /** * The rental agreement number associated with this car rental. * Format: Alphanumeric * maxLength: 9 */ - 'carRental_rentalAgreementNumber'?: string; + 'carRentalRentalAgreementNumber'?: string; /** * Daily rental rate. * Format: Alphanumeric * maxLength: 12 */ - 'carRental_rentalClassId'?: string; + 'carRentalRentalClassId'?: string; /** * The name of the person renting the car. * Format: Alphanumeric * maxLength: 26 */ - 'carRental_renterName'?: string; + 'carRentalRenterName'?: string; /** * The city where the car must be returned. * Format: Alphanumeric * maxLength: 18 */ - 'carRental_returnCity'?: string; + 'carRentalReturnCity'?: string; /** * The country where the car must be returned. * Format: Alphanumeric * maxLength: 2 */ - 'carRental_returnCountry'?: string; + 'carRentalReturnCountry'?: string; /** * The last date to return the car by. * Date format: `yyyyMMdd` */ - 'carRental_returnDate'?: string; + 'carRentalReturnDate'?: string; /** * Agency code, phone number, or address abbreviation * Format: Alphanumeric * maxLength: 10 */ - 'carRental_returnLocationId'?: string; + 'carRentalReturnLocationId'?: string; /** * The state or province where the car must be returned. * Format: Alphanumeric * maxLength: 3 */ - 'carRental_returnStateProvince'?: string; + 'carRentalReturnStateProvince'?: string; /** * Indicates whether the goods or services were tax-exempt, or tax was not collected. Values: * Y - Goods or services were tax exempt * N - Tax was not collected */ - 'carRental_taxExemptIndicator'?: string; + 'carRentalTaxExemptIndicator'?: string; /** * Number of nights. This should be included in the auth message. * Format: Numeric * maxLength: 2 */ - 'travelEntertainmentAuthData_duration'?: string; + 'travelEntertainmentAuthDataDuration'?: string; /** * Indicates what market-specific dataset will be submitted or is being submitted. Value should be \"A\" for Car rental. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1 */ - 'travelEntertainmentAuthData_market'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "carRental_checkOutDate", - "baseName": "carRental.checkOutDate", - "type": "string" - }, - { - "name": "carRental_customerServiceTollFreeNumber", - "baseName": "carRental.customerServiceTollFreeNumber", - "type": "string" - }, - { - "name": "carRental_daysRented", - "baseName": "carRental.daysRented", - "type": "string" - }, - { - "name": "carRental_fuelCharges", - "baseName": "carRental.fuelCharges", - "type": "string" - }, - { - "name": "carRental_insuranceCharges", - "baseName": "carRental.insuranceCharges", - "type": "string" - }, - { - "name": "carRental_locationCity", - "baseName": "carRental.locationCity", - "type": "string" - }, - { - "name": "carRental_locationCountry", - "baseName": "carRental.locationCountry", - "type": "string" - }, - { - "name": "carRental_locationStateProvince", - "baseName": "carRental.locationStateProvince", - "type": "string" - }, - { - "name": "carRental_noShowIndicator", - "baseName": "carRental.noShowIndicator", - "type": "string" - }, - { - "name": "carRental_oneWayDropOffCharges", - "baseName": "carRental.oneWayDropOffCharges", - "type": "string" - }, - { - "name": "carRental_rate", - "baseName": "carRental.rate", - "type": "string" - }, - { - "name": "carRental_rateIndicator", - "baseName": "carRental.rateIndicator", - "type": "string" - }, - { - "name": "carRental_rentalAgreementNumber", - "baseName": "carRental.rentalAgreementNumber", - "type": "string" - }, - { - "name": "carRental_rentalClassId", - "baseName": "carRental.rentalClassId", - "type": "string" - }, - { - "name": "carRental_renterName", - "baseName": "carRental.renterName", - "type": "string" - }, - { - "name": "carRental_returnCity", - "baseName": "carRental.returnCity", - "type": "string" - }, - { - "name": "carRental_returnCountry", - "baseName": "carRental.returnCountry", - "type": "string" - }, - { - "name": "carRental_returnDate", - "baseName": "carRental.returnDate", - "type": "string" - }, - { - "name": "carRental_returnLocationId", - "baseName": "carRental.returnLocationId", - "type": "string" - }, - { - "name": "carRental_returnStateProvince", - "baseName": "carRental.returnStateProvince", - "type": "string" - }, - { - "name": "carRental_taxExemptIndicator", - "baseName": "carRental.taxExemptIndicator", - "type": "string" - }, - { - "name": "travelEntertainmentAuthData_duration", - "baseName": "travelEntertainmentAuthData.duration", - "type": "string" - }, - { - "name": "travelEntertainmentAuthData_market", - "baseName": "travelEntertainmentAuthData.market", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalDataCarRental.attributeTypeMap; - } + 'travelEntertainmentAuthDataMarket'?: string; } diff --git a/src/typings/checkout/additionalDataCommon.ts b/src/typings/checkout/additionalDataCommon.ts index 5726aba..cc64c97 100644 --- a/src/typings/checkout/additionalDataCommon.ts +++ b/src/typings/checkout/additionalDataCommon.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,12 +11,11 @@ */ - export class AdditionalDataCommon { /** * Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn\'t a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response. */ - 'RequestedTestErrorResponseCode'?: string; + 'requestedTestErrorResponseCode'?: string; /** * Flags a card payment request for either pre-authorisation or final authorisation. For more information, refer to [Authorisation types](https://docs.adyen.com/online-payments/adjust-authorisation#authorisation-types). Allowed values: * **PreAuth** – flags the payment request to be handled as a pre-authorisation. * **FinalAuth** – flags the payment request to be handled as a final authorisation. */ @@ -88,84 +68,6 @@ export class AdditionalDataCommon { * This field is required if the transaction is performed by a registered payment facilitator. This field must contain the tax ID of the actual merchant. * Format: alpha-numeric. * Fixed length: 11 or 14 characters. */ 'subMerchantTaxId'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "RequestedTestErrorResponseCode", - "baseName": "RequestedTestErrorResponseCode", - "type": "string" - }, - { - "name": "authorisationType", - "baseName": "authorisationType", - "type": "string" - }, - { - "name": "customRoutingFlag", - "baseName": "customRoutingFlag", - "type": "string" - }, - { - "name": "industryUsage", - "baseName": "industryUsage", - "type": "AdditionalDataCommon.IndustryUsageEnum" - }, - { - "name": "networkTxReference", - "baseName": "networkTxReference", - "type": "string" - }, - { - "name": "overwriteBrand", - "baseName": "overwriteBrand", - "type": "string" - }, - { - "name": "subMerchantCity", - "baseName": "subMerchantCity", - "type": "string" - }, - { - "name": "subMerchantCountry", - "baseName": "subMerchantCountry", - "type": "string" - }, - { - "name": "subMerchantID", - "baseName": "subMerchantID", - "type": "string" - }, - { - "name": "subMerchantName", - "baseName": "subMerchantName", - "type": "string" - }, - { - "name": "subMerchantPostalCode", - "baseName": "subMerchantPostalCode", - "type": "string" - }, - { - "name": "subMerchantState", - "baseName": "subMerchantState", - "type": "string" - }, - { - "name": "subMerchantStreet", - "baseName": "subMerchantStreet", - "type": "string" - }, - { - "name": "subMerchantTaxId", - "baseName": "subMerchantTaxId", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalDataCommon.attributeTypeMap; - } } export namespace AdditionalDataCommon { diff --git a/src/typings/checkout/additionalDataLevel23.ts b/src/typings/checkout/additionalDataLevel23.ts index f8f1430..5983a4d 100644 --- a/src/typings/checkout/additionalDataLevel23.ts +++ b/src/typings/checkout/additionalDataLevel23.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,168 +11,74 @@ */ - export class AdditionalDataLevel23 { /** * Customer code, if supplied by a customer. Encoding: ASCII. Max length: 25 characters. > Required for Level 2 and Level 3 data. */ - 'enhancedSchemeData_customerReference'?: string; + 'enhancedSchemeDataCustomerReference'?: string; /** * Destination country code. Encoding: ASCII. Max length: 3 characters. */ - 'enhancedSchemeData_destinationCountryCode'?: string; + 'enhancedSchemeDataDestinationCountryCode'?: string; /** * The postal code of a destination address. Encoding: ASCII. Max length: 10 characters. > Required for American Express. */ - 'enhancedSchemeData_destinationPostalCode'?: string; + 'enhancedSchemeDataDestinationPostalCode'?: string; /** * Destination state or province code. Encoding: ASCII.Max length: 3 characters. */ - 'enhancedSchemeData_destinationStateProvinceCode'?: string; + 'enhancedSchemeDataDestinationStateProvinceCode'?: string; /** * Duty amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters. */ - 'enhancedSchemeData_dutyAmount'?: string; + 'enhancedSchemeDataDutyAmount'?: string; /** * Shipping amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters. */ - 'enhancedSchemeData_freightAmount'?: string; + 'enhancedSchemeDataFreightAmount'?: string; /** * Item commodity code. Encoding: ASCII. Max length: 12 characters. */ - 'enhancedSchemeData_itemDetailLine_itemNr_commodityCode'?: string; + 'enhancedSchemeDataItemDetailLineItemNrCommodityCode'?: string; /** * Item description. Encoding: ASCII. Max length: 26 characters. */ - 'enhancedSchemeData_itemDetailLine_itemNr_description'?: string; + 'enhancedSchemeDataItemDetailLineItemNrDescription'?: string; /** * Discount amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters. */ - 'enhancedSchemeData_itemDetailLine_itemNr_discountAmount'?: string; + 'enhancedSchemeDataItemDetailLineItemNrDiscountAmount'?: string; /** * Product code. Encoding: ASCII. Max length: 12 characters. */ - 'enhancedSchemeData_itemDetailLine_itemNr_productCode'?: string; + 'enhancedSchemeDataItemDetailLineItemNrProductCode'?: string; /** * Quantity, specified as an integer value. Value must be greater than 0. Max length: 12 characters. */ - 'enhancedSchemeData_itemDetailLine_itemNr_quantity'?: string; + 'enhancedSchemeDataItemDetailLineItemNrQuantity'?: string; /** * Total amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters. */ - 'enhancedSchemeData_itemDetailLine_itemNr_totalAmount'?: string; + 'enhancedSchemeDataItemDetailLineItemNrTotalAmount'?: string; /** * Item unit of measurement. Encoding: ASCII. Max length: 3 characters. */ - 'enhancedSchemeData_itemDetailLine_itemNr_unitOfMeasure'?: string; + 'enhancedSchemeDataItemDetailLineItemNrUnitOfMeasure'?: string; /** * Unit price, specified in [minor units](https://docs.adyen.com/development-resources/currency-codes). Max length: 12 characters. */ - 'enhancedSchemeData_itemDetailLine_itemNr_unitPrice'?: string; + 'enhancedSchemeDataItemDetailLineItemNrUnitPrice'?: string; /** * Order date. * Format: `ddMMyy` Encoding: ASCII. Max length: 6 characters. */ - 'enhancedSchemeData_orderDate'?: string; + 'enhancedSchemeDataOrderDate'?: string; /** * The postal code of a \"ship-from\" address. Encoding: ASCII. Max length: 10 characters. */ - 'enhancedSchemeData_shipFromPostalCode'?: string; + 'enhancedSchemeDataShipFromPostalCode'?: string; /** * Total tax amount, in minor units. For example, 2000 means USD 20.00. Max length: 12 characters. > Required for Level 2 and Level 3 data. */ - 'enhancedSchemeData_totalTaxAmount'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "enhancedSchemeData_customerReference", - "baseName": "enhancedSchemeData.customerReference", - "type": "string" - }, - { - "name": "enhancedSchemeData_destinationCountryCode", - "baseName": "enhancedSchemeData.destinationCountryCode", - "type": "string" - }, - { - "name": "enhancedSchemeData_destinationPostalCode", - "baseName": "enhancedSchemeData.destinationPostalCode", - "type": "string" - }, - { - "name": "enhancedSchemeData_destinationStateProvinceCode", - "baseName": "enhancedSchemeData.destinationStateProvinceCode", - "type": "string" - }, - { - "name": "enhancedSchemeData_dutyAmount", - "baseName": "enhancedSchemeData.dutyAmount", - "type": "string" - }, - { - "name": "enhancedSchemeData_freightAmount", - "baseName": "enhancedSchemeData.freightAmount", - "type": "string" - }, - { - "name": "enhancedSchemeData_itemDetailLine_itemNr_commodityCode", - "baseName": "enhancedSchemeData.itemDetailLine[itemNr].commodityCode", - "type": "string" - }, - { - "name": "enhancedSchemeData_itemDetailLine_itemNr_description", - "baseName": "enhancedSchemeData.itemDetailLine[itemNr].description", - "type": "string" - }, - { - "name": "enhancedSchemeData_itemDetailLine_itemNr_discountAmount", - "baseName": "enhancedSchemeData.itemDetailLine[itemNr].discountAmount", - "type": "string" - }, - { - "name": "enhancedSchemeData_itemDetailLine_itemNr_productCode", - "baseName": "enhancedSchemeData.itemDetailLine[itemNr].productCode", - "type": "string" - }, - { - "name": "enhancedSchemeData_itemDetailLine_itemNr_quantity", - "baseName": "enhancedSchemeData.itemDetailLine[itemNr].quantity", - "type": "string" - }, - { - "name": "enhancedSchemeData_itemDetailLine_itemNr_totalAmount", - "baseName": "enhancedSchemeData.itemDetailLine[itemNr].totalAmount", - "type": "string" - }, - { - "name": "enhancedSchemeData_itemDetailLine_itemNr_unitOfMeasure", - "baseName": "enhancedSchemeData.itemDetailLine[itemNr].unitOfMeasure", - "type": "string" - }, - { - "name": "enhancedSchemeData_itemDetailLine_itemNr_unitPrice", - "baseName": "enhancedSchemeData.itemDetailLine[itemNr].unitPrice", - "type": "string" - }, - { - "name": "enhancedSchemeData_orderDate", - "baseName": "enhancedSchemeData.orderDate", - "type": "string" - }, - { - "name": "enhancedSchemeData_shipFromPostalCode", - "baseName": "enhancedSchemeData.shipFromPostalCode", - "type": "string" - }, - { - "name": "enhancedSchemeData_totalTaxAmount", - "baseName": "enhancedSchemeData.totalTaxAmount", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalDataLevel23.attributeTypeMap; - } + 'enhancedSchemeDataTotalTaxAmount'?: string; } diff --git a/src/typings/checkout/additionalDataLodging.ts b/src/typings/checkout/additionalDataLodging.ts index 94114c2..61cdf32 100644 --- a/src/typings/checkout/additionalDataLodging.ts +++ b/src/typings/checkout/additionalDataLodging.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,168 +11,74 @@ */ - export class AdditionalDataLodging { /** * The arrival date. * Date format: `yyyyMMdd` */ - 'lodging_checkInDate'?: string; + 'lodgingCheckInDate'?: string; /** * The departure date. * Date format: `yyyyMMdd` */ - 'lodging_checkOutDate'?: string; + 'lodgingCheckOutDate'?: string; /** * The toll free phone number for the hotel/lodgings. * Format: Alphanumeric * maxLength: 17 */ - 'lodging_customerServiceTollFreeNumber'?: string; + 'lodgingCustomerServiceTollFreeNumber'?: string; /** * Identifies that the facility complies with the Hotel and Motel Fire Safety Act of 1990. Values can be: \'Y\' or \'N\'. * Format: Alphabetic * maxLength: 1 */ - 'lodging_fireSafetyActIndicator'?: string; + 'lodgingFireSafetyActIndicator'?: string; /** * The folio cash advances. * Format: Numeric * maxLength: 12 */ - 'lodging_folioCashAdvances'?: string; + 'lodgingFolioCashAdvances'?: string; /** * Card acceptor’s internal invoice or billing ID reference number. * Format: Alphanumeric * maxLength: 25 */ - 'lodging_folioNumber'?: string; + 'lodgingFolioNumber'?: string; /** * Any charges for food and beverages associated with the booking. * Format: Numeric * maxLength: 12 */ - 'lodging_foodBeverageCharges'?: string; + 'lodgingFoodBeverageCharges'?: string; /** * Indicates if the customer was a \"no-show\" (neither keeps nor cancels their booking). Value should be Y or N. * Format: Numeric * maxLength: 1 */ - 'lodging_noShowIndicator'?: string; + 'lodgingNoShowIndicator'?: string; /** * Prepaid expenses for the booking. * Format: Numeric * maxLength: 12 */ - 'lodging_prepaidExpenses'?: string; + 'lodgingPrepaidExpenses'?: string; /** * Identifies specific lodging property location by its local phone number. * Format: Alphanumeric * maxLength: 17 */ - 'lodging_propertyPhoneNumber'?: string; + 'lodgingPropertyPhoneNumber'?: string; /** * Total number of nights the room will be rented. * Format: Numeric * maxLength: 4 */ - 'lodging_room1_numberOfNights'?: string; + 'lodgingRoom1NumberOfNights'?: string; /** * The rate of the room. * Format: Numeric * maxLength: 12 */ - 'lodging_room1_rate'?: string; + 'lodgingRoom1Rate'?: string; /** * The total amount of tax to be paid. * Format: Numeric * maxLength: 12 */ - 'lodging_room1_tax'?: string; + 'lodgingRoom1Tax'?: string; /** * Total room tax amount. * Format: Numeric * maxLength: 12 */ - 'lodging_totalRoomTax'?: string; + 'lodgingTotalRoomTax'?: string; /** * Total tax amount. * Format: Numeric * maxLength: 12 */ - 'lodging_totalTax'?: string; + 'lodgingTotalTax'?: string; /** * Number of nights. This should be included in the auth message. * Format: Numeric * maxLength: 2 */ - 'travelEntertainmentAuthData_duration'?: string; + 'travelEntertainmentAuthDataDuration'?: string; /** * Indicates what market-specific dataset will be submitted or is being submitted. Value should be \"H\" for Hotel. This should be included in the auth message. * Format: Alphanumeric * maxLength: 1 */ - 'travelEntertainmentAuthData_market'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "lodging_checkInDate", - "baseName": "lodging.checkInDate", - "type": "string" - }, - { - "name": "lodging_checkOutDate", - "baseName": "lodging.checkOutDate", - "type": "string" - }, - { - "name": "lodging_customerServiceTollFreeNumber", - "baseName": "lodging.customerServiceTollFreeNumber", - "type": "string" - }, - { - "name": "lodging_fireSafetyActIndicator", - "baseName": "lodging.fireSafetyActIndicator", - "type": "string" - }, - { - "name": "lodging_folioCashAdvances", - "baseName": "lodging.folioCashAdvances", - "type": "string" - }, - { - "name": "lodging_folioNumber", - "baseName": "lodging.folioNumber", - "type": "string" - }, - { - "name": "lodging_foodBeverageCharges", - "baseName": "lodging.foodBeverageCharges", - "type": "string" - }, - { - "name": "lodging_noShowIndicator", - "baseName": "lodging.noShowIndicator", - "type": "string" - }, - { - "name": "lodging_prepaidExpenses", - "baseName": "lodging.prepaidExpenses", - "type": "string" - }, - { - "name": "lodging_propertyPhoneNumber", - "baseName": "lodging.propertyPhoneNumber", - "type": "string" - }, - { - "name": "lodging_room1_numberOfNights", - "baseName": "lodging.room1.numberOfNights", - "type": "string" - }, - { - "name": "lodging_room1_rate", - "baseName": "lodging.room1.rate", - "type": "string" - }, - { - "name": "lodging_room1_tax", - "baseName": "lodging.room1.tax", - "type": "string" - }, - { - "name": "lodging_totalRoomTax", - "baseName": "lodging.totalRoomTax", - "type": "string" - }, - { - "name": "lodging_totalTax", - "baseName": "lodging.totalTax", - "type": "string" - }, - { - "name": "travelEntertainmentAuthData_duration", - "baseName": "travelEntertainmentAuthData.duration", - "type": "string" - }, - { - "name": "travelEntertainmentAuthData_market", - "baseName": "travelEntertainmentAuthData.market", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalDataLodging.attributeTypeMap; - } + 'travelEntertainmentAuthDataMarket'?: string; } diff --git a/src/typings/checkout/additionalDataOpenInvoice.ts b/src/typings/checkout/additionalDataOpenInvoice.ts index 76c0e70..449ca89 100644 --- a/src/typings/checkout/additionalDataOpenInvoice.ts +++ b/src/typings/checkout/additionalDataOpenInvoice.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,159 +11,70 @@ */ - export class AdditionalDataOpenInvoice { /** * Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it\'s not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string. */ - 'openinvoicedata_merchantData'?: string; + 'openinvoicedataMerchantData'?: string; /** * The number of invoice lines included in `openinvoicedata`. There needs to be at least one line, so `numberOfLines` needs to be at least 1. */ - 'openinvoicedata_numberOfLines'?: string; + 'openinvoicedataNumberOfLines'?: string; /** * The three-character ISO currency code. */ - 'openinvoicedataLine_itemNr_currencyCode'?: string; + 'openinvoicedataLineItemNrCurrencyCode'?: string; /** * A text description of the product the invoice line refers to. */ - 'openinvoicedataLine_itemNr_description'?: string; + 'openinvoicedataLineItemNrDescription'?: string; /** * The price for one item in the invoice line, represented in minor units. The due amount for the item, VAT excluded. */ - 'openinvoicedataLine_itemNr_itemAmount'?: string; + 'openinvoicedataLineItemNrItemAmount'?: string; /** * A unique id for this item. Required for RatePay if the description of each item is not unique. */ - 'openinvoicedataLine_itemNr_itemId'?: string; + 'openinvoicedataLineItemNrItemId'?: string; /** * The VAT due for one item in the invoice line, represented in minor units. */ - 'openinvoicedataLine_itemNr_itemVatAmount'?: string; + 'openinvoicedataLineItemNrItemVatAmount'?: string; /** * The VAT percentage for one item in the invoice line, represented in minor units. For example, 19% VAT is specified as 1900. */ - 'openinvoicedataLine_itemNr_itemVatPercentage'?: string; + 'openinvoicedataLineItemNrItemVatPercentage'?: string; /** * The number of units purchased of a specific product. */ - 'openinvoicedataLine_itemNr_numberOfItems'?: string; + 'openinvoicedataLineItemNrNumberOfItems'?: string; /** * Name of the shipping company handling the the return shipment. */ - 'openinvoicedataLine_itemNr_returnShippingCompany'?: string; + 'openinvoicedataLineItemNrReturnShippingCompany'?: string; /** * The tracking number for the return of the shipment. */ - 'openinvoicedataLine_itemNr_returnTrackingNumber'?: string; + 'openinvoicedataLineItemNrReturnTrackingNumber'?: string; /** * URI where the customer can track the return of their shipment. */ - 'openinvoicedataLine_itemNr_returnTrackingUri'?: string; + 'openinvoicedataLineItemNrReturnTrackingUri'?: string; /** * Name of the shipping company handling the delivery. */ - 'openinvoicedataLine_itemNr_shippingCompany'?: string; + 'openinvoicedataLineItemNrShippingCompany'?: string; /** * Shipping method. */ - 'openinvoicedataLine_itemNr_shippingMethod'?: string; + 'openinvoicedataLineItemNrShippingMethod'?: string; /** * The tracking number for the shipment. */ - 'openinvoicedataLine_itemNr_trackingNumber'?: string; + 'openinvoicedataLineItemNrTrackingNumber'?: string; /** * URI where the customer can track their shipment. */ - 'openinvoicedataLine_itemNr_trackingUri'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "openinvoicedata_merchantData", - "baseName": "openinvoicedata.merchantData", - "type": "string" - }, - { - "name": "openinvoicedata_numberOfLines", - "baseName": "openinvoicedata.numberOfLines", - "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_currencyCode", - "baseName": "openinvoicedataLine[itemNr].currencyCode", - "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_description", - "baseName": "openinvoicedataLine[itemNr].description", - "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_itemAmount", - "baseName": "openinvoicedataLine[itemNr].itemAmount", - "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_itemId", - "baseName": "openinvoicedataLine[itemNr].itemId", - "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_itemVatAmount", - "baseName": "openinvoicedataLine[itemNr].itemVatAmount", - "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_itemVatPercentage", - "baseName": "openinvoicedataLine[itemNr].itemVatPercentage", - "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_numberOfItems", - "baseName": "openinvoicedataLine[itemNr].numberOfItems", - "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_returnShippingCompany", - "baseName": "openinvoicedataLine[itemNr].returnShippingCompany", - "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_returnTrackingNumber", - "baseName": "openinvoicedataLine[itemNr].returnTrackingNumber", - "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_returnTrackingUri", - "baseName": "openinvoicedataLine[itemNr].returnTrackingUri", - "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_shippingCompany", - "baseName": "openinvoicedataLine[itemNr].shippingCompany", - "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_shippingMethod", - "baseName": "openinvoicedataLine[itemNr].shippingMethod", - "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_trackingNumber", - "baseName": "openinvoicedataLine[itemNr].trackingNumber", - "type": "string" - }, - { - "name": "openinvoicedataLine_itemNr_trackingUri", - "baseName": "openinvoicedataLine[itemNr].trackingUri", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalDataOpenInvoice.attributeTypeMap; - } + 'openinvoicedataLineItemNrTrackingUri'?: string; } diff --git a/src/typings/checkout/additionalDataOpi.ts b/src/typings/checkout/additionalDataOpi.ts index 8dbbe32..a974c27 100644 --- a/src/typings/checkout/additionalDataOpi.ts +++ b/src/typings/checkout/additionalDataOpi.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,24 +11,10 @@ */ - export class AdditionalDataOpi { /** * Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). */ - 'opi_includeTransToken'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "opi_includeTransToken", - "baseName": "opi.includeTransToken", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalDataOpi.attributeTypeMap; - } + 'opiIncludeTransToken'?: string; } diff --git a/src/typings/checkout/additionalDataRatepay.ts b/src/typings/checkout/additionalDataRatepay.ts index f53f23e..e37ec57 100644 --- a/src/typings/checkout/additionalDataRatepay.ts +++ b/src/typings/checkout/additionalDataRatepay.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,87 +11,38 @@ */ - export class AdditionalDataRatepay { /** * Amount the customer has to pay each month. */ - 'ratepay_installmentAmount'?: string; + 'ratepayInstallmentAmount'?: string; /** * Interest rate of this installment. */ - 'ratepay_interestRate'?: string; + 'ratepayInterestRate'?: string; /** * Amount of the last installment. */ - 'ratepay_lastInstallmentAmount'?: string; + 'ratepayLastInstallmentAmount'?: string; /** * Calendar day of the first payment. */ - 'ratepay_paymentFirstday'?: string; + 'ratepayPaymentFirstday'?: string; /** * Date the merchant delivered the goods to the customer. */ - 'ratepaydata_deliveryDate'?: string; + 'ratepaydataDeliveryDate'?: string; /** * Date by which the customer must settle the payment. */ - 'ratepaydata_dueDate'?: string; + 'ratepaydataDueDate'?: string; /** * Invoice date, defined by the merchant. If not included, the invoice date is set to the delivery date. */ - 'ratepaydata_invoiceDate'?: string; + 'ratepaydataInvoiceDate'?: string; /** * Identification name or number for the invoice, defined by the merchant. */ - 'ratepaydata_invoiceId'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "ratepay_installmentAmount", - "baseName": "ratepay.installmentAmount", - "type": "string" - }, - { - "name": "ratepay_interestRate", - "baseName": "ratepay.interestRate", - "type": "string" - }, - { - "name": "ratepay_lastInstallmentAmount", - "baseName": "ratepay.lastInstallmentAmount", - "type": "string" - }, - { - "name": "ratepay_paymentFirstday", - "baseName": "ratepay.paymentFirstday", - "type": "string" - }, - { - "name": "ratepaydata_deliveryDate", - "baseName": "ratepaydata.deliveryDate", - "type": "string" - }, - { - "name": "ratepaydata_dueDate", - "baseName": "ratepaydata.dueDate", - "type": "string" - }, - { - "name": "ratepaydata_invoiceDate", - "baseName": "ratepaydata.invoiceDate", - "type": "string" - }, - { - "name": "ratepaydata_invoiceId", - "baseName": "ratepaydata.invoiceId", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalDataRatepay.attributeTypeMap; - } + 'ratepaydataInvoiceId'?: string; } diff --git a/src/typings/checkout/additionalDataRetry.ts b/src/typings/checkout/additionalDataRetry.ts index e1b2982..1798187 100644 --- a/src/typings/checkout/additionalDataRetry.ts +++ b/src/typings/checkout/additionalDataRetry.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,42 +11,18 @@ */ - export class AdditionalDataRetry { /** * The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. */ - 'retry_chainAttemptNumber'?: string; + 'retryChainAttemptNumber'?: string; /** * The index of the attempt to bill a particular order, which is identified by the `merchantOrderReference` field. For example, if a recurring transaction fails and is retried one day later, then the order number for these attempts would be 1 and 2, respectively. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. */ - 'retry_orderAttemptNumber'?: string; + 'retryOrderAttemptNumber'?: string; /** * The Boolean value indicating whether Adyen should skip or retry this transaction, if possible. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. */ - 'retry_skipRetry'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "retry_chainAttemptNumber", - "baseName": "retry.chainAttemptNumber", - "type": "string" - }, - { - "name": "retry_orderAttemptNumber", - "baseName": "retry.orderAttemptNumber", - "type": "string" - }, - { - "name": "retry_skipRetry", - "baseName": "retry.skipRetry", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalDataRetry.attributeTypeMap; - } + 'retrySkipRetry'?: string; } diff --git a/src/typings/checkout/additionalDataRisk.ts b/src/typings/checkout/additionalDataRisk.ts index 1be6965..7b08a3a 100644 --- a/src/typings/checkout/additionalDataRisk.ts +++ b/src/typings/checkout/additionalDataRisk.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,204 +11,90 @@ */ - export class AdditionalDataRisk { /** * The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields). */ - 'riskdata__customFieldName'?: string; + 'riskdataCustomFieldName'?: string; /** * The price of item in the basket, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). */ - 'riskdata_basket_item_itemNr_amountPerItem'?: string; + 'riskdataBasketItemItemNrAmountPerItem'?: string; /** * Brand of the item. */ - 'riskdata_basket_item_itemNr_brand'?: string; + 'riskdataBasketItemItemNrBrand'?: string; /** * Category of the item. */ - 'riskdata_basket_item_itemNr_category'?: string; + 'riskdataBasketItemItemNrCategory'?: string; /** * Color of the item. */ - 'riskdata_basket_item_itemNr_color'?: string; + 'riskdataBasketItemItemNrColor'?: string; /** * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). */ - 'riskdata_basket_item_itemNr_currency'?: string; + 'riskdataBasketItemItemNrCurrency'?: string; /** * ID of the item. */ - 'riskdata_basket_item_itemNr_itemID'?: string; + 'riskdataBasketItemItemNrItemID'?: string; /** * Manufacturer of the item. */ - 'riskdata_basket_item_itemNr_manufacturer'?: string; + 'riskdataBasketItemItemNrManufacturer'?: string; /** * A text description of the product the invoice line refers to. */ - 'riskdata_basket_item_itemNr_productTitle'?: string; + 'riskdataBasketItemItemNrProductTitle'?: string; /** * Quantity of the item purchased. */ - 'riskdata_basket_item_itemNr_quantity'?: string; + 'riskdataBasketItemItemNrQuantity'?: string; /** * Email associated with the given product in the basket (usually in electronic gift cards). */ - 'riskdata_basket_item_itemNr_receiverEmail'?: string; + 'riskdataBasketItemItemNrReceiverEmail'?: string; /** * Size of the item. */ - 'riskdata_basket_item_itemNr_size'?: string; + 'riskdataBasketItemItemNrSize'?: string; /** * [Stock keeping unit](https://en.wikipedia.org/wiki/Stock_keeping_unit). */ - 'riskdata_basket_item_itemNr_sku'?: string; + 'riskdataBasketItemItemNrSku'?: string; /** * [Universal Product Code](https://en.wikipedia.org/wiki/Universal_Product_Code). */ - 'riskdata_basket_item_itemNr_upc'?: string; + 'riskdataBasketItemItemNrUpc'?: string; /** * Code of the promotion. */ - 'riskdata_promotions_promotion_itemNr_promotionCode'?: string; + 'riskdataPromotionsPromotionItemNrPromotionCode'?: string; /** * The discount amount of the promotion, represented in [minor units](https://docs.adyen.com/development-resources/currency-codes). */ - 'riskdata_promotions_promotion_itemNr_promotionDiscountAmount'?: string; + 'riskdataPromotionsPromotionItemNrPromotionDiscountAmount'?: string; /** * The three-character [ISO currency code](https://en.wikipedia.org/wiki/ISO_4217). */ - 'riskdata_promotions_promotion_itemNr_promotionDiscountCurrency'?: string; + 'riskdataPromotionsPromotionItemNrPromotionDiscountCurrency'?: string; /** * Promotion\'s percentage discount. It is represented in percentage value and there is no need to include the \'%\' sign. e.g. for a promotion discount of 30%, the value of the field should be 30. */ - 'riskdata_promotions_promotion_itemNr_promotionDiscountPercentage'?: string; + 'riskdataPromotionsPromotionItemNrPromotionDiscountPercentage'?: string; /** * Name of the promotion. */ - 'riskdata_promotions_promotion_itemNr_promotionName'?: string; + 'riskdataPromotionsPromotionItemNrPromotionName'?: string; /** * Reference number of the risk profile that you want to apply to the payment. If not provided or left blank, the merchant-level account\'s default risk profile will be applied to the payment. For more information, see [dynamically assign a risk profile to a payment](https://docs.adyen.com/risk-management/create-and-use-risk-profiles#dynamically-assign-a-risk-profile-to-a-payment). */ - 'riskdata_riskProfileReference'?: string; + 'riskdataRiskProfileReference'?: string; /** * If this parameter is provided with the value **true**, risk checks for the payment request are skipped and the transaction will not get a risk score. */ - 'riskdata_skipRisk'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "riskdata__customFieldName", - "baseName": "riskdata.[customFieldName]", - "type": "string" - }, - { - "name": "riskdata_basket_item_itemNr_amountPerItem", - "baseName": "riskdata.basket.item[itemNr].amountPerItem", - "type": "string" - }, - { - "name": "riskdata_basket_item_itemNr_brand", - "baseName": "riskdata.basket.item[itemNr].brand", - "type": "string" - }, - { - "name": "riskdata_basket_item_itemNr_category", - "baseName": "riskdata.basket.item[itemNr].category", - "type": "string" - }, - { - "name": "riskdata_basket_item_itemNr_color", - "baseName": "riskdata.basket.item[itemNr].color", - "type": "string" - }, - { - "name": "riskdata_basket_item_itemNr_currency", - "baseName": "riskdata.basket.item[itemNr].currency", - "type": "string" - }, - { - "name": "riskdata_basket_item_itemNr_itemID", - "baseName": "riskdata.basket.item[itemNr].itemID", - "type": "string" - }, - { - "name": "riskdata_basket_item_itemNr_manufacturer", - "baseName": "riskdata.basket.item[itemNr].manufacturer", - "type": "string" - }, - { - "name": "riskdata_basket_item_itemNr_productTitle", - "baseName": "riskdata.basket.item[itemNr].productTitle", - "type": "string" - }, - { - "name": "riskdata_basket_item_itemNr_quantity", - "baseName": "riskdata.basket.item[itemNr].quantity", - "type": "string" - }, - { - "name": "riskdata_basket_item_itemNr_receiverEmail", - "baseName": "riskdata.basket.item[itemNr].receiverEmail", - "type": "string" - }, - { - "name": "riskdata_basket_item_itemNr_size", - "baseName": "riskdata.basket.item[itemNr].size", - "type": "string" - }, - { - "name": "riskdata_basket_item_itemNr_sku", - "baseName": "riskdata.basket.item[itemNr].sku", - "type": "string" - }, - { - "name": "riskdata_basket_item_itemNr_upc", - "baseName": "riskdata.basket.item[itemNr].upc", - "type": "string" - }, - { - "name": "riskdata_promotions_promotion_itemNr_promotionCode", - "baseName": "riskdata.promotions.promotion[itemNr].promotionCode", - "type": "string" - }, - { - "name": "riskdata_promotions_promotion_itemNr_promotionDiscountAmount", - "baseName": "riskdata.promotions.promotion[itemNr].promotionDiscountAmount", - "type": "string" - }, - { - "name": "riskdata_promotions_promotion_itemNr_promotionDiscountCurrency", - "baseName": "riskdata.promotions.promotion[itemNr].promotionDiscountCurrency", - "type": "string" - }, - { - "name": "riskdata_promotions_promotion_itemNr_promotionDiscountPercentage", - "baseName": "riskdata.promotions.promotion[itemNr].promotionDiscountPercentage", - "type": "string" - }, - { - "name": "riskdata_promotions_promotion_itemNr_promotionName", - "baseName": "riskdata.promotions.promotion[itemNr].promotionName", - "type": "string" - }, - { - "name": "riskdata_riskProfileReference", - "baseName": "riskdata.riskProfileReference", - "type": "string" - }, - { - "name": "riskdata_skipRisk", - "baseName": "riskdata.skipRisk", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalDataRisk.attributeTypeMap; - } + 'riskdataSkipRisk'?: string; } diff --git a/src/typings/checkout/additionalDataRiskStandalone.ts b/src/typings/checkout/additionalDataRiskStandalone.ts index 4e19e88..69a99df 100644 --- a/src/typings/checkout/additionalDataRiskStandalone.ts +++ b/src/typings/checkout/additionalDataRiskStandalone.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,40 +11,39 @@ */ - export class AdditionalDataRiskStandalone { /** * Shopper\'s country of residence in the form of ISO standard 3166 2-character country codes. */ - 'PayPal_CountryCode'?: string; + 'payPalCountryCode'?: string; /** * Shopper\'s email. */ - 'PayPal_EmailId'?: string; + 'payPalEmailId'?: string; /** * Shopper\'s first name. */ - 'PayPal_FirstName'?: string; + 'payPalFirstName'?: string; /** * Shopper\'s last name. */ - 'PayPal_LastName'?: string; + 'payPalLastName'?: string; /** * Unique PayPal Customer Account identification number. Character length and limitations: 13 single-byte alphanumeric characters. */ - 'PayPal_PayerId'?: string; + 'payPalPayerId'?: string; /** * Shopper\'s phone number. */ - 'PayPal_Phone'?: string; + 'payPalPhone'?: string; /** * Allowed values: * **Eligible** — Merchant is protected by PayPal\'s Seller Protection Policy for Unauthorized Payments and Item Not Received. * **PartiallyEligible** — Merchant is protected by PayPal\'s Seller Protection Policy for Item Not Received. * **Ineligible** — Merchant is not protected under the Seller Protection Policy. */ - 'PayPal_ProtectionEligibility'?: string; + 'payPalProtectionEligibility'?: string; /** * Unique transaction ID of the payment. */ - 'PayPal_TransactionId'?: string; + 'payPalTransactionId'?: string; /** * Raw AVS result received from the acquirer, where available. Example: D */ @@ -92,88 +72,5 @@ export class AdditionalDataRiskStandalone { * Required for PayPal payments only. The only supported value is: **paypal**. */ 'tokenDataType'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "PayPal_CountryCode", - "baseName": "PayPal.CountryCode", - "type": "string" - }, - { - "name": "PayPal_EmailId", - "baseName": "PayPal.EmailId", - "type": "string" - }, - { - "name": "PayPal_FirstName", - "baseName": "PayPal.FirstName", - "type": "string" - }, - { - "name": "PayPal_LastName", - "baseName": "PayPal.LastName", - "type": "string" - }, - { - "name": "PayPal_PayerId", - "baseName": "PayPal.PayerId", - "type": "string" - }, - { - "name": "PayPal_Phone", - "baseName": "PayPal.Phone", - "type": "string" - }, - { - "name": "PayPal_ProtectionEligibility", - "baseName": "PayPal.ProtectionEligibility", - "type": "string" - }, - { - "name": "PayPal_TransactionId", - "baseName": "PayPal.TransactionId", - "type": "string" - }, - { - "name": "avsResultRaw", - "baseName": "avsResultRaw", - "type": "string" - }, - { - "name": "bin", - "baseName": "bin", - "type": "string" - }, - { - "name": "cvcResultRaw", - "baseName": "cvcResultRaw", - "type": "string" - }, - { - "name": "riskToken", - "baseName": "riskToken", - "type": "string" - }, - { - "name": "threeDAuthenticated", - "baseName": "threeDAuthenticated", - "type": "string" - }, - { - "name": "threeDOffered", - "baseName": "threeDOffered", - "type": "string" - }, - { - "name": "tokenDataType", - "baseName": "tokenDataType", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalDataRiskStandalone.attributeTypeMap; - } } diff --git a/src/typings/checkout/additionalDataSubMerchant.ts b/src/typings/checkout/additionalDataSubMerchant.ts index 8f59504..e4f0d12 100644 --- a/src/typings/checkout/additionalDataSubMerchant.ts +++ b/src/typings/checkout/additionalDataSubMerchant.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,105 +11,46 @@ */ - export class AdditionalDataSubMerchant { /** * Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**. */ - 'subMerchant_numberOfSubSellers'?: string; + 'subMerchantNumberOfSubSellers'?: string; /** * Required for transactions performed by registered payment facilitators. The city of the sub-merchant\'s address. * Format: Alphanumeric * Maximum length: 13 characters */ - 'subMerchant_subSeller_subSellerNr_city'?: string; + 'subMerchantSubSellerSubSellerNrCity'?: string; /** * Required for transactions performed by registered payment facilitators. The three-letter country code of the sub-merchant\'s address. For example, **BRA** for Brazil. * Format: [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) * Fixed length: 3 characters */ - 'subMerchant_subSeller_subSellerNr_country'?: string; + 'subMerchantSubSellerSubSellerNrCountry'?: string; /** * Required for transactions performed by registered payment facilitators. A unique identifier that you create for the sub-merchant, used by schemes to identify the sub-merchant. * Format: Alphanumeric * Maximum length: 15 characters */ - 'subMerchant_subSeller_subSellerNr_id'?: string; + 'subMerchantSubSellerSubSellerNrId'?: string; /** * Required for transactions performed by registered payment facilitators. The sub-merchant\'s 4-digit Merchant Category Code (MCC). * Format: Numeric * Fixed length: 4 digits */ - 'subMerchant_subSeller_subSellerNr_mcc'?: string; + 'subMerchantSubSellerSubSellerNrMcc'?: string; /** * Required for transactions performed by registered payment facilitators. The name of the sub-merchant. Based on scheme specifications, this value will overwrite the shopper statement that will appear in the card statement. * Format: Alphanumeric * Maximum length: 22 characters */ - 'subMerchant_subSeller_subSellerNr_name'?: string; + 'subMerchantSubSellerSubSellerNrName'?: string; /** * Required for transactions performed by registered payment facilitators. The postal code of the sub-merchant\'s address, without dashes. * Format: Numeric * Fixed length: 8 digits */ - 'subMerchant_subSeller_subSellerNr_postalCode'?: string; + 'subMerchantSubSellerSubSellerNrPostalCode'?: string; /** * Required for transactions performed by registered payment facilitators. The state code of the sub-merchant\'s address, if applicable to the country. * Format: Alphanumeric * Maximum length: 2 characters */ - 'subMerchant_subSeller_subSellerNr_state'?: string; + 'subMerchantSubSellerSubSellerNrState'?: string; /** * Required for transactions performed by registered payment facilitators. The street name and house number of the sub-merchant\'s address. * Format: Alphanumeric * Maximum length: 60 characters */ - 'subMerchant_subSeller_subSellerNr_street'?: string; + 'subMerchantSubSellerSubSellerNrStreet'?: string; /** * Required for transactions performed by registered payment facilitators. The tax ID of the sub-merchant. * Format: Numeric * Fixed length: 11 digits for the CPF or 14 digits for the CNPJ */ - 'subMerchant_subSeller_subSellerNr_taxId'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "subMerchant_numberOfSubSellers", - "baseName": "subMerchant.numberOfSubSellers", - "type": "string" - }, - { - "name": "subMerchant_subSeller_subSellerNr_city", - "baseName": "subMerchant.subSeller[subSellerNr].city", - "type": "string" - }, - { - "name": "subMerchant_subSeller_subSellerNr_country", - "baseName": "subMerchant.subSeller[subSellerNr].country", - "type": "string" - }, - { - "name": "subMerchant_subSeller_subSellerNr_id", - "baseName": "subMerchant.subSeller[subSellerNr].id", - "type": "string" - }, - { - "name": "subMerchant_subSeller_subSellerNr_mcc", - "baseName": "subMerchant.subSeller[subSellerNr].mcc", - "type": "string" - }, - { - "name": "subMerchant_subSeller_subSellerNr_name", - "baseName": "subMerchant.subSeller[subSellerNr].name", - "type": "string" - }, - { - "name": "subMerchant_subSeller_subSellerNr_postalCode", - "baseName": "subMerchant.subSeller[subSellerNr].postalCode", - "type": "string" - }, - { - "name": "subMerchant_subSeller_subSellerNr_state", - "baseName": "subMerchant.subSeller[subSellerNr].state", - "type": "string" - }, - { - "name": "subMerchant_subSeller_subSellerNr_street", - "baseName": "subMerchant.subSeller[subSellerNr].street", - "type": "string" - }, - { - "name": "subMerchant_subSeller_subSellerNr_taxId", - "baseName": "subMerchant.subSeller[subSellerNr].taxId", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalDataSubMerchant.attributeTypeMap; - } + 'subMerchantSubSellerSubSellerNrTaxId'?: string; } diff --git a/src/typings/checkout/additionalDataTemporaryServices.ts b/src/typings/checkout/additionalDataTemporaryServices.ts index a5a3b23..60cb21c 100644 --- a/src/typings/checkout/additionalDataTemporaryServices.ts +++ b/src/typings/checkout/additionalDataTemporaryServices.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,96 +11,42 @@ */ - export class AdditionalDataTemporaryServices { /** * Customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25 */ - 'enhancedSchemeData_customerReference'?: string; + 'enhancedSchemeDataCustomerReference'?: string; /** * Name or ID associated with the individual working in a temporary capacity. * maxLength: 40 */ - 'enhancedSchemeData_employeeName'?: string; + 'enhancedSchemeDataEmployeeName'?: string; /** * Description of the job or task of the individual working in a temporary capacity. * maxLength: 40 */ - 'enhancedSchemeData_jobDescription'?: string; + 'enhancedSchemeDataJobDescription'?: string; /** * Amount paid per regular hours worked, minor units. * maxLength: 7 */ - 'enhancedSchemeData_regularHoursRate'?: string; + 'enhancedSchemeDataRegularHoursRate'?: string; /** * Amount of time worked during a normal operation for the task or job. * maxLength: 7 */ - 'enhancedSchemeData_regularHoursWorked'?: string; + 'enhancedSchemeDataRegularHoursWorked'?: string; /** * Name of the individual requesting temporary services. * maxLength: 40 */ - 'enhancedSchemeData_requestName'?: string; + 'enhancedSchemeDataRequestName'?: string; /** * Date for the beginning of the pay period. * Format: ddMMyy * maxLength: 6 */ - 'enhancedSchemeData_tempStartDate'?: string; + 'enhancedSchemeDataTempStartDate'?: string; /** * Date of the end of the billing cycle. * Format: ddMMyy * maxLength: 6 */ - 'enhancedSchemeData_tempWeekEnding'?: string; + 'enhancedSchemeDataTempWeekEnding'?: string; /** * Total tax amount, in minor units. For example, 2000 means USD 20.00 * maxLength: 12 */ - 'enhancedSchemeData_totalTaxAmount'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "enhancedSchemeData_customerReference", - "baseName": "enhancedSchemeData.customerReference", - "type": "string" - }, - { - "name": "enhancedSchemeData_employeeName", - "baseName": "enhancedSchemeData.employeeName", - "type": "string" - }, - { - "name": "enhancedSchemeData_jobDescription", - "baseName": "enhancedSchemeData.jobDescription", - "type": "string" - }, - { - "name": "enhancedSchemeData_regularHoursRate", - "baseName": "enhancedSchemeData.regularHoursRate", - "type": "string" - }, - { - "name": "enhancedSchemeData_regularHoursWorked", - "baseName": "enhancedSchemeData.regularHoursWorked", - "type": "string" - }, - { - "name": "enhancedSchemeData_requestName", - "baseName": "enhancedSchemeData.requestName", - "type": "string" - }, - { - "name": "enhancedSchemeData_tempStartDate", - "baseName": "enhancedSchemeData.tempStartDate", - "type": "string" - }, - { - "name": "enhancedSchemeData_tempWeekEnding", - "baseName": "enhancedSchemeData.tempWeekEnding", - "type": "string" - }, - { - "name": "enhancedSchemeData_totalTaxAmount", - "baseName": "enhancedSchemeData.totalTaxAmount", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalDataTemporaryServices.attributeTypeMap; - } + 'enhancedSchemeDataTotalTaxAmount'?: string; } diff --git a/src/typings/checkout/additionalDataWallets.ts b/src/typings/checkout/additionalDataWallets.ts index 742491c..ee6fb39 100644 --- a/src/typings/checkout/additionalDataWallets.ts +++ b/src/typings/checkout/additionalDataWallets.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,69 +11,30 @@ */ - export class AdditionalDataWallets { /** * The Android Pay token retrieved from the SDK. */ - 'androidpay_token'?: string; + 'androidpayToken'?: string; /** * The Mastercard Masterpass Transaction ID retrieved from the SDK. */ - 'masterpass_transactionId'?: string; + 'masterpassTransactionId'?: string; /** * The Apple Pay token retrieved from the SDK. */ - 'payment_token'?: string; + 'paymentToken'?: string; /** * The Google Pay token retrieved from the SDK. */ - 'paywithgoogle_token'?: string; + 'paywithgoogleToken'?: string; /** * The Samsung Pay token retrieved from the SDK. */ - 'samsungpay_token'?: string; + 'samsungpayToken'?: string; /** * The Visa Checkout Call ID retrieved from the SDK. */ - 'visacheckout_callId'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "androidpay_token", - "baseName": "androidpay.token", - "type": "string" - }, - { - "name": "masterpass_transactionId", - "baseName": "masterpass.transactionId", - "type": "string" - }, - { - "name": "payment_token", - "baseName": "payment.token", - "type": "string" - }, - { - "name": "paywithgoogle_token", - "baseName": "paywithgoogle.token", - "type": "string" - }, - { - "name": "samsungpay_token", - "baseName": "samsungpay.token", - "type": "string" - }, - { - "name": "visacheckout_callId", - "baseName": "visacheckout.callId", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return AdditionalDataWallets.attributeTypeMap; - } + 'visacheckoutCallId'?: string; } diff --git a/src/typings/checkout/address.ts b/src/typings/checkout/address.ts index 91d54f8..bf1bd23 100644 --- a/src/typings/checkout/address.ts +++ b/src/typings/checkout/address.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,14 +11,13 @@ */ - export class Address { /** * The name of the city. Maximum length: 3000 characters. */ 'city': string; /** - * The two-character country code as defined in ISO-3166-1 alpha-2. For example, **US**. > If you don\'t know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. + * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. > If you don\'t know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. */ 'country': string; /** @@ -49,50 +29,12 @@ export class Address { */ 'postalCode': string; /** - * State or province codes as defined in ISO 3166-2. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. + * The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada. */ 'stateOrProvince'?: string; /** * The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. */ 'street': string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "city", - "baseName": "city", - "type": "string" - }, - { - "name": "country", - "baseName": "country", - "type": "string" - }, - { - "name": "houseNumberOrName", - "baseName": "houseNumberOrName", - "type": "string" - }, - { - "name": "postalCode", - "baseName": "postalCode", - "type": "string" - }, - { - "name": "stateOrProvince", - "baseName": "stateOrProvince", - "type": "string" - }, - { - "name": "street", - "baseName": "street", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return Address.attributeTypeMap; - } } diff --git a/src/typings/checkout/afterpayDetails.ts b/src/typings/checkout/afterpayDetails.ts index 08c691e..cd47c0d 100644 --- a/src/typings/checkout/afterpayDetails.ts +++ b/src/typings/checkout/afterpayDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class AfterpayDetails { /** * The address where to send the invoice. @@ -56,44 +36,6 @@ export class AfterpayDetails { * **afterpay_default** */ 'type': AfterpayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "billingAddress", - "baseName": "billingAddress", - "type": "string" - }, - { - "name": "deliveryAddress", - "baseName": "deliveryAddress", - "type": "string" - }, - { - "name": "personalDetails", - "baseName": "personalDetails", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "AfterpayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return AfterpayDetails.attributeTypeMap; - } } export namespace AfterpayDetails { diff --git a/src/typings/checkout/amazonPayDetails.ts b/src/typings/checkout/amazonPayDetails.ts index 7b02eaa..489dad6 100644 --- a/src/typings/checkout/amazonPayDetails.ts +++ b/src/typings/checkout/amazonPayDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class AmazonPayDetails { /** * This is the `amazonPayToken` that you obtained from the [Get Checkout Session](https://amazon-pay-acquirer-guide.s3-eu-west-1.amazonaws.com/v1/amazon-pay-api-v2/checkout-session.html#get-checkout-session) response. @@ -40,24 +20,6 @@ export class AmazonPayDetails { * **amazonpay** */ 'type'?: AmazonPayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "amazonPayToken", - "baseName": "amazonPayToken", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "AmazonPayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return AmazonPayDetails.attributeTypeMap; - } } export namespace AmazonPayDetails { diff --git a/src/typings/checkout/amount.ts b/src/typings/checkout/amount.ts index e35abcd..79e24ca 100644 --- a/src/typings/checkout/amount.ts +++ b/src/typings/checkout/amount.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class Amount { /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). @@ -40,23 +20,5 @@ export class Amount { * The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes). */ 'value': number; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "currency", - "baseName": "currency", - "type": "string" - }, - { - "name": "value", - "baseName": "value", - "type": "number" - } ]; - - static getAttributeTypeMap() { - return Amount.attributeTypeMap; - } } diff --git a/src/typings/checkout/androidPayDetails.ts b/src/typings/checkout/androidPayDetails.ts index c092469..2cc5018 100644 --- a/src/typings/checkout/androidPayDetails.ts +++ b/src/typings/checkout/androidPayDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,25 +11,11 @@ */ - export class AndroidPayDetails { /** * **androidpay** */ 'type'?: AndroidPayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "type", - "baseName": "type", - "type": "AndroidPayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return AndroidPayDetails.attributeTypeMap; - } } export namespace AndroidPayDetails { diff --git a/src/typings/checkout/applePayDetails.ts b/src/typings/checkout/applePayDetails.ts index 1707915..23cda79 100644 --- a/src/typings/checkout/applePayDetails.ts +++ b/src/typings/checkout/applePayDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class ApplePayDetails { /** * The stringified and base64 encoded `paymentData` you retrieved from the Apple framework. @@ -52,39 +32,6 @@ export class ApplePayDetails { * **applepay** */ 'type'?: ApplePayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "applePayToken", - "baseName": "applePayToken", - "type": "string" - }, - { - "name": "fundingSource", - "baseName": "fundingSource", - "type": "ApplePayDetails.FundingSourceEnum" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "ApplePayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return ApplePayDetails.attributeTypeMap; - } } export namespace ApplePayDetails { diff --git a/src/typings/checkout/applicationInfo.ts b/src/typings/checkout/applicationInfo.ts index 7eaf329..055f2d7 100644 --- a/src/typings/checkout/applicationInfo.ts +++ b/src/typings/checkout/applicationInfo.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { CommonField } from './commonField'; import { ExternalPlatform } from './externalPlatform'; import { MerchantDevice } from './merchantDevice'; @@ -42,43 +22,5 @@ export class ApplicationInfo { 'merchantApplication'?: CommonField; 'merchantDevice'?: MerchantDevice; 'shopperInteractionDevice'?: ShopperInteractionDevice; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "adyenLibrary", - "baseName": "adyenLibrary", - "type": "CommonField" - }, - { - "name": "adyenPaymentSource", - "baseName": "adyenPaymentSource", - "type": "CommonField" - }, - { - "name": "externalPlatform", - "baseName": "externalPlatform", - "type": "ExternalPlatform" - }, - { - "name": "merchantApplication", - "baseName": "merchantApplication", - "type": "CommonField" - }, - { - "name": "merchantDevice", - "baseName": "merchantDevice", - "type": "MerchantDevice" - }, - { - "name": "shopperInteractionDevice", - "baseName": "shopperInteractionDevice", - "type": "ShopperInteractionDevice" - } ]; - - static getAttributeTypeMap() { - return ApplicationInfo.attributeTypeMap; - } } diff --git a/src/typings/checkout/authenticationData.ts b/src/typings/checkout/authenticationData.ts new file mode 100644 index 0000000..b52c634 --- /dev/null +++ b/src/typings/checkout/authenticationData.ts @@ -0,0 +1,33 @@ +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! + * + * The version of the OpenAPI document: 69 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { ThreeDSRequestData } from './threeDSRequestData'; + +export class AuthenticationData { + /** + * Indicates when 3D Secure authentication should be attempted. This overrides all other rules, including [Dynamic 3D Secure settings](https://docs.adyen.com/risk-management/dynamic-3d-secure). Possible values: * **always**: Perform 3D Secure authentication. * **never**: Don\'t perform 3D Secure authentication. If PSD2 SCA or other national regulations require authentication, the transaction gets declined. * **preferNo**: Do not perform 3D Secure authentication if not required by PSD2 SCA or other national regulations. + */ + 'attemptAuthentication'?: AuthenticationData.AttemptAuthenticationEnum; + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. Default: *false**. + */ + 'authenticationOnly'?: boolean; + 'threeDSRequestData'?: ThreeDSRequestData; +} + +export namespace AuthenticationData { + export enum AttemptAuthenticationEnum { + Always = 'always', + Never = 'never', + PreferNo = 'preferNo' + } +} diff --git a/src/typings/checkout/avs.ts b/src/typings/checkout/avs.ts index b135994..c0d31bd 100644 --- a/src/typings/checkout/avs.ts +++ b/src/typings/checkout/avs.ts @@ -1,27 +1,10 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - +// @ts-ignore + /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +13,6 @@ */ - export class Avs { /** * Indicates whether the shopper is allowed to modify the billing address for the current payment request. @@ -40,24 +22,6 @@ export class Avs { * Specifies whether the shopper should enter their billing address during checkout. Allowed values: * yes — Perform AVS checks for every card payment. * automatic — Perform AVS checks only when required to optimize the conversion rate. * no — Do not perform AVS checks. */ 'enabled'?: Avs.EnabledEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "addressEditable", - "baseName": "addressEditable", - "type": "boolean" - }, - { - "name": "enabled", - "baseName": "enabled", - "type": "Avs.EnabledEnum" - } ]; - - static getAttributeTypeMap() { - return Avs.attributeTypeMap; - } } export namespace Avs { diff --git a/src/typings/checkout/bacsDirectDebitDetails.ts b/src/typings/checkout/bacsDirectDebitDetails.ts index 13b9454..516cad9 100644 --- a/src/typings/checkout/bacsDirectDebitDetails.ts +++ b/src/typings/checkout/bacsDirectDebitDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class BacsDirectDebitDetails { /** * The bank account number (without separators). @@ -56,48 +36,10 @@ export class BacsDirectDebitDetails { * **directdebit_GB** */ 'type'?: BacsDirectDebitDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "bankAccountNumber", - "baseName": "bankAccountNumber", - "type": "string" - }, - { - "name": "bankLocationId", - "baseName": "bankLocationId", - "type": "string" - }, - { - "name": "holderName", - "baseName": "holderName", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "BacsDirectDebitDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return BacsDirectDebitDetails.attributeTypeMap; - } } export namespace BacsDirectDebitDetails { export enum TypeEnum { - DirectdebitGb = 'directdebit_GB' + DirectdebitGB = 'directdebit_GB' } } diff --git a/src/typings/checkout/bankAccount.ts b/src/typings/checkout/bankAccount.ts index 0e8a637..efcefc7 100644 --- a/src/typings/checkout/bankAccount.ts +++ b/src/typings/checkout/bankAccount.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class BankAccount { /** * The bank account number (without separators). @@ -68,58 +48,5 @@ export class BankAccount { * The bank account holder\'s tax ID. */ 'taxId'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "bankAccountNumber", - "baseName": "bankAccountNumber", - "type": "string" - }, - { - "name": "bankCity", - "baseName": "bankCity", - "type": "string" - }, - { - "name": "bankLocationId", - "baseName": "bankLocationId", - "type": "string" - }, - { - "name": "bankName", - "baseName": "bankName", - "type": "string" - }, - { - "name": "bic", - "baseName": "bic", - "type": "string" - }, - { - "name": "countryCode", - "baseName": "countryCode", - "type": "string" - }, - { - "name": "iban", - "baseName": "iban", - "type": "string" - }, - { - "name": "ownerName", - "baseName": "ownerName", - "type": "string" - }, - { - "name": "taxId", - "baseName": "taxId", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return BankAccount.attributeTypeMap; - } } diff --git a/src/typings/checkout/billDeskDetails.ts b/src/typings/checkout/billDeskDetails.ts index e9f1b44..e56912c 100644 --- a/src/typings/checkout/billDeskDetails.ts +++ b/src/typings/checkout/billDeskDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class BillDeskDetails { /** * The issuer id of the shopper\'s selected bank. @@ -40,31 +20,13 @@ export class BillDeskDetails { * **billdesk** */ 'type': BillDeskDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "issuer", - "baseName": "issuer", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "BillDeskDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return BillDeskDetails.attributeTypeMap; - } } export namespace BillDeskDetails { export enum TypeEnum { BilldeskOnline = 'billdesk_online', BilldeskWallet = 'billdesk_wallet', - OnlinebankingIn = 'onlinebanking_IN', - WalletIn = 'wallet_IN' + OnlinebankingIN = 'onlinebanking_IN', + WalletIN = 'wallet_IN' } } diff --git a/src/typings/checkout/blikDetails.ts b/src/typings/checkout/blikDetails.ts index d2cb3df..3d644bc 100644 --- a/src/typings/checkout/blikDetails.ts +++ b/src/typings/checkout/blikDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class BlikDetails { /** * BLIK code consisting of 6 digits. @@ -48,34 +28,6 @@ export class BlikDetails { * **blik** */ 'type'?: BlikDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "blikCode", - "baseName": "blikCode", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "BlikDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return BlikDetails.attributeTypeMap; - } } export namespace BlikDetails { diff --git a/src/typings/checkout/browserInfo.ts b/src/typings/checkout/browserInfo.ts index 45d6a32..4222f00 100644 --- a/src/typings/checkout/browserInfo.ts +++ b/src/typings/checkout/browserInfo.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class BrowserInfo { /** * The accept header value of the shopper\'s browser. @@ -68,58 +48,5 @@ export class BrowserInfo { * The user agent value of the shopper\'s browser. */ 'userAgent': string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "acceptHeader", - "baseName": "acceptHeader", - "type": "string" - }, - { - "name": "colorDepth", - "baseName": "colorDepth", - "type": "number" - }, - { - "name": "javaEnabled", - "baseName": "javaEnabled", - "type": "boolean" - }, - { - "name": "javaScriptEnabled", - "baseName": "javaScriptEnabled", - "type": "boolean" - }, - { - "name": "language", - "baseName": "language", - "type": "string" - }, - { - "name": "screenHeight", - "baseName": "screenHeight", - "type": "number" - }, - { - "name": "screenWidth", - "baseName": "screenWidth", - "type": "number" - }, - { - "name": "timeZoneOffset", - "baseName": "timeZoneOffset", - "type": "number" - }, - { - "name": "userAgent", - "baseName": "userAgent", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return BrowserInfo.attributeTypeMap; - } } diff --git a/src/typings/checkout/card.ts b/src/typings/checkout/card.ts index 46eb917..499923b 100644 --- a/src/typings/checkout/card.ts +++ b/src/typings/checkout/card.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class Card { /** * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. @@ -64,53 +44,5 @@ export class Card { * The year component of the start date (for some UK debit cards only). */ 'startYear'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "cvc", - "baseName": "cvc", - "type": "string" - }, - { - "name": "expiryMonth", - "baseName": "expiryMonth", - "type": "string" - }, - { - "name": "expiryYear", - "baseName": "expiryYear", - "type": "string" - }, - { - "name": "holderName", - "baseName": "holderName", - "type": "string" - }, - { - "name": "issueNumber", - "baseName": "issueNumber", - "type": "string" - }, - { - "name": "number", - "baseName": "number", - "type": "string" - }, - { - "name": "startMonth", - "baseName": "startMonth", - "type": "string" - }, - { - "name": "startYear", - "baseName": "startYear", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return Card.attributeTypeMap; - } } diff --git a/src/typings/checkout/cardBrandDetails.ts b/src/typings/checkout/cardBrandDetails.ts new file mode 100644 index 0000000..57e7ed7 --- /dev/null +++ b/src/typings/checkout/cardBrandDetails.ts @@ -0,0 +1,24 @@ +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! + * + * The version of the OpenAPI document: 69 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export class CardBrandDetails { + /** + * Indicates if you support the card brand. + */ + 'supported'?: boolean; + /** + * The name of the card brand. + */ + 'type'?: string; +} + diff --git a/src/typings/checkout/cardDetails.ts b/src/typings/checkout/cardDetails.ts index 4baa0e8..5cb5e25 100644 --- a/src/typings/checkout/cardDetails.ts +++ b/src/typings/checkout/cardDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,9 +11,12 @@ */ - export class CardDetails { - 'cupsecureplus_smscode'?: string; + /** + * Secondary brand of the card. For example: **plastix**, **hmclub**. + */ + 'brand'?: string; + 'cupsecureplusSmscode'?: string; /** * The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). */ @@ -70,6 +54,10 @@ export class CardDetails { */ 'holderName'?: string; /** + * The network token reference. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment. + */ + 'networkPaymentReference'?: string; + /** * The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide). */ 'number'?: string; @@ -93,94 +81,6 @@ export class CardDetails { * Default payment method details. Common for scheme payment methods, and for simple payment method details. */ 'type'?: CardDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "cupsecureplus_smscode", - "baseName": "cupsecureplus.smscode", - "type": "string" - }, - { - "name": "cvc", - "baseName": "cvc", - "type": "string" - }, - { - "name": "encryptedCardNumber", - "baseName": "encryptedCardNumber", - "type": "string" - }, - { - "name": "encryptedExpiryMonth", - "baseName": "encryptedExpiryMonth", - "type": "string" - }, - { - "name": "encryptedExpiryYear", - "baseName": "encryptedExpiryYear", - "type": "string" - }, - { - "name": "encryptedSecurityCode", - "baseName": "encryptedSecurityCode", - "type": "string" - }, - { - "name": "expiryMonth", - "baseName": "expiryMonth", - "type": "string" - }, - { - "name": "expiryYear", - "baseName": "expiryYear", - "type": "string" - }, - { - "name": "fundingSource", - "baseName": "fundingSource", - "type": "CardDetails.FundingSourceEnum" - }, - { - "name": "holderName", - "baseName": "holderName", - "type": "string" - }, - { - "name": "number", - "baseName": "number", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "shopperNotificationReference", - "baseName": "shopperNotificationReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "threeDS2SdkVersion", - "baseName": "threeDS2SdkVersion", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "CardDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return CardDetails.attributeTypeMap; - } } export namespace CardDetails { @@ -193,25 +93,10 @@ export namespace CardDetails { Giftcard = 'giftcard', Alliancedata = 'alliancedata', Card = 'card', - Moneybookers = 'moneybookers', Qiwiwallet = 'qiwiwallet', - AlipayHk = 'alipay_hk', - AlipayHkWap = 'alipay_hk_wap', - AlipayHkWeb = 'alipay_hk_web', - AlipayWap = 'alipay_wap', - KcpNaverpay = 'kcp_naverpay', - Upi = 'upi', - OnlinebankingIn = 'onlinebanking_IN', - WalletIn = 'wallet_IN', - Entercash = 'entercash', - PrimeiropayBoleto = 'primeiropay_boleto', - GopayWallet = 'gopay_wallet', - Poli = 'poli', - Mada = 'mada', - Naps = 'naps', - Benefit = 'benefit', - Knet = 'knet', - Fawry = 'fawry', - Omannet = 'omannet' + LianlianpayEbankingEnterprise = 'lianlianpay_ebanking_enterprise', + LianlianpayEbankingCredit = 'lianlianpay_ebanking_credit', + LianlianpayEbankingDebit = 'lianlianpay_ebanking_debit', + Entercash = 'entercash' } } diff --git a/src/typings/checkout/cardDetailsRequest.ts b/src/typings/checkout/cardDetailsRequest.ts new file mode 100644 index 0000000..d59d796 --- /dev/null +++ b/src/typings/checkout/cardDetailsRequest.ts @@ -0,0 +1,32 @@ +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! + * + * The version of the OpenAPI document: 69 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export class CardDetailsRequest { + /** + * A minimum of the first 8 digits of the card number and a maximum of the full card number. 11 digits gives the best result. You must be [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide) to collect raw card data. + */ + 'cardNumber': string; + /** + * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE + */ + 'countryCode'?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + 'merchantAccount': string; + /** + * The card brands you support. This is the [`brands`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods__resParam_paymentMethods-brands) array from your [`/paymentMethods`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/paymentMethods) response. If not included, our API uses the ones configured for your merchant account and, if provided, the country code. + */ + 'supportedBrands'?: Array; +} + diff --git a/src/typings/checkout/cardDetailsResponse.ts b/src/typings/checkout/cardDetailsResponse.ts new file mode 100644 index 0000000..bb9728e --- /dev/null +++ b/src/typings/checkout/cardDetailsResponse.ts @@ -0,0 +1,21 @@ +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! + * + * The version of the OpenAPI document: 69 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { CardBrandDetails } from './cardBrandDetails'; + +export class CardDetailsResponse { + /** + * The list of brands identified for the card. + */ + 'brands'?: Array; +} + diff --git a/src/typings/checkout/cellulantDetails.ts b/src/typings/checkout/cellulantDetails.ts index 6b66d91..2a6586a 100644 --- a/src/typings/checkout/cellulantDetails.ts +++ b/src/typings/checkout/cellulantDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class CellulantDetails { /** * The Cellulant issuer. @@ -40,24 +20,6 @@ export class CellulantDetails { * **Cellulant** */ 'type'?: CellulantDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "issuer", - "baseName": "issuer", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "CellulantDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return CellulantDetails.attributeTypeMap; - } } export namespace CellulantDetails { diff --git a/src/typings/checkout/checkoutAwaitAction.ts b/src/typings/checkout/checkoutAwaitAction.ts index 5c85caf..0e9ffe8 100644 --- a/src/typings/checkout/checkoutAwaitAction.ts +++ b/src/typings/checkout/checkoutAwaitAction.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class CheckoutAwaitAction { /** * A value that must be submitted to the `/payments/details` endpoint to verify this payment. @@ -48,34 +28,6 @@ export class CheckoutAwaitAction { * Specifies the URL to redirect to. */ 'url'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "paymentData", - "baseName": "paymentData", - "type": "string" - }, - { - "name": "paymentMethodType", - "baseName": "paymentMethodType", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "CheckoutAwaitAction.TypeEnum" - }, - { - "name": "url", - "baseName": "url", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CheckoutAwaitAction.attributeTypeMap; - } } export namespace CheckoutAwaitAction { diff --git a/src/typings/checkout/checkoutBalanceCheckRequest.ts b/src/typings/checkout/checkoutBalanceCheckRequest.ts index ec52b10..e6c7e41 100644 --- a/src/typings/checkout/checkoutBalanceCheckRequest.ts +++ b/src/typings/checkout/checkoutBalanceCheckRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { AccountInfo } from './accountInfo'; import { Address } from './address'; import { Amount } from './amount'; @@ -145,7 +125,7 @@ export class CheckoutBalanceCheckRequest { */ 'shopperReference'?: string; /** - * The text to be shown on the shopper\'s bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new). We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. + * The text to be shown on the shopper\'s bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , \' _ - ? + * /_**. */ 'shopperStatement'?: string; /** @@ -177,229 +157,6 @@ export class CheckoutBalanceCheckRequest { * Set to true if the payment should be routed to a trusted MID. */ 'trustedShopper'?: boolean; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "accountInfo", - "baseName": "accountInfo", - "type": "AccountInfo" - }, - { - "name": "additionalAmount", - "baseName": "additionalAmount", - "type": "Amount" - }, - { - "name": "additionalData", - "baseName": "additionalData", - "type": "{ [key: string]: string; }" - }, - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "applicationInfo", - "baseName": "applicationInfo", - "type": "ApplicationInfo" - }, - { - "name": "billingAddress", - "baseName": "billingAddress", - "type": "Address" - }, - { - "name": "browserInfo", - "baseName": "browserInfo", - "type": "BrowserInfo" - }, - { - "name": "captureDelayHours", - "baseName": "captureDelayHours", - "type": "number" - }, - { - "name": "dateOfBirth", - "baseName": "dateOfBirth", - "type": "Date" - }, - { - "name": "dccQuote", - "baseName": "dccQuote", - "type": "ForexQuote" - }, - { - "name": "deliveryAddress", - "baseName": "deliveryAddress", - "type": "Address" - }, - { - "name": "deliveryDate", - "baseName": "deliveryDate", - "type": "Date" - }, - { - "name": "deviceFingerprint", - "baseName": "deviceFingerprint", - "type": "string" - }, - { - "name": "fraudOffset", - "baseName": "fraudOffset", - "type": "number" - }, - { - "name": "installments", - "baseName": "installments", - "type": "Installments" - }, - { - "name": "mcc", - "baseName": "mcc", - "type": "string" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "merchantOrderReference", - "baseName": "merchantOrderReference", - "type": "string" - }, - { - "name": "merchantRiskIndicator", - "baseName": "merchantRiskIndicator", - "type": "MerchantRiskIndicator" - }, - { - "name": "metadata", - "baseName": "metadata", - "type": "{ [key: string]: string; }" - }, - { - "name": "orderReference", - "baseName": "orderReference", - "type": "string" - }, - { - "name": "paymentMethod", - "baseName": "paymentMethod", - "type": "{ [key: string]: string; }" - }, - { - "name": "recurring", - "baseName": "recurring", - "type": "Recurring" - }, - { - "name": "recurringProcessingModel", - "baseName": "recurringProcessingModel", - "type": "CheckoutBalanceCheckRequest.RecurringProcessingModelEnum" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "selectedBrand", - "baseName": "selectedBrand", - "type": "string" - }, - { - "name": "selectedRecurringDetailReference", - "baseName": "selectedRecurringDetailReference", - "type": "string" - }, - { - "name": "sessionId", - "baseName": "sessionId", - "type": "string" - }, - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "shopperIP", - "baseName": "shopperIP", - "type": "string" - }, - { - "name": "shopperInteraction", - "baseName": "shopperInteraction", - "type": "CheckoutBalanceCheckRequest.ShopperInteractionEnum" - }, - { - "name": "shopperLocale", - "baseName": "shopperLocale", - "type": "string" - }, - { - "name": "shopperName", - "baseName": "shopperName", - "type": "Name" - }, - { - "name": "shopperReference", - "baseName": "shopperReference", - "type": "string" - }, - { - "name": "shopperStatement", - "baseName": "shopperStatement", - "type": "string" - }, - { - "name": "socialSecurityNumber", - "baseName": "socialSecurityNumber", - "type": "string" - }, - { - "name": "splits", - "baseName": "splits", - "type": "Array" - }, - { - "name": "store", - "baseName": "store", - "type": "string" - }, - { - "name": "telephoneNumber", - "baseName": "telephoneNumber", - "type": "string" - }, - { - "name": "threeDS2RequestData", - "baseName": "threeDS2RequestData", - "type": "ThreeDS2RequestData" - }, - { - "name": "threeDSAuthenticationOnly", - "baseName": "threeDSAuthenticationOnly", - "type": "boolean" - }, - { - "name": "totalsGroup", - "baseName": "totalsGroup", - "type": "string" - }, - { - "name": "trustedShopper", - "baseName": "trustedShopper", - "type": "boolean" - } ]; - - static getAttributeTypeMap() { - return CheckoutBalanceCheckRequest.attributeTypeMap; - } } export namespace CheckoutBalanceCheckRequest { @@ -412,6 +169,6 @@ export namespace CheckoutBalanceCheckRequest { Ecommerce = 'Ecommerce', ContAuth = 'ContAuth', Moto = 'Moto', - Pos = 'POS' + POS = 'POS' } } diff --git a/src/typings/checkout/checkoutBalanceCheckResponse.ts b/src/typings/checkout/checkoutBalanceCheckResponse.ts index 0664a15..e573c33 100644 --- a/src/typings/checkout/checkoutBalanceCheckResponse.ts +++ b/src/typings/checkout/checkoutBalanceCheckResponse.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; import { FraudResult } from './fraudResult'; @@ -53,49 +33,6 @@ export class CheckoutBalanceCheckResponse { */ 'resultCode': CheckoutBalanceCheckResponse.ResultCodeEnum; 'transactionLimit'?: Amount; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "additionalData", - "baseName": "additionalData", - "type": "{ [key: string]: string; }" - }, - { - "name": "balance", - "baseName": "balance", - "type": "Amount" - }, - { - "name": "fraudResult", - "baseName": "fraudResult", - "type": "FraudResult" - }, - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - }, - { - "name": "refusalReason", - "baseName": "refusalReason", - "type": "string" - }, - { - "name": "resultCode", - "baseName": "resultCode", - "type": "CheckoutBalanceCheckResponse.ResultCodeEnum" - }, - { - "name": "transactionLimit", - "baseName": "transactionLimit", - "type": "Amount" - } ]; - - static getAttributeTypeMap() { - return CheckoutBalanceCheckResponse.attributeTypeMap; - } } export namespace CheckoutBalanceCheckResponse { diff --git a/src/typings/checkout/checkoutBankTransferAction.ts b/src/typings/checkout/checkoutBankTransferAction.ts index 16a5526..885e418 100644 --- a/src/typings/checkout/checkoutBankTransferAction.ts +++ b/src/typings/checkout/checkoutBankTransferAction.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; export class CheckoutBankTransferAction { @@ -70,64 +50,6 @@ export class CheckoutBankTransferAction { * Specifies the URL to redirect to. */ 'url'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "beneficiary", - "baseName": "beneficiary", - "type": "string" - }, - { - "name": "bic", - "baseName": "bic", - "type": "string" - }, - { - "name": "downloadUrl", - "baseName": "downloadUrl", - "type": "string" - }, - { - "name": "iban", - "baseName": "iban", - "type": "string" - }, - { - "name": "paymentMethodType", - "baseName": "paymentMethodType", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "totalAmount", - "baseName": "totalAmount", - "type": "Amount" - }, - { - "name": "type", - "baseName": "type", - "type": "CheckoutBankTransferAction.TypeEnum" - }, - { - "name": "url", - "baseName": "url", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CheckoutBankTransferAction.attributeTypeMap; - } } export namespace CheckoutBankTransferAction { diff --git a/src/typings/checkout/checkoutCancelOrderRequest.ts b/src/typings/checkout/checkoutCancelOrderRequest.ts index 2af6bf0..11de3f9 100644 --- a/src/typings/checkout/checkoutCancelOrderRequest.ts +++ b/src/typings/checkout/checkoutCancelOrderRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { CheckoutOrder } from './checkoutOrder'; export class CheckoutCancelOrderRequest { @@ -38,23 +18,5 @@ export class CheckoutCancelOrderRequest { */ 'merchantAccount': string; 'order': CheckoutOrder; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "order", - "baseName": "order", - "type": "CheckoutOrder" - } ]; - - static getAttributeTypeMap() { - return CheckoutCancelOrderRequest.attributeTypeMap; - } } diff --git a/src/typings/checkout/checkoutCancelOrderResponse.ts b/src/typings/checkout/checkoutCancelOrderResponse.ts index efadd2e..3cadd3b 100644 --- a/src/typings/checkout/checkoutCancelOrderResponse.ts +++ b/src/typings/checkout/checkoutCancelOrderResponse.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class CheckoutCancelOrderResponse { /** * A unique reference of the cancellation request. @@ -40,24 +20,6 @@ export class CheckoutCancelOrderResponse { * The result of the cancellation request. Possible values: * **Received** – Indicates the cancellation has successfully been received by Adyen, and will be processed. */ 'resultCode': CheckoutCancelOrderResponse.ResultCodeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - }, - { - "name": "resultCode", - "baseName": "resultCode", - "type": "CheckoutCancelOrderResponse.ResultCodeEnum" - } ]; - - static getAttributeTypeMap() { - return CheckoutCancelOrderResponse.attributeTypeMap; - } } export namespace CheckoutCancelOrderResponse { diff --git a/src/typings/checkout/checkoutCreateOrderRequest.ts b/src/typings/checkout/checkoutCreateOrderRequest.ts index 83a86e2..3b97a56 100644 --- a/src/typings/checkout/checkoutCreateOrderRequest.ts +++ b/src/typings/checkout/checkoutCreateOrderRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; export class CheckoutCreateOrderRequest { @@ -46,33 +26,5 @@ export class CheckoutCreateOrderRequest { * A custom reference identifying the order. */ 'reference': string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "expiresAt", - "baseName": "expiresAt", - "type": "string" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CheckoutCreateOrderRequest.attributeTypeMap; - } } diff --git a/src/typings/checkout/checkoutCreateOrderResponse.ts b/src/typings/checkout/checkoutCreateOrderResponse.ts index 7d2dec3..2b22a5c 100644 --- a/src/typings/checkout/checkoutCreateOrderResponse.ts +++ b/src/typings/checkout/checkoutCreateOrderResponse.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; import { FraudResult } from './fraudResult'; @@ -65,64 +45,6 @@ export class CheckoutCreateOrderResponse { * The result of the order creation request. The value is always **Success**. */ 'resultCode': CheckoutCreateOrderResponse.ResultCodeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "additionalData", - "baseName": "additionalData", - "type": "{ [key: string]: string; }" - }, - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "expiresAt", - "baseName": "expiresAt", - "type": "string" - }, - { - "name": "fraudResult", - "baseName": "fraudResult", - "type": "FraudResult" - }, - { - "name": "orderData", - "baseName": "orderData", - "type": "string" - }, - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "refusalReason", - "baseName": "refusalReason", - "type": "string" - }, - { - "name": "remainingAmount", - "baseName": "remainingAmount", - "type": "Amount" - }, - { - "name": "resultCode", - "baseName": "resultCode", - "type": "CheckoutCreateOrderResponse.ResultCodeEnum" - } ]; - - static getAttributeTypeMap() { - return CheckoutCreateOrderResponse.attributeTypeMap; - } } export namespace CheckoutCreateOrderResponse { diff --git a/src/typings/checkout/checkoutDonationAction.ts b/src/typings/checkout/checkoutDonationAction.ts index bc3d685..75ee2b8 100644 --- a/src/typings/checkout/checkoutDonationAction.ts +++ b/src/typings/checkout/checkoutDonationAction.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class CheckoutDonationAction { /** * A value that must be submitted to the `/payments/details` endpoint to verify this payment. @@ -48,34 +28,6 @@ export class CheckoutDonationAction { * Specifies the URL to redirect to. */ 'url'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "paymentData", - "baseName": "paymentData", - "type": "string" - }, - { - "name": "paymentMethodType", - "baseName": "paymentMethodType", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "CheckoutDonationAction.TypeEnum" - }, - { - "name": "url", - "baseName": "url", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CheckoutDonationAction.attributeTypeMap; - } } export namespace CheckoutDonationAction { diff --git a/src/typings/checkout/checkoutOneTimePasscodeAction.ts b/src/typings/checkout/checkoutOneTimePasscodeAction.ts index b7528e6..aed60e9 100644 --- a/src/typings/checkout/checkoutOneTimePasscodeAction.ts +++ b/src/typings/checkout/checkoutOneTimePasscodeAction.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Redirect } from './redirect'; export class CheckoutOneTimePasscodeAction { @@ -62,54 +42,6 @@ export class CheckoutOneTimePasscodeAction { * Specifies the URL to redirect to. */ 'url'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "paymentData", - "baseName": "paymentData", - "type": "string" - }, - { - "name": "paymentMethodType", - "baseName": "paymentMethodType", - "type": "string" - }, - { - "name": "redirect", - "baseName": "redirect", - "type": "Redirect" - }, - { - "name": "resendInterval", - "baseName": "resendInterval", - "type": "number" - }, - { - "name": "resendMaxAttempts", - "baseName": "resendMaxAttempts", - "type": "number" - }, - { - "name": "resendUrl", - "baseName": "resendUrl", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "CheckoutOneTimePasscodeAction.TypeEnum" - }, - { - "name": "url", - "baseName": "url", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CheckoutOneTimePasscodeAction.attributeTypeMap; - } } export namespace CheckoutOneTimePasscodeAction { diff --git a/src/typings/checkout/checkoutOrder.ts b/src/typings/checkout/checkoutOrder.ts index 583a752..5002c67 100644 --- a/src/typings/checkout/checkoutOrder.ts +++ b/src/typings/checkout/checkoutOrder.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class CheckoutOrder { /** * The encrypted order data. @@ -40,23 +20,5 @@ export class CheckoutOrder { * The `pspReference` that belongs to the order. */ 'pspReference': string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "orderData", - "baseName": "orderData", - "type": "string" - }, - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CheckoutOrder.attributeTypeMap; - } } diff --git a/src/typings/checkout/checkoutOrderResponse.ts b/src/typings/checkout/checkoutOrderResponse.ts index 788d5b4..55578e8 100644 --- a/src/typings/checkout/checkoutOrderResponse.ts +++ b/src/typings/checkout/checkoutOrderResponse.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; export class CheckoutOrderResponse { @@ -51,43 +31,5 @@ export class CheckoutOrderResponse { */ 'reference'?: string; 'remainingAmount'?: Amount; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "expiresAt", - "baseName": "expiresAt", - "type": "string" - }, - { - "name": "orderData", - "baseName": "orderData", - "type": "string" - }, - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "remainingAmount", - "baseName": "remainingAmount", - "type": "Amount" - } ]; - - static getAttributeTypeMap() { - return CheckoutOrderResponse.attributeTypeMap; - } } diff --git a/src/typings/checkout/checkoutQrCodeAction.ts b/src/typings/checkout/checkoutQrCodeAction.ts index df7455d..fd9c8ad 100644 --- a/src/typings/checkout/checkoutQrCodeAction.ts +++ b/src/typings/checkout/checkoutQrCodeAction.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class CheckoutQrCodeAction { /** * Expiry time of the QR code. @@ -56,44 +36,6 @@ export class CheckoutQrCodeAction { * Specifies the URL to redirect to. */ 'url'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "expiresAt", - "baseName": "expiresAt", - "type": "string" - }, - { - "name": "paymentData", - "baseName": "paymentData", - "type": "string" - }, - { - "name": "paymentMethodType", - "baseName": "paymentMethodType", - "type": "string" - }, - { - "name": "qrCodeData", - "baseName": "qrCodeData", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "CheckoutQrCodeAction.TypeEnum" - }, - { - "name": "url", - "baseName": "url", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CheckoutQrCodeAction.attributeTypeMap; - } } export namespace CheckoutQrCodeAction { diff --git a/src/typings/checkout/checkoutRedirectAction.ts b/src/typings/checkout/checkoutRedirectAction.ts index 7d55d84..7d560b2 100644 --- a/src/typings/checkout/checkoutRedirectAction.ts +++ b/src/typings/checkout/checkoutRedirectAction.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class CheckoutRedirectAction { /** * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. @@ -52,39 +32,6 @@ export class CheckoutRedirectAction { * Specifies the URL to redirect to. */ 'url'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "data", - "baseName": "data", - "type": "{ [key: string]: string; }" - }, - { - "name": "method", - "baseName": "method", - "type": "string" - }, - { - "name": "paymentMethodType", - "baseName": "paymentMethodType", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "CheckoutRedirectAction.TypeEnum" - }, - { - "name": "url", - "baseName": "url", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CheckoutRedirectAction.attributeTypeMap; - } } export namespace CheckoutRedirectAction { diff --git a/src/typings/checkout/checkoutSDKAction.ts b/src/typings/checkout/checkoutSDKAction.ts index ad1a78d..7368c2a 100644 --- a/src/typings/checkout/checkoutSDKAction.ts +++ b/src/typings/checkout/checkoutSDKAction.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class CheckoutSDKAction { /** * A value that must be submitted to the `/payments/details` endpoint to verify this payment. @@ -52,44 +32,11 @@ export class CheckoutSDKAction { * Specifies the URL to redirect to. */ 'url'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "paymentData", - "baseName": "paymentData", - "type": "string" - }, - { - "name": "paymentMethodType", - "baseName": "paymentMethodType", - "type": "string" - }, - { - "name": "sdkData", - "baseName": "sdkData", - "type": "{ [key: string]: string; }" - }, - { - "name": "type", - "baseName": "type", - "type": "CheckoutSDKAction.TypeEnum" - }, - { - "name": "url", - "baseName": "url", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CheckoutSDKAction.attributeTypeMap; - } } export namespace CheckoutSDKAction { export enum TypeEnum { Sdk = 'sdk', - WechatpaySdk = 'wechatpaySDK' + WechatpaySDK = 'wechatpaySDK' } } diff --git a/src/typings/checkout/checkoutThreeDS2Action.ts b/src/typings/checkout/checkoutThreeDS2Action.ts index 4645e8c..ac3ed01 100644 --- a/src/typings/checkout/checkoutThreeDS2Action.ts +++ b/src/typings/checkout/checkoutThreeDS2Action.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class CheckoutThreeDS2Action { /** * A token needed to authorise a payment. @@ -60,53 +40,10 @@ export class CheckoutThreeDS2Action { * Specifies the URL to redirect to. */ 'url'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "authorisationToken", - "baseName": "authorisationToken", - "type": "string" - }, - { - "name": "paymentData", - "baseName": "paymentData", - "type": "string" - }, - { - "name": "paymentMethodType", - "baseName": "paymentMethodType", - "type": "string" - }, - { - "name": "subtype", - "baseName": "subtype", - "type": "string" - }, - { - "name": "token", - "baseName": "token", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "CheckoutThreeDS2Action.TypeEnum" - }, - { - "name": "url", - "baseName": "url", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CheckoutThreeDS2Action.attributeTypeMap; - } } export namespace CheckoutThreeDS2Action { export enum TypeEnum { - ThreeDs2 = 'threeDS2' + ThreeDS2 = 'threeDS2' } } diff --git a/src/typings/checkout/checkoutUtilityRequest.ts b/src/typings/checkout/checkoutUtilityRequest.ts index 51d8a7e..4526bfd 100644 --- a/src/typings/checkout/checkoutUtilityRequest.ts +++ b/src/typings/checkout/checkoutUtilityRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,24 +11,10 @@ */ - export class CheckoutUtilityRequest { /** * The list of origin domains, for which origin keys are requested. */ 'originDomains': Array; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "originDomains", - "baseName": "originDomains", - "type": "Array" - } ]; - - static getAttributeTypeMap() { - return CheckoutUtilityRequest.attributeTypeMap; - } } diff --git a/src/typings/checkout/checkoutUtilityResponse.ts b/src/typings/checkout/checkoutUtilityResponse.ts index 7ea2020..ba77886 100644 --- a/src/typings/checkout/checkoutUtilityResponse.ts +++ b/src/typings/checkout/checkoutUtilityResponse.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,24 +11,10 @@ */ - export class CheckoutUtilityResponse { /** * The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key. */ 'originKeys'?: { [key: string]: string; }; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "originKeys", - "baseName": "originKeys", - "type": "{ [key: string]: string; }" - } ]; - - static getAttributeTypeMap() { - return CheckoutUtilityResponse.attributeTypeMap; - } } diff --git a/src/typings/checkout/checkoutVoucherAction.ts b/src/typings/checkout/checkoutVoucherAction.ts index 2c9ca66..7d20df7 100644 --- a/src/typings/checkout/checkoutVoucherAction.ts +++ b/src/typings/checkout/checkoutVoucherAction.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; export class CheckoutVoucherAction { @@ -104,114 +84,6 @@ export class CheckoutVoucherAction { * Specifies the URL to redirect to. */ 'url'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "alternativeReference", - "baseName": "alternativeReference", - "type": "string" - }, - { - "name": "collectionInstitutionNumber", - "baseName": "collectionInstitutionNumber", - "type": "string" - }, - { - "name": "downloadUrl", - "baseName": "downloadUrl", - "type": "string" - }, - { - "name": "entity", - "baseName": "entity", - "type": "string" - }, - { - "name": "expiresAt", - "baseName": "expiresAt", - "type": "string" - }, - { - "name": "initialAmount", - "baseName": "initialAmount", - "type": "Amount" - }, - { - "name": "instructionsUrl", - "baseName": "instructionsUrl", - "type": "string" - }, - { - "name": "issuer", - "baseName": "issuer", - "type": "string" - }, - { - "name": "maskedTelephoneNumber", - "baseName": "maskedTelephoneNumber", - "type": "string" - }, - { - "name": "merchantName", - "baseName": "merchantName", - "type": "string" - }, - { - "name": "merchantReference", - "baseName": "merchantReference", - "type": "string" - }, - { - "name": "paymentData", - "baseName": "paymentData", - "type": "string" - }, - { - "name": "paymentMethodType", - "baseName": "paymentMethodType", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "shopperName", - "baseName": "shopperName", - "type": "string" - }, - { - "name": "surcharge", - "baseName": "surcharge", - "type": "Amount" - }, - { - "name": "totalAmount", - "baseName": "totalAmount", - "type": "Amount" - }, - { - "name": "type", - "baseName": "type", - "type": "CheckoutVoucherAction.TypeEnum" - }, - { - "name": "url", - "baseName": "url", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CheckoutVoucherAction.attributeTypeMap; - } } export namespace CheckoutVoucherAction { diff --git a/src/typings/checkout/commonField.ts b/src/typings/checkout/commonField.ts index eedef26..c240813 100644 --- a/src/typings/checkout/commonField.ts +++ b/src/typings/checkout/commonField.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class CommonField { /** * Name of the field. For example, Name of External Platform. @@ -40,23 +20,5 @@ export class CommonField { * Version of the field. For example, Version of External Platform. */ 'version'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "name", - "baseName": "name", - "type": "string" - }, - { - "name": "version", - "baseName": "version", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CommonField.attributeTypeMap; - } } diff --git a/src/typings/checkout/company.ts b/src/typings/checkout/company.ts index 51bb862..921f5e6 100644 --- a/src/typings/checkout/company.ts +++ b/src/typings/checkout/company.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class Company { /** * The company website\'s home page. @@ -56,43 +36,5 @@ export class Company { * The company type. */ 'type'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "homepage", - "baseName": "homepage", - "type": "string" - }, - { - "name": "name", - "baseName": "name", - "type": "string" - }, - { - "name": "registrationNumber", - "baseName": "registrationNumber", - "type": "string" - }, - { - "name": "registryLocation", - "baseName": "registryLocation", - "type": "string" - }, - { - "name": "taxId", - "baseName": "taxId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return Company.attributeTypeMap; - } } diff --git a/src/typings/checkout/configuration.ts b/src/typings/checkout/configuration.ts index f1eb3e2..bb7e24e 100644 --- a/src/typings/checkout/configuration.ts +++ b/src/typings/checkout/configuration.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Avs } from './avs'; import { InstallmentsNumber } from './installmentsNumber'; import { ShopperInput } from './shopperInput'; @@ -42,40 +22,12 @@ export class Configuration { 'cardHolderName'?: Configuration.CardHolderNameEnum; 'installments'?: InstallmentsNumber; 'shopperInput'?: ShopperInput; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "avs", - "baseName": "avs", - "type": "Avs" - }, - { - "name": "cardHolderName", - "baseName": "cardHolderName", - "type": "Configuration.CardHolderNameEnum" - }, - { - "name": "installments", - "baseName": "installments", - "type": "InstallmentsNumber" - }, - { - "name": "shopperInput", - "baseName": "shopperInput", - "type": "ShopperInput" - } ]; - - static getAttributeTypeMap() { - return Configuration.attributeTypeMap; - } } export namespace Configuration { export enum CardHolderNameEnum { - None = 'NONE', - Optional = 'OPTIONAL', - Required = 'REQUIRED' + NONE = 'NONE', + OPTIONAL = 'OPTIONAL', + REQUIRED = 'REQUIRED' } } diff --git a/src/typings/checkout/createCheckoutSessionRequest.ts b/src/typings/checkout/createCheckoutSessionRequest.ts index 1368b0d..b53a5a2 100644 --- a/src/typings/checkout/createCheckoutSessionRequest.ts +++ b/src/typings/checkout/createCheckoutSessionRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,11 +10,11 @@ * Do not edit the class manually. */ - import { AccountInfo } from './accountInfo'; import { Address } from './address'; import { Amount } from './amount'; import { ApplicationInfo } from './applicationInfo'; +import { AuthenticationData } from './authenticationData'; import { Company } from './company'; import { LineItem } from './lineItem'; import { Mandate } from './mandate'; @@ -55,6 +36,7 @@ export class CreateCheckoutSessionRequest { 'allowedPaymentMethods'?: Array; 'amount': Amount; 'applicationInfo'?: ApplicationInfo; + 'authenticationData'?: AuthenticationData; 'billingAddress'?: Address; /** * List of payment methods to be hidden from the shopper. To refer to payment methods, use their `paymentMethod.type`from [Payment methods overview](https://docs.adyen.com/payment-methods). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` @@ -65,7 +47,7 @@ export class CreateCheckoutSessionRequest { */ 'captureDelayHours'?: number; /** - * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web** */ 'channel'?: CreateCheckoutSessionRequest.ChannelEnum; 'company'?: Company; @@ -77,6 +59,10 @@ export class CreateCheckoutSessionRequest { * The shopper\'s date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD */ 'dateOfBirth'?: Date; + /** + * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + */ + 'deliverAt'?: Date; 'deliveryAddress'?: Address; /** * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. @@ -112,7 +98,7 @@ export class CreateCheckoutSessionRequest { */ 'merchantOrderReference'?: string; /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request.* Maximum 20 characters per key. * Maximum 80 characters per value. + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. * Maximum 20 characters per key. * Maximum 80 characters per value. */ 'metadata'?: { [key: string]: string; }; 'mpiData'?: ThreeDSecureData; @@ -167,7 +153,7 @@ export class CreateCheckoutSessionRequest { */ 'shopperReference'?: string; /** - * The text to be shown on the shopper\'s bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new). We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. + * The text to be shown on the shopper\'s bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , \' _ - ? + * /_**. */ 'shopperStatement'?: string; /** @@ -183,6 +169,10 @@ export class CreateCheckoutSessionRequest { */ 'splits'?: Array; /** + * The ecommerce or point-of-sale store that is processing the payment. + */ + 'store'?: string; + /** * When this is set to **true** and the `shopperReference` is provided, the payment details will be stored. */ 'storePaymentMethod'?: boolean; @@ -198,254 +188,11 @@ export class CreateCheckoutSessionRequest { * Set to true if the payment should be routed to a trusted MID. */ 'trustedShopper'?: boolean; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "accountInfo", - "baseName": "accountInfo", - "type": "AccountInfo" - }, - { - "name": "additionalAmount", - "baseName": "additionalAmount", - "type": "Amount" - }, - { - "name": "additionalData", - "baseName": "additionalData", - "type": "{ [key: string]: string; }" - }, - { - "name": "allowedPaymentMethods", - "baseName": "allowedPaymentMethods", - "type": "Array" - }, - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "applicationInfo", - "baseName": "applicationInfo", - "type": "ApplicationInfo" - }, - { - "name": "billingAddress", - "baseName": "billingAddress", - "type": "Address" - }, - { - "name": "blockedPaymentMethods", - "baseName": "blockedPaymentMethods", - "type": "Array" - }, - { - "name": "captureDelayHours", - "baseName": "captureDelayHours", - "type": "number" - }, - { - "name": "channel", - "baseName": "channel", - "type": "CreateCheckoutSessionRequest.ChannelEnum" - }, - { - "name": "company", - "baseName": "company", - "type": "Company" - }, - { - "name": "countryCode", - "baseName": "countryCode", - "type": "string" - }, - { - "name": "dateOfBirth", - "baseName": "dateOfBirth", - "type": "Date" - }, - { - "name": "deliveryAddress", - "baseName": "deliveryAddress", - "type": "Address" - }, - { - "name": "enableOneClick", - "baseName": "enableOneClick", - "type": "boolean" - }, - { - "name": "enablePayOut", - "baseName": "enablePayOut", - "type": "boolean" - }, - { - "name": "enableRecurring", - "baseName": "enableRecurring", - "type": "boolean" - }, - { - "name": "expiresAt", - "baseName": "expiresAt", - "type": "Date" - }, - { - "name": "lineItems", - "baseName": "lineItems", - "type": "Array" - }, - { - "name": "mandate", - "baseName": "mandate", - "type": "Mandate" - }, - { - "name": "mcc", - "baseName": "mcc", - "type": "string" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "merchantOrderReference", - "baseName": "merchantOrderReference", - "type": "string" - }, - { - "name": "metadata", - "baseName": "metadata", - "type": "{ [key: string]: string; }" - }, - { - "name": "mpiData", - "baseName": "mpiData", - "type": "ThreeDSecureData" - }, - { - "name": "recurringExpiry", - "baseName": "recurringExpiry", - "type": "string" - }, - { - "name": "recurringFrequency", - "baseName": "recurringFrequency", - "type": "string" - }, - { - "name": "recurringProcessingModel", - "baseName": "recurringProcessingModel", - "type": "CreateCheckoutSessionRequest.RecurringProcessingModelEnum" - }, - { - "name": "redirectFromIssuerMethod", - "baseName": "redirectFromIssuerMethod", - "type": "string" - }, - { - "name": "redirectToIssuerMethod", - "baseName": "redirectToIssuerMethod", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "returnUrl", - "baseName": "returnUrl", - "type": "string" - }, - { - "name": "riskData", - "baseName": "riskData", - "type": "RiskData" - }, - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "shopperIP", - "baseName": "shopperIP", - "type": "string" - }, - { - "name": "shopperInteraction", - "baseName": "shopperInteraction", - "type": "CreateCheckoutSessionRequest.ShopperInteractionEnum" - }, - { - "name": "shopperLocale", - "baseName": "shopperLocale", - "type": "string" - }, - { - "name": "shopperName", - "baseName": "shopperName", - "type": "Name" - }, - { - "name": "shopperReference", - "baseName": "shopperReference", - "type": "string" - }, - { - "name": "shopperStatement", - "baseName": "shopperStatement", - "type": "string" - }, - { - "name": "socialSecurityNumber", - "baseName": "socialSecurityNumber", - "type": "string" - }, - { - "name": "splitCardFundingSources", - "baseName": "splitCardFundingSources", - "type": "boolean" - }, - { - "name": "splits", - "baseName": "splits", - "type": "Array" - }, - { - "name": "storePaymentMethod", - "baseName": "storePaymentMethod", - "type": "boolean" - }, - { - "name": "telephoneNumber", - "baseName": "telephoneNumber", - "type": "string" - }, - { - "name": "threeDSAuthenticationOnly", - "baseName": "threeDSAuthenticationOnly", - "type": "boolean" - }, - { - "name": "trustedShopper", - "baseName": "trustedShopper", - "type": "boolean" - } ]; - - static getAttributeTypeMap() { - return CreateCheckoutSessionRequest.attributeTypeMap; - } } export namespace CreateCheckoutSessionRequest { export enum ChannelEnum { - IOs = 'iOS', + IOS = 'iOS', Android = 'Android', Web = 'Web' } @@ -458,6 +205,6 @@ export namespace CreateCheckoutSessionRequest { Ecommerce = 'Ecommerce', ContAuth = 'ContAuth', Moto = 'Moto', - Pos = 'POS' + POS = 'POS' } } diff --git a/src/typings/checkout/createCheckoutSessionResponse.ts b/src/typings/checkout/createCheckoutSessionResponse.ts index 918b059..09decff 100644 --- a/src/typings/checkout/createCheckoutSessionResponse.ts +++ b/src/typings/checkout/createCheckoutSessionResponse.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,11 +10,11 @@ * Do not edit the class manually. */ - import { AccountInfo } from './accountInfo'; import { Address } from './address'; import { Amount } from './amount'; import { ApplicationInfo } from './applicationInfo'; +import { AuthenticationData } from './authenticationData'; import { Company } from './company'; import { LineItem } from './lineItem'; import { Mandate } from './mandate'; @@ -55,6 +36,7 @@ export class CreateCheckoutSessionResponse { 'allowedPaymentMethods'?: Array; 'amount': Amount; 'applicationInfo'?: ApplicationInfo; + 'authenticationData'?: AuthenticationData; 'billingAddress'?: Address; /** * List of payment methods to be hidden from the shopper. To refer to payment methods, use their `paymentMethod.type`from [Payment methods overview](https://docs.adyen.com/payment-methods). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` @@ -65,7 +47,7 @@ export class CreateCheckoutSessionResponse { */ 'captureDelayHours'?: number; /** - * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * **iOS** * **Android** * **Web** */ 'channel'?: CreateCheckoutSessionResponse.ChannelEnum; 'company'?: Company; @@ -77,6 +59,10 @@ export class CreateCheckoutSessionResponse { * The shopper\'s date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD */ 'dateOfBirth'?: Date; + /** + * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + */ + 'deliverAt'?: Date; 'deliveryAddress'?: Address; /** * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. @@ -116,7 +102,7 @@ export class CreateCheckoutSessionResponse { */ 'merchantOrderReference'?: string; /** - * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request.* Maximum 20 characters per key. * Maximum 80 characters per value. + * Metadata consists of entries, each of which includes a key and a value. Limits: * Maximum 20 key-value pairs per request. * Maximum 20 characters per key. * Maximum 80 characters per value. */ 'metadata'?: { [key: string]: string; }; 'mpiData'?: ThreeDSecureData; @@ -149,6 +135,9 @@ export class CreateCheckoutSessionResponse { */ 'returnUrl': string; 'riskData'?: RiskData; + /** + * The payment session data you need to pass to your front end. + */ 'sessionData'?: string; /** * The shopper\'s email address. @@ -172,7 +161,7 @@ export class CreateCheckoutSessionResponse { */ 'shopperReference'?: string; /** - * The text to be shown on the shopper\'s bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new). We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. + * The text to be shown on the shopper\'s bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , \' _ - ? + * /_**. */ 'shopperStatement'?: string; /** @@ -188,6 +177,10 @@ export class CreateCheckoutSessionResponse { */ 'splits'?: Array; /** + * The ecommerce or point-of-sale store that is processing the payment. + */ + 'store'?: string; + /** * When this is set to **true** and the `shopperReference` is provided, the payment details will be stored. */ 'storePaymentMethod'?: boolean; @@ -203,264 +196,11 @@ export class CreateCheckoutSessionResponse { * Set to true if the payment should be routed to a trusted MID. */ 'trustedShopper'?: boolean; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "accountInfo", - "baseName": "accountInfo", - "type": "AccountInfo" - }, - { - "name": "additionalAmount", - "baseName": "additionalAmount", - "type": "Amount" - }, - { - "name": "additionalData", - "baseName": "additionalData", - "type": "{ [key: string]: string; }" - }, - { - "name": "allowedPaymentMethods", - "baseName": "allowedPaymentMethods", - "type": "Array" - }, - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "applicationInfo", - "baseName": "applicationInfo", - "type": "ApplicationInfo" - }, - { - "name": "billingAddress", - "baseName": "billingAddress", - "type": "Address" - }, - { - "name": "blockedPaymentMethods", - "baseName": "blockedPaymentMethods", - "type": "Array" - }, - { - "name": "captureDelayHours", - "baseName": "captureDelayHours", - "type": "number" - }, - { - "name": "channel", - "baseName": "channel", - "type": "CreateCheckoutSessionResponse.ChannelEnum" - }, - { - "name": "company", - "baseName": "company", - "type": "Company" - }, - { - "name": "countryCode", - "baseName": "countryCode", - "type": "string" - }, - { - "name": "dateOfBirth", - "baseName": "dateOfBirth", - "type": "Date" - }, - { - "name": "deliveryAddress", - "baseName": "deliveryAddress", - "type": "Address" - }, - { - "name": "enableOneClick", - "baseName": "enableOneClick", - "type": "boolean" - }, - { - "name": "enablePayOut", - "baseName": "enablePayOut", - "type": "boolean" - }, - { - "name": "enableRecurring", - "baseName": "enableRecurring", - "type": "boolean" - }, - { - "name": "expiresAt", - "baseName": "expiresAt", - "type": "Date" - }, - { - "name": "id", - "baseName": "id", - "type": "string" - }, - { - "name": "lineItems", - "baseName": "lineItems", - "type": "Array" - }, - { - "name": "mandate", - "baseName": "mandate", - "type": "Mandate" - }, - { - "name": "mcc", - "baseName": "mcc", - "type": "string" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "merchantOrderReference", - "baseName": "merchantOrderReference", - "type": "string" - }, - { - "name": "metadata", - "baseName": "metadata", - "type": "{ [key: string]: string; }" - }, - { - "name": "mpiData", - "baseName": "mpiData", - "type": "ThreeDSecureData" - }, - { - "name": "recurringExpiry", - "baseName": "recurringExpiry", - "type": "string" - }, - { - "name": "recurringFrequency", - "baseName": "recurringFrequency", - "type": "string" - }, - { - "name": "recurringProcessingModel", - "baseName": "recurringProcessingModel", - "type": "CreateCheckoutSessionResponse.RecurringProcessingModelEnum" - }, - { - "name": "redirectFromIssuerMethod", - "baseName": "redirectFromIssuerMethod", - "type": "string" - }, - { - "name": "redirectToIssuerMethod", - "baseName": "redirectToIssuerMethod", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "returnUrl", - "baseName": "returnUrl", - "type": "string" - }, - { - "name": "riskData", - "baseName": "riskData", - "type": "RiskData" - }, - { - "name": "sessionData", - "baseName": "sessionData", - "type": "string" - }, - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "shopperIP", - "baseName": "shopperIP", - "type": "string" - }, - { - "name": "shopperInteraction", - "baseName": "shopperInteraction", - "type": "CreateCheckoutSessionResponse.ShopperInteractionEnum" - }, - { - "name": "shopperLocale", - "baseName": "shopperLocale", - "type": "string" - }, - { - "name": "shopperName", - "baseName": "shopperName", - "type": "Name" - }, - { - "name": "shopperReference", - "baseName": "shopperReference", - "type": "string" - }, - { - "name": "shopperStatement", - "baseName": "shopperStatement", - "type": "string" - }, - { - "name": "socialSecurityNumber", - "baseName": "socialSecurityNumber", - "type": "string" - }, - { - "name": "splitCardFundingSources", - "baseName": "splitCardFundingSources", - "type": "boolean" - }, - { - "name": "splits", - "baseName": "splits", - "type": "Array" - }, - { - "name": "storePaymentMethod", - "baseName": "storePaymentMethod", - "type": "boolean" - }, - { - "name": "telephoneNumber", - "baseName": "telephoneNumber", - "type": "string" - }, - { - "name": "threeDSAuthenticationOnly", - "baseName": "threeDSAuthenticationOnly", - "type": "boolean" - }, - { - "name": "trustedShopper", - "baseName": "trustedShopper", - "type": "boolean" - } ]; - - static getAttributeTypeMap() { - return CreateCheckoutSessionResponse.attributeTypeMap; - } } export namespace CreateCheckoutSessionResponse { export enum ChannelEnum { - IOs = 'iOS', + IOS = 'iOS', Android = 'Android', Web = 'Web' } @@ -473,6 +213,6 @@ export namespace CreateCheckoutSessionResponse { Ecommerce = 'Ecommerce', ContAuth = 'ContAuth', Moto = 'Moto', - Pos = 'POS' + POS = 'POS' } } diff --git a/src/typings/checkout/createPaymentAmountUpdateRequest.ts b/src/typings/checkout/createPaymentAmountUpdateRequest.ts index 57d131d..2f72bd4 100644 --- a/src/typings/checkout/createPaymentAmountUpdateRequest.ts +++ b/src/typings/checkout/createPaymentAmountUpdateRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; import { Split } from './split'; @@ -51,39 +31,6 @@ export class CreatePaymentAmountUpdateRequest { * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). */ 'splits'?: Array; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "reason", - "baseName": "reason", - "type": "CreatePaymentAmountUpdateRequest.ReasonEnum" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "splits", - "baseName": "splits", - "type": "Array" - } ]; - - static getAttributeTypeMap() { - return CreatePaymentAmountUpdateRequest.attributeTypeMap; - } } export namespace CreatePaymentAmountUpdateRequest { diff --git a/src/typings/checkout/createPaymentCancelRequest.ts b/src/typings/checkout/createPaymentCancelRequest.ts index 5c6bbef..d1608d9 100644 --- a/src/typings/checkout/createPaymentCancelRequest.ts +++ b/src/typings/checkout/createPaymentCancelRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class CreatePaymentCancelRequest { /** * The merchant account that is used to process the payment. @@ -40,23 +20,5 @@ export class CreatePaymentCancelRequest { * Your reference for the cancel request. Maximum length: 80 characters. */ 'reference'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CreatePaymentCancelRequest.attributeTypeMap; - } } diff --git a/src/typings/checkout/createPaymentCaptureRequest.ts b/src/typings/checkout/createPaymentCaptureRequest.ts index 5f8b077..c47be87 100644 --- a/src/typings/checkout/createPaymentCaptureRequest.ts +++ b/src/typings/checkout/createPaymentCaptureRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,13 +10,17 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; +import { LineItem } from './lineItem'; import { Split } from './split'; export class CreatePaymentCaptureRequest { 'amount': Amount; /** + * Price and product information of the captured items, required for [partial captures](https://docs.adyen.com/online-payments/capture#partial-capture). > This field is required for partial captures with 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Zip and Atome. + */ + 'lineItems'?: Array; + /** * The merchant account that is used to process the payment. */ 'merchantAccount': string; @@ -47,33 +32,5 @@ export class CreatePaymentCaptureRequest { * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). */ 'splits'?: Array; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "splits", - "baseName": "splits", - "type": "Array" - } ]; - - static getAttributeTypeMap() { - return CreatePaymentCaptureRequest.attributeTypeMap; - } } diff --git a/src/typings/checkout/createPaymentLinkRequest.ts b/src/typings/checkout/createPaymentLinkRequest.ts index 841c33c..3fd2cdd 100644 --- a/src/typings/checkout/createPaymentLinkRequest.ts +++ b/src/typings/checkout/createPaymentLinkRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Address } from './address'; import { Amount } from './amount'; import { ApplicationInfo } from './applicationInfo'; @@ -52,11 +32,19 @@ export class CreatePaymentLinkRequest { */ 'blockedPaymentMethods'?: Array; /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + 'captureDelayHours'?: number; + /** * The shopper\'s two-letter country code. */ 'countryCode'?: string; /** - * The date and time the purchased goods should be delivered. + * The shopper\'s date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + 'dateOfBirth'?: Date; + /** + * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. */ 'deliverAt'?: Date; 'deliveryAddress'?: Address; @@ -65,7 +53,7 @@ export class CreatePaymentLinkRequest { */ 'description'?: string; /** - * The date that the payment link expires, in ISO 8601 format. For example `2019-11-23T12:25:28Z`, or `2020-05-27T20:25:28+08:00`. Maximum expiry date should be 70 days from when the payment link is created. If not provided, the default expiry is set to 24 hours after the payment link is created. + * The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created. */ 'expiresAt'?: string; /** @@ -77,6 +65,10 @@ export class CreatePaymentLinkRequest { */ 'lineItems'?: Array; /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + 'mcc'?: string; + /** * The merchant account identifier for which the payment link is created. */ 'merchantAccount': string; @@ -97,7 +89,7 @@ export class CreatePaymentLinkRequest { */ 'reference': string; /** - * List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/online-payments/pay-by-link/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper\'s email address. * **shopperName** – The shopper\'s full name. * **telephoneNumber** – The shopper\'s phone number. + * List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper\'s email address. * **shopperName** – The shopper\'s full name. * **telephoneNumber** – The shopper\'s phone number. */ 'requiredShopperFields'?: Array; /** @@ -123,6 +115,18 @@ export class CreatePaymentLinkRequest { */ 'shopperReference'?: string; /** + * The text to be shown on the shopper\'s bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , \' _ - ? + * /_**. + */ + 'shopperStatement'?: string; + /** + * The shopper\'s social security number. + */ + 'socialSecurityNumber'?: string; + /** + * Boolean value indicating whether the card payment method should be split into separate debit and credit options. + */ + 'splitCardFundingSources'?: boolean; + /** * An array of objects specifying how the payment should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). */ 'splits'?: Array; @@ -131,7 +135,7 @@ export class CreatePaymentLinkRequest { */ 'store'?: string; /** - * Indicates if the details of the payment method will be stored for the shopper. Possible values:* **disabled** – No details will be stored.* **askForConsent** – If the `shopperReference` is provided the shopper can decide whether or not the details will be stored.* **enabled** – If the `shopperReference` is provided the details will be stored without asking consent to the shopper. + * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. */ 'storePaymentMethodMode'?: CreatePaymentLinkRequest.StorePaymentMethodModeEnum; /** @@ -139,167 +143,9 @@ export class CreatePaymentLinkRequest { */ 'telephoneNumber'?: string; /** - * Use to set a theme to shopper other than default + * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area. */ 'themeId'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "allowedPaymentMethods", - "baseName": "allowedPaymentMethods", - "type": "Array" - }, - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "applicationInfo", - "baseName": "applicationInfo", - "type": "ApplicationInfo" - }, - { - "name": "billingAddress", - "baseName": "billingAddress", - "type": "Address" - }, - { - "name": "blockedPaymentMethods", - "baseName": "blockedPaymentMethods", - "type": "Array" - }, - { - "name": "countryCode", - "baseName": "countryCode", - "type": "string" - }, - { - "name": "deliverAt", - "baseName": "deliverAt", - "type": "Date" - }, - { - "name": "deliveryAddress", - "baseName": "deliveryAddress", - "type": "Address" - }, - { - "name": "description", - "baseName": "description", - "type": "string" - }, - { - "name": "expiresAt", - "baseName": "expiresAt", - "type": "string" - }, - { - "name": "installmentOptions", - "baseName": "installmentOptions", - "type": "{ [key: string]: InstallmentOption; }" - }, - { - "name": "lineItems", - "baseName": "lineItems", - "type": "Array" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "merchantOrderReference", - "baseName": "merchantOrderReference", - "type": "string" - }, - { - "name": "metadata", - "baseName": "metadata", - "type": "{ [key: string]: string; }" - }, - { - "name": "recurringProcessingModel", - "baseName": "recurringProcessingModel", - "type": "CreatePaymentLinkRequest.RecurringProcessingModelEnum" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "requiredShopperFields", - "baseName": "requiredShopperFields", - "type": "Array" - }, - { - "name": "returnUrl", - "baseName": "returnUrl", - "type": "string" - }, - { - "name": "reusable", - "baseName": "reusable", - "type": "boolean" - }, - { - "name": "riskData", - "baseName": "riskData", - "type": "RiskData" - }, - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "shopperLocale", - "baseName": "shopperLocale", - "type": "string" - }, - { - "name": "shopperName", - "baseName": "shopperName", - "type": "Name" - }, - { - "name": "shopperReference", - "baseName": "shopperReference", - "type": "string" - }, - { - "name": "splits", - "baseName": "splits", - "type": "Array" - }, - { - "name": "store", - "baseName": "store", - "type": "string" - }, - { - "name": "storePaymentMethodMode", - "baseName": "storePaymentMethodMode", - "type": "CreatePaymentLinkRequest.StorePaymentMethodModeEnum" - }, - { - "name": "telephoneNumber", - "baseName": "telephoneNumber", - "type": "string" - }, - { - "name": "themeId", - "baseName": "themeId", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CreatePaymentLinkRequest.attributeTypeMap; - } } export namespace CreatePaymentLinkRequest { diff --git a/src/typings/checkout/createPaymentRefundRequest.ts b/src/typings/checkout/createPaymentRefundRequest.ts index 8a6d088..3a4e01e 100644 --- a/src/typings/checkout/createPaymentRefundRequest.ts +++ b/src/typings/checkout/createPaymentRefundRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,13 +10,17 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; +import { LineItem } from './lineItem'; import { Split } from './split'; export class CreatePaymentRefundRequest { 'amount': Amount; /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Zip and Atome. + */ + 'lineItems'?: Array; + /** * The merchant account that is used to process the payment. */ 'merchantAccount': string; @@ -47,33 +32,5 @@ export class CreatePaymentRefundRequest { * An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). */ 'splits'?: Array; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "splits", - "baseName": "splits", - "type": "Array" - } ]; - - static getAttributeTypeMap() { - return CreatePaymentRefundRequest.attributeTypeMap; - } } diff --git a/src/typings/checkout/createPaymentReversalRequest.ts b/src/typings/checkout/createPaymentReversalRequest.ts index 7f0ee91..2562126 100644 --- a/src/typings/checkout/createPaymentReversalRequest.ts +++ b/src/typings/checkout/createPaymentReversalRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class CreatePaymentReversalRequest { /** * The merchant account that is used to process the payment. @@ -40,23 +20,5 @@ export class CreatePaymentReversalRequest { * Your reference for the reversal request. Maximum length: 80 characters. */ 'reference'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CreatePaymentReversalRequest.attributeTypeMap; - } } diff --git a/src/typings/checkout/createStandalonePaymentCancelRequest.ts b/src/typings/checkout/createStandalonePaymentCancelRequest.ts index bcb08fc..3eb7148 100644 --- a/src/typings/checkout/createStandalonePaymentCancelRequest.ts +++ b/src/typings/checkout/createStandalonePaymentCancelRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class CreateStandalonePaymentCancelRequest { /** * The merchant account that is used to process the payment. @@ -44,28 +24,5 @@ export class CreateStandalonePaymentCancelRequest { * Your reference for the cancel request. Maximum length: 80 characters. */ 'reference'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "paymentReference", - "baseName": "paymentReference", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return CreateStandalonePaymentCancelRequest.attributeTypeMap; - } } diff --git a/src/typings/checkout/detailsRequest.ts b/src/typings/checkout/detailsRequest.ts index 413b9e3..b89a283 100644 --- a/src/typings/checkout/detailsRequest.ts +++ b/src/typings/checkout/detailsRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { PaymentCompletionDetails } from './paymentCompletionDetails'; export class DetailsRequest { @@ -42,28 +22,5 @@ export class DetailsRequest { * Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously. */ 'threeDSAuthenticationOnly'?: boolean; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "details", - "baseName": "details", - "type": "PaymentCompletionDetails" - }, - { - "name": "paymentData", - "baseName": "paymentData", - "type": "string" - }, - { - "name": "threeDSAuthenticationOnly", - "baseName": "threeDSAuthenticationOnly", - "type": "boolean" - } ]; - - static getAttributeTypeMap() { - return DetailsRequest.attributeTypeMap; - } } diff --git a/src/typings/checkout/deviceRenderOptions.ts b/src/typings/checkout/deviceRenderOptions.ts index cb8b872..c433edb 100644 --- a/src/typings/checkout/deviceRenderOptions.ts +++ b/src/typings/checkout/deviceRenderOptions.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class DeviceRenderOptions { /** * Supported SDK interface types. Allowed values: * native * html * both @@ -40,24 +20,6 @@ export class DeviceRenderOptions { * UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect */ 'sdkUiType'?: Array; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "sdkInterface", - "baseName": "sdkInterface", - "type": "DeviceRenderOptions.SdkInterfaceEnum" - }, - { - "name": "sdkUiType", - "baseName": "sdkUiType", - "type": "Array" - } ]; - - static getAttributeTypeMap() { - return DeviceRenderOptions.attributeTypeMap; - } } export namespace DeviceRenderOptions { diff --git a/src/typings/checkout/dokuDetails.ts b/src/typings/checkout/dokuDetails.ts index ee53824..0fe4521 100644 --- a/src/typings/checkout/dokuDetails.ts +++ b/src/typings/checkout/dokuDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class DokuDetails { /** * The shopper\'s first name. @@ -48,34 +28,6 @@ export class DokuDetails { * **doku** */ 'type': DokuDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "firstName", - "baseName": "firstName", - "type": "string" - }, - { - "name": "lastName", - "baseName": "lastName", - "type": "string" - }, - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "DokuDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return DokuDetails.attributeTypeMap; - } } export namespace DokuDetails { diff --git a/src/typings/checkout/donationResponse.ts b/src/typings/checkout/donationResponse.ts index 13d3ef5..8d2b16c 100644 --- a/src/typings/checkout/donationResponse.ts +++ b/src/typings/checkout/donationResponse.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; import { PaymentResponse } from './paymentResponse'; @@ -56,49 +36,6 @@ export class DonationResponse { * The status of the donation transaction. Possible values: * **completed** * **pending** * **refused** */ 'status'?: DonationResponse.StatusEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "donationAccount", - "baseName": "donationAccount", - "type": "string" - }, - { - "name": "id", - "baseName": "id", - "type": "string" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "payment", - "baseName": "payment", - "type": "PaymentResponse" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "status", - "baseName": "status", - "type": "DonationResponse.StatusEnum" - } ]; - - static getAttributeTypeMap() { - return DonationResponse.attributeTypeMap; - } } export namespace DonationResponse { diff --git a/src/typings/checkout/dotpayDetails.ts b/src/typings/checkout/dotpayDetails.ts index b1eaa8f..168836c 100644 --- a/src/typings/checkout/dotpayDetails.ts +++ b/src/typings/checkout/dotpayDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class DotpayDetails { /** * The Dotpay issuer value of the shopper\'s selected bank. Set this to an **id** of a Dotpay issuer to preselect it. @@ -40,24 +20,6 @@ export class DotpayDetails { * **dotpay** */ 'type'?: DotpayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "issuer", - "baseName": "issuer", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "DotpayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return DotpayDetails.attributeTypeMap; - } } export namespace DotpayDetails { diff --git a/src/typings/checkout/dragonpayDetails.ts b/src/typings/checkout/dragonpayDetails.ts index d2b1130..2c5931c 100644 --- a/src/typings/checkout/dragonpayDetails.ts +++ b/src/typings/checkout/dragonpayDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class DragonpayDetails { /** * The Dragonpay issuer value of the shopper\'s selected bank. Set this to an **id** of a Dragonpay issuer to preselect it. @@ -44,29 +24,6 @@ export class DragonpayDetails { * **dragonpay** */ 'type': DragonpayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "issuer", - "baseName": "issuer", - "type": "string" - }, - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "DragonpayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return DragonpayDetails.attributeTypeMap; - } } export namespace DragonpayDetails { diff --git a/src/typings/checkout/econtextVoucherDetails.ts b/src/typings/checkout/econtextVoucherDetails.ts index d4e0d01..3a92e83 100644 --- a/src/typings/checkout/econtextVoucherDetails.ts +++ b/src/typings/checkout/econtextVoucherDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class EcontextVoucherDetails { /** * The shopper\'s first name. @@ -52,39 +32,6 @@ export class EcontextVoucherDetails { * **econtextvoucher** */ 'type': EcontextVoucherDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "firstName", - "baseName": "firstName", - "type": "string" - }, - { - "name": "lastName", - "baseName": "lastName", - "type": "string" - }, - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "telephoneNumber", - "baseName": "telephoneNumber", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "EcontextVoucherDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return EcontextVoucherDetails.attributeTypeMap; - } } export namespace EcontextVoucherDetails { diff --git a/src/typings/checkout/entercashDetails.ts b/src/typings/checkout/entercashDetails.ts deleted file mode 100644 index 6100603..0000000 --- a/src/typings/checkout/entercashDetails.ts +++ /dev/null @@ -1,65 +0,0 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` - * - * The version of the OpenAPI document: 67 - * Contact: developer-experience@adyen.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -export class EntercashDetails { - /** - * The issuer id of the shopper\'s selected bank. - */ - 'issuer': string; - /** - * **entercash** - */ - 'type': EntercashDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "issuer", - "baseName": "issuer", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "EntercashDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return EntercashDetails.attributeTypeMap; - } -} - -export namespace EntercashDetails { - export enum TypeEnum { - Entercash = 'entercash' - } -} diff --git a/src/typings/checkout/externalPlatform.ts b/src/typings/checkout/externalPlatform.ts index 68c7b1f..87f764f 100644 --- a/src/typings/checkout/externalPlatform.ts +++ b/src/typings/checkout/externalPlatform.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class ExternalPlatform { /** * External platform integrator. @@ -44,28 +24,5 @@ export class ExternalPlatform { * Version of the field. For example, Version of External Platform. */ 'version'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "integrator", - "baseName": "integrator", - "type": "string" - }, - { - "name": "name", - "baseName": "name", - "type": "string" - }, - { - "name": "version", - "baseName": "version", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ExternalPlatform.attributeTypeMap; - } } diff --git a/src/typings/checkout/forexQuote.ts b/src/typings/checkout/forexQuote.ts index a577f33..b230662 100644 --- a/src/typings/checkout/forexQuote.ts +++ b/src/typings/checkout/forexQuote.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; export class ForexQuote { @@ -69,73 +49,5 @@ export class ForexQuote { * The date until which the forex quote is valid. */ 'validTill': Date; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "account", - "baseName": "account", - "type": "string" - }, - { - "name": "accountType", - "baseName": "accountType", - "type": "string" - }, - { - "name": "baseAmount", - "baseName": "baseAmount", - "type": "Amount" - }, - { - "name": "basePoints", - "baseName": "basePoints", - "type": "number" - }, - { - "name": "buy", - "baseName": "buy", - "type": "Amount" - }, - { - "name": "interbank", - "baseName": "interbank", - "type": "Amount" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "sell", - "baseName": "sell", - "type": "Amount" - }, - { - "name": "signature", - "baseName": "signature", - "type": "string" - }, - { - "name": "source", - "baseName": "source", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "string" - }, - { - "name": "validTill", - "baseName": "validTill", - "type": "Date" - } ]; - - static getAttributeTypeMap() { - return ForexQuote.attributeTypeMap; - } } diff --git a/src/typings/checkout/fraudCheckResult.ts b/src/typings/checkout/fraudCheckResult.ts index 1c5291e..47b6ffd 100644 --- a/src/typings/checkout/fraudCheckResult.ts +++ b/src/typings/checkout/fraudCheckResult.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class FraudCheckResult { /** * The fraud score generated by the risk check. @@ -44,28 +24,5 @@ export class FraudCheckResult { * The name of the risk check. */ 'name': string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "accountScore", - "baseName": "accountScore", - "type": "number" - }, - { - "name": "checkId", - "baseName": "checkId", - "type": "number" - }, - { - "name": "name", - "baseName": "name", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return FraudCheckResult.attributeTypeMap; - } } diff --git a/src/typings/checkout/fraudResult.ts b/src/typings/checkout/fraudResult.ts index 27480a4..a0a38b6 100644 --- a/src/typings/checkout/fraudResult.ts +++ b/src/typings/checkout/fraudResult.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { FraudCheckResult } from './fraudCheckResult'; export class FraudResult { @@ -41,23 +21,5 @@ export class FraudResult { * The result of the individual risk checks. */ 'results'?: Array; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "accountScore", - "baseName": "accountScore", - "type": "number" - }, - { - "name": "results", - "baseName": "results", - "type": "Array" - } ]; - - static getAttributeTypeMap() { - return FraudResult.attributeTypeMap; - } } diff --git a/src/typings/checkout/genericIssuerPaymentMethodDetails.ts b/src/typings/checkout/genericIssuerPaymentMethodDetails.ts index 07913a7..e78058a 100644 --- a/src/typings/checkout/genericIssuerPaymentMethodDetails.ts +++ b/src/typings/checkout/genericIssuerPaymentMethodDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class GenericIssuerPaymentMethodDetails { /** * The issuer id of the shopper\'s selected bank. @@ -48,38 +28,12 @@ export class GenericIssuerPaymentMethodDetails { * **genericissuer** */ 'type': GenericIssuerPaymentMethodDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "issuer", - "baseName": "issuer", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "GenericIssuerPaymentMethodDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return GenericIssuerPaymentMethodDetails.attributeTypeMap; - } } export namespace GenericIssuerPaymentMethodDetails { export enum TypeEnum { - Eps = 'eps' + Eps = 'eps', + OnlineBankingSK = 'onlineBanking_SK', + OnlineBankingCZ = 'onlineBanking_CZ' } } diff --git a/src/typings/checkout/giropayDetails.ts b/src/typings/checkout/giropayDetails.ts index 68a05f4..444861f 100644 --- a/src/typings/checkout/giropayDetails.ts +++ b/src/typings/checkout/giropayDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class GiropayDetails { /** * This is the `recurringDetailReference` returned in the response when you created the token. @@ -44,29 +24,6 @@ export class GiropayDetails { * **giropay** */ 'type'?: GiropayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "GiropayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return GiropayDetails.attributeTypeMap; - } } export namespace GiropayDetails { diff --git a/src/typings/checkout/googlePayDetails.ts b/src/typings/checkout/googlePayDetails.ts index 1637b88..6315864 100644 --- a/src/typings/checkout/googlePayDetails.ts +++ b/src/typings/checkout/googlePayDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class GooglePayDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. @@ -52,39 +32,6 @@ export class GooglePayDetails { * **googlepay**, **paywithgoogle** */ 'type'?: GooglePayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "fundingSource", - "baseName": "fundingSource", - "type": "GooglePayDetails.FundingSourceEnum" - }, - { - "name": "googlePayToken", - "baseName": "googlePayToken", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "GooglePayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return GooglePayDetails.attributeTypeMap; - } } export namespace GooglePayDetails { diff --git a/src/typings/checkout/idealDetails.ts b/src/typings/checkout/idealDetails.ts index bb29a0b..a511d17 100644 --- a/src/typings/checkout/idealDetails.ts +++ b/src/typings/checkout/idealDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class IdealDetails { /** * The iDEAL issuer value of the shopper\'s selected bank. Set this to an **id** of an iDEAL issuer to preselect it. @@ -48,34 +28,6 @@ export class IdealDetails { * **ideal** */ 'type'?: IdealDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "issuer", - "baseName": "issuer", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "IdealDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return IdealDetails.attributeTypeMap; - } } export namespace IdealDetails { diff --git a/src/typings/checkout/inputDetail.ts b/src/typings/checkout/inputDetail.ts index c0b0ddd..68ae939 100644 --- a/src/typings/checkout/inputDetail.ts +++ b/src/typings/checkout/inputDetail.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Item } from './item'; import { SubInputDetail } from './subInputDetail'; @@ -70,58 +50,5 @@ export class InputDetail { * The value can be pre-filled, if available. */ 'value'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "configuration", - "baseName": "configuration", - "type": "{ [key: string]: string; }" - }, - { - "name": "details", - "baseName": "details", - "type": "Array" - }, - { - "name": "inputDetails", - "baseName": "inputDetails", - "type": "Array" - }, - { - "name": "itemSearchUrl", - "baseName": "itemSearchUrl", - "type": "string" - }, - { - "name": "items", - "baseName": "items", - "type": "Array" - }, - { - "name": "key", - "baseName": "key", - "type": "string" - }, - { - "name": "optional", - "baseName": "optional", - "type": "boolean" - }, - { - "name": "type", - "baseName": "type", - "type": "string" - }, - { - "name": "value", - "baseName": "value", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return InputDetail.attributeTypeMap; - } } diff --git a/src/typings/checkout/installmentOption.ts b/src/typings/checkout/installmentOption.ts index ef8a377..78b4f48 100644 --- a/src/typings/checkout/installmentOption.ts +++ b/src/typings/checkout/installmentOption.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class InstallmentOption { /** * The maximum number of installments offered for this payment method. @@ -48,34 +28,6 @@ export class InstallmentOption { * An array of the number of installments that the shopper can choose from. For example, **[2,3,5]**. This cannot be specified simultaneously with `maxValue`. */ 'values'?: Array; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "maxValue", - "baseName": "maxValue", - "type": "number" - }, - { - "name": "plans", - "baseName": "plans", - "type": "Array" - }, - { - "name": "preselectedValue", - "baseName": "preselectedValue", - "type": "number" - }, - { - "name": "values", - "baseName": "values", - "type": "Array" - } ]; - - static getAttributeTypeMap() { - return InstallmentOption.attributeTypeMap; - } } export namespace InstallmentOption { diff --git a/src/typings/checkout/installments.ts b/src/typings/checkout/installments.ts index fc80ad6..d9749c6 100644 --- a/src/typings/checkout/installments.ts +++ b/src/typings/checkout/installments.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,34 +11,15 @@ */ - export class Installments { /** - * Defines the type of installment plan. If not set, defaults to **regular**. Possible values: * **regular** * **revolving** + * The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). By default, this is set to **regular**. Possible values: * **regular** * **revolving** */ 'plan'?: Installments.PlanEnum; /** * Defines the number of installments. Its value needs to be greater than zero. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. */ 'value': number; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "plan", - "baseName": "plan", - "type": "Installments.PlanEnum" - }, - { - "name": "value", - "baseName": "value", - "type": "number" - } ]; - - static getAttributeTypeMap() { - return Installments.attributeTypeMap; - } } export namespace Installments { diff --git a/src/typings/checkout/installmentsNumber.ts b/src/typings/checkout/installmentsNumber.ts index c8dfe9d..4cc893f 100644 --- a/src/typings/checkout/installmentsNumber.ts +++ b/src/typings/checkout/installmentsNumber.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,24 +11,10 @@ */ - export class InstallmentsNumber { /** * Maximum number of installments */ 'maxNumberOfInstallments': number; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "maxNumberOfInstallments", - "baseName": "maxNumberOfInstallments", - "type": "number" - } ]; - - static getAttributeTypeMap() { - return InstallmentsNumber.attributeTypeMap; - } } diff --git a/src/typings/checkout/item.ts b/src/typings/checkout/item.ts index 28ef452..ccbc229 100644 --- a/src/typings/checkout/item.ts +++ b/src/typings/checkout/item.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class Item { /** * The value to provide in the result. @@ -40,23 +20,5 @@ export class Item { * The display name. */ 'name'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "id", - "baseName": "id", - "type": "string" - }, - { - "name": "name", - "baseName": "name", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return Item.attributeTypeMap; - } } diff --git a/src/typings/checkout/klarnaDetails.ts b/src/typings/checkout/klarnaDetails.ts index 82dcc66..1eb32e6 100644 --- a/src/typings/checkout/klarnaDetails.ts +++ b/src/typings/checkout/klarnaDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class KlarnaDetails { /** * The address where to send the invoice. @@ -56,44 +36,6 @@ export class KlarnaDetails { * **klarna** */ 'type': KlarnaDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "billingAddress", - "baseName": "billingAddress", - "type": "string" - }, - { - "name": "deliveryAddress", - "baseName": "deliveryAddress", - "type": "string" - }, - { - "name": "personalDetails", - "baseName": "personalDetails", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "KlarnaDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return KlarnaDetails.attributeTypeMap; - } } export namespace KlarnaDetails { diff --git a/src/typings/checkout/lianLianPayDetails.ts b/src/typings/checkout/lianLianPayDetails.ts deleted file mode 100644 index ec66569..0000000 --- a/src/typings/checkout/lianLianPayDetails.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` - * - * The version of the OpenAPI document: 68 - * Contact: developer-experience@adyen.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -export class LianLianPayDetails { - 'telephoneNumber': string; - /** - * **lianlianpay** - */ - 'type': LianLianPayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "telephoneNumber", - "baseName": "telephoneNumber", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "LianLianPayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return LianLianPayDetails.attributeTypeMap; - } -} - -export namespace LianLianPayDetails { - export enum TypeEnum { - Enterprise = 'lianlianpay_ebanking_enterprise', - Credit = 'lianlianpay_ebanking_credit', - Debit = 'lianlianpay_ebanking_debit' - } -} diff --git a/src/typings/checkout/lineItem.ts b/src/typings/checkout/lineItem.ts index d49c5bb..83ef5cb 100644 --- a/src/typings/checkout/lineItem.ts +++ b/src/typings/checkout/lineItem.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class LineItem { /** * Item amount excluding the tax, in minor units. @@ -72,63 +52,5 @@ export class LineItem { * Tax percentage, in minor units. */ 'taxPercentage'?: number; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "amountExcludingTax", - "baseName": "amountExcludingTax", - "type": "number" - }, - { - "name": "amountIncludingTax", - "baseName": "amountIncludingTax", - "type": "number" - }, - { - "name": "description", - "baseName": "description", - "type": "string" - }, - { - "name": "id", - "baseName": "id", - "type": "string" - }, - { - "name": "imageUrl", - "baseName": "imageUrl", - "type": "string" - }, - { - "name": "itemCategory", - "baseName": "itemCategory", - "type": "string" - }, - { - "name": "productUrl", - "baseName": "productUrl", - "type": "string" - }, - { - "name": "quantity", - "baseName": "quantity", - "type": "number" - }, - { - "name": "taxAmount", - "baseName": "taxAmount", - "type": "number" - }, - { - "name": "taxPercentage", - "baseName": "taxPercentage", - "type": "number" - } ]; - - static getAttributeTypeMap() { - return LineItem.attributeTypeMap; - } } diff --git a/src/typings/checkout/mandate.ts b/src/typings/checkout/mandate.ts index 9928cf9..73cf507 100644 --- a/src/typings/checkout/mandate.ts +++ b/src/typings/checkout/mandate.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,10 +11,9 @@ */ - export class Mandate { /** - * The billing amount(in minor units) of the recurring transactions. + * The billing amount (in minor units) of the recurring transactions. */ 'amount': string; /** @@ -64,54 +44,6 @@ export class Mandate { * Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date. */ 'startsAt'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "amount", - "baseName": "amount", - "type": "string" - }, - { - "name": "amountRule", - "baseName": "amountRule", - "type": "Mandate.AmountRuleEnum" - }, - { - "name": "billingAttemptsRule", - "baseName": "billingAttemptsRule", - "type": "Mandate.BillingAttemptsRuleEnum" - }, - { - "name": "billingDay", - "baseName": "billingDay", - "type": "string" - }, - { - "name": "endsAt", - "baseName": "endsAt", - "type": "string" - }, - { - "name": "frequency", - "baseName": "frequency", - "type": "Mandate.FrequencyEnum" - }, - { - "name": "remarks", - "baseName": "remarks", - "type": "string" - }, - { - "name": "startsAt", - "baseName": "startsAt", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return Mandate.attributeTypeMap; - } } export namespace Mandate { diff --git a/src/typings/checkout/masterpassDetails.ts b/src/typings/checkout/masterpassDetails.ts index c10a4fd..77471e8 100644 --- a/src/typings/checkout/masterpassDetails.ts +++ b/src/typings/checkout/masterpassDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class MasterpassDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. @@ -44,29 +24,6 @@ export class MasterpassDetails { * **masterpass** */ 'type'?: MasterpassDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "fundingSource", - "baseName": "fundingSource", - "type": "MasterpassDetails.FundingSourceEnum" - }, - { - "name": "masterpassTransactionId", - "baseName": "masterpassTransactionId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "MasterpassDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return MasterpassDetails.attributeTypeMap; - } } export namespace MasterpassDetails { diff --git a/src/typings/checkout/mbwayDetails.ts b/src/typings/checkout/mbwayDetails.ts index 944a460..8e44438 100644 --- a/src/typings/checkout/mbwayDetails.ts +++ b/src/typings/checkout/mbwayDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class MbwayDetails { 'shopperEmail': string; 'telephoneNumber': string; @@ -38,29 +18,6 @@ export class MbwayDetails { * **mbway** */ 'type'?: MbwayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "telephoneNumber", - "baseName": "telephoneNumber", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "MbwayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return MbwayDetails.attributeTypeMap; - } } export namespace MbwayDetails { diff --git a/src/typings/checkout/merchantDevice.ts b/src/typings/checkout/merchantDevice.ts index 81826fd..56b2b6c 100644 --- a/src/typings/checkout/merchantDevice.ts +++ b/src/typings/checkout/merchantDevice.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class MerchantDevice { /** * Operating system running on the merchant device. @@ -44,28 +24,5 @@ export class MerchantDevice { * Merchant device reference. */ 'reference'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "os", - "baseName": "os", - "type": "string" - }, - { - "name": "osVersion", - "baseName": "osVersion", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return MerchantDevice.attributeTypeMap; - } } diff --git a/src/typings/checkout/merchantRiskIndicator.ts b/src/typings/checkout/merchantRiskIndicator.ts index 11512b9..e5983c0 100644 --- a/src/typings/checkout/merchantRiskIndicator.ts +++ b/src/typings/checkout/merchantRiskIndicator.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; export class MerchantRiskIndicator { @@ -46,7 +26,7 @@ export class MerchantRiskIndicator { */ 'deliveryEmail'?: string; /** - * Merchant’s assessment of the level of fraud risk for the specific authentication for both the cardholder and the authentication being conducted. + * For Electronic delivery, the email address to which the merchandise was delivered. Maximum length: 254 characters. */ 'deliveryEmailAddress'?: string; /** @@ -59,7 +39,7 @@ export class MerchantRiskIndicator { */ 'giftCardCount'?: number; /** - * For prepaid or gift card purchase, ISO 4217 three-digit currency code of the gift card, other than those listed in Table A.5. + * For prepaid or gift card purchase, [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) three-digit currency code of the gift card, other than those listed in Table A.5 of the EMVCo 3D Secure Protocol and Core Functions Specification. */ 'giftCardCurr'?: string; /** @@ -86,84 +66,6 @@ export class MerchantRiskIndicator { * Indicates shipping method chosen for the transaction. */ 'shipIndicator'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "addressMatch", - "baseName": "addressMatch", - "type": "boolean" - }, - { - "name": "deliveryAddressIndicator", - "baseName": "deliveryAddressIndicator", - "type": "MerchantRiskIndicator.DeliveryAddressIndicatorEnum" - }, - { - "name": "deliveryEmail", - "baseName": "deliveryEmail", - "type": "string" - }, - { - "name": "deliveryEmailAddress", - "baseName": "deliveryEmailAddress", - "type": "string" - }, - { - "name": "deliveryTimeframe", - "baseName": "deliveryTimeframe", - "type": "MerchantRiskIndicator.DeliveryTimeframeEnum" - }, - { - "name": "giftCardAmount", - "baseName": "giftCardAmount", - "type": "Amount" - }, - { - "name": "giftCardCount", - "baseName": "giftCardCount", - "type": "number" - }, - { - "name": "giftCardCurr", - "baseName": "giftCardCurr", - "type": "string" - }, - { - "name": "preOrderDate", - "baseName": "preOrderDate", - "type": "Date" - }, - { - "name": "preOrderPurchase", - "baseName": "preOrderPurchase", - "type": "boolean" - }, - { - "name": "preOrderPurchaseInd", - "baseName": "preOrderPurchaseInd", - "type": "string" - }, - { - "name": "reorderItems", - "baseName": "reorderItems", - "type": "boolean" - }, - { - "name": "reorderItemsInd", - "baseName": "reorderItemsInd", - "type": "string" - }, - { - "name": "shipIndicator", - "baseName": "shipIndicator", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return MerchantRiskIndicator.attributeTypeMap; - } } export namespace MerchantRiskIndicator { diff --git a/src/typings/checkout/mobilePayDetails.ts b/src/typings/checkout/mobilePayDetails.ts index 7ad70f6..081c7e6 100644 --- a/src/typings/checkout/mobilePayDetails.ts +++ b/src/typings/checkout/mobilePayDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,25 +11,11 @@ */ - export class MobilePayDetails { /** * **mobilepay** */ 'type'?: MobilePayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "type", - "baseName": "type", - "type": "MobilePayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return MobilePayDetails.attributeTypeMap; - } } export namespace MobilePayDetails { diff --git a/src/typings/checkout/models.ts b/src/typings/checkout/models.ts index 26eaf7e..1abafa5 100644 --- a/src/typings/checkout/models.ts +++ b/src/typings/checkout/models.ts @@ -1,23 +1,3 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - - export * from './accountInfo'; export * from './acctInfo'; export * from './achDetails'; @@ -43,6 +23,7 @@ export * from './amount'; export * from './androidPayDetails'; export * from './applePayDetails'; export * from './applicationInfo'; +export * from './authenticationData'; export * from './avs'; export * from './bacsDirectDebitDetails'; export * from './bankAccount'; @@ -50,7 +31,10 @@ export * from './billDeskDetails'; export * from './blikDetails'; export * from './browserInfo'; export * from './card'; +export * from './cardBrandDetails'; export * from './cardDetails'; +export * from './cardDetailsRequest'; +export * from './cardDetailsResponse'; export * from './cellulantDetails'; export * from './checkoutAwaitAction'; export * from './checkoutBalanceCheckRequest'; @@ -104,7 +88,6 @@ export * from './installments'; export * from './installmentsNumber'; export * from './item'; export * from './klarnaDetails'; -export * from './lianLianPayDetails'; export * from './lineItem'; export * from './mandate'; export * from './masterpassDetails'; @@ -125,7 +108,7 @@ export * from './paymentCompletionDetails'; export * from './paymentDetails'; export * from './paymentDetailsResponse'; export * from './paymentDonationRequest'; -export * from './paymentLinkResource'; +export * from './paymentLinkResponse'; export * from './paymentMethod'; export * from './paymentMethodGroup'; export * from './paymentMethodIssuer'; @@ -148,11 +131,11 @@ export * from './responseAdditionalData3DSecure'; export * from './responseAdditionalDataBillingAddress'; export * from './responseAdditionalDataCard'; export * from './responseAdditionalDataCommon'; -export * from './responseAdditionalDataDeliveryAddress'; export * from './responseAdditionalDataInstallments'; export * from './responseAdditionalDataNetworkTokens'; export * from './responseAdditionalDataOpi'; export * from './responseAdditionalDataSepa'; +export * from './responsePaymentMethod'; export * from './riskData'; export * from './sDKEphemPubKey'; export * from './samsungPayDetails'; @@ -171,616 +154,15 @@ export * from './subInputDetail'; export * from './threeDS2RequestData'; export * from './threeDS2ResponseData'; export * from './threeDS2Result'; +export * from './threeDSRequestData'; export * from './threeDSRequestorAuthenticationInfo'; export * from './threeDSRequestorPriorAuthenticationInfo'; export * from './threeDSecureData'; export * from './updatePaymentLinkRequest'; -export * from './upiDetails'; +export * from './upiCollectDetails'; +export * from './upiIntentDetails'; export * from './vippsDetails'; export * from './visaCheckoutDetails'; export * from './weChatPayDetails'; export * from './weChatPayMiniProgramDetails'; export * from './zipDetails'; - -import * as fs from 'fs'; - -export interface RequestDetailedFile { - value: Buffer; - options?: { - filename?: string; - contentType?: string; - } -} - -export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile; - - -import { AccountInfo } from './accountInfo'; -import { AcctInfo } from './acctInfo'; -import { AchDetails } from './achDetails'; -import { AdditionalData3DSecure } from './additionalData3DSecure'; -import { AdditionalDataAirline } from './additionalDataAirline'; -import { AdditionalDataCarRental } from './additionalDataCarRental'; -import { AdditionalDataCommon } from './additionalDataCommon'; -import { AdditionalDataLevel23 } from './additionalDataLevel23'; -import { AdditionalDataLodging } from './additionalDataLodging'; -import { AdditionalDataOpenInvoice } from './additionalDataOpenInvoice'; -import { AdditionalDataOpi } from './additionalDataOpi'; -import { AdditionalDataRatepay } from './additionalDataRatepay'; -import { AdditionalDataRetry } from './additionalDataRetry'; -import { AdditionalDataRisk } from './additionalDataRisk'; -import { AdditionalDataRiskStandalone } from './additionalDataRiskStandalone'; -import { AdditionalDataSubMerchant } from './additionalDataSubMerchant'; -import { AdditionalDataTemporaryServices } from './additionalDataTemporaryServices'; -import { AdditionalDataWallets } from './additionalDataWallets'; -import { Address } from './address'; -import { AfterpayDetails } from './afterpayDetails'; -import { AmazonPayDetails } from './amazonPayDetails'; -import { Amount } from './amount'; -import { AndroidPayDetails } from './androidPayDetails'; -import { ApplePayDetails } from './applePayDetails'; -import { ApplicationInfo } from './applicationInfo'; -import { Avs } from './avs'; -import { BacsDirectDebitDetails } from './bacsDirectDebitDetails'; -import { BankAccount } from './bankAccount'; -import { BillDeskDetails } from './billDeskDetails'; -import { BlikDetails } from './blikDetails'; -import { BrowserInfo } from './browserInfo'; -import { Card } from './card'; -import { CardDetails } from './cardDetails'; -import { CellulantDetails } from './cellulantDetails'; -import { CheckoutAwaitAction } from './checkoutAwaitAction'; -import { CheckoutBalanceCheckRequest } from './checkoutBalanceCheckRequest'; -import { CheckoutBalanceCheckResponse } from './checkoutBalanceCheckResponse'; -import { CheckoutBankTransferAction } from './checkoutBankTransferAction'; -import { CheckoutCancelOrderRequest } from './checkoutCancelOrderRequest'; -import { CheckoutCancelOrderResponse } from './checkoutCancelOrderResponse'; -import { CheckoutCreateOrderRequest } from './checkoutCreateOrderRequest'; -import { CheckoutCreateOrderResponse } from './checkoutCreateOrderResponse'; -import { CheckoutDonationAction } from './checkoutDonationAction'; -import { CheckoutOneTimePasscodeAction } from './checkoutOneTimePasscodeAction'; -import { CheckoutOrder } from './checkoutOrder'; -import { CheckoutOrderResponse } from './checkoutOrderResponse'; -import { CheckoutQrCodeAction } from './checkoutQrCodeAction'; -import { CheckoutRedirectAction } from './checkoutRedirectAction'; -import { CheckoutSDKAction } from './checkoutSDKAction'; -import { CheckoutThreeDS2Action } from './checkoutThreeDS2Action'; -import { CheckoutUtilityRequest } from './checkoutUtilityRequest'; -import { CheckoutUtilityResponse } from './checkoutUtilityResponse'; -import { CheckoutVoucherAction } from './checkoutVoucherAction'; -import { CommonField } from './commonField'; -import { Company } from './company'; -import { Configuration } from './configuration'; -import { CreateCheckoutSessionRequest } from './createCheckoutSessionRequest'; -import { CreateCheckoutSessionResponse } from './createCheckoutSessionResponse'; -import { CreatePaymentAmountUpdateRequest } from './createPaymentAmountUpdateRequest'; -import { CreatePaymentCancelRequest } from './createPaymentCancelRequest'; -import { CreatePaymentCaptureRequest } from './createPaymentCaptureRequest'; -import { CreatePaymentLinkRequest } from './createPaymentLinkRequest'; -import { CreatePaymentRefundRequest } from './createPaymentRefundRequest'; -import { CreatePaymentReversalRequest } from './createPaymentReversalRequest'; -import { CreateStandalonePaymentCancelRequest } from './createStandalonePaymentCancelRequest'; -import { DetailsRequest } from './detailsRequest'; -import { DeviceRenderOptions } from './deviceRenderOptions'; -import { DokuDetails } from './dokuDetails'; -import { DonationResponse } from './donationResponse'; -import { DotpayDetails } from './dotpayDetails'; -import { DragonpayDetails } from './dragonpayDetails'; -import { EcontextVoucherDetails } from './econtextVoucherDetails'; -import { ExternalPlatform } from './externalPlatform'; -import { ForexQuote } from './forexQuote'; -import { FraudCheckResult } from './fraudCheckResult'; -import { FraudResult } from './fraudResult'; -import { GenericIssuerPaymentMethodDetails } from './genericIssuerPaymentMethodDetails'; -import { GiropayDetails } from './giropayDetails'; -import { GooglePayDetails } from './googlePayDetails'; -import { IdealDetails } from './idealDetails'; -import { InputDetail } from './inputDetail'; -import { InstallmentOption } from './installmentOption'; -import { Installments } from './installments'; -import { InstallmentsNumber } from './installmentsNumber'; -import { Item } from './item'; -import { KlarnaDetails } from './klarnaDetails'; -import { LianLianPayDetails } from './lianLianPayDetails'; -import { LineItem } from './lineItem'; -import { Mandate } from './mandate'; -import { MasterpassDetails } from './masterpassDetails'; -import { MbwayDetails } from './mbwayDetails'; -import { MerchantDevice } from './merchantDevice'; -import { MerchantRiskIndicator } from './merchantRiskIndicator'; -import { MobilePayDetails } from './mobilePayDetails'; -import { MolPayDetails } from './molPayDetails'; -import { Name } from './name'; -import { OpenInvoiceDetails } from './openInvoiceDetails'; -import { PayPalDetails } from './payPalDetails'; -import { PayUUpiDetails } from './payUUpiDetails'; -import { PayWithGoogleDetails } from './payWithGoogleDetails'; -import { PaymentAmountUpdateResource } from './paymentAmountUpdateResource'; -import { PaymentCancelResource } from './paymentCancelResource'; -import { PaymentCaptureResource } from './paymentCaptureResource'; -import { PaymentCompletionDetails } from './paymentCompletionDetails'; -import { PaymentDetails } from './paymentDetails'; -import { PaymentDetailsResponse } from './paymentDetailsResponse'; -import { PaymentDonationRequest } from './paymentDonationRequest'; -import { PaymentLinkResource } from './paymentLinkResource'; -import { PaymentMethod } from './paymentMethod'; -import { PaymentMethodGroup } from './paymentMethodGroup'; -import { PaymentMethodIssuer } from './paymentMethodIssuer'; -import { PaymentMethodsRequest } from './paymentMethodsRequest'; -import { PaymentMethodsResponse } from './paymentMethodsResponse'; -import { PaymentRefundResource } from './paymentRefundResource'; -import { PaymentRequest } from './paymentRequest'; -import { PaymentResponse } from './paymentResponse'; -import { PaymentReversalResource } from './paymentReversalResource'; -import { PaymentSetupRequest } from './paymentSetupRequest'; -import { PaymentSetupResponse } from './paymentSetupResponse'; -import { PaymentVerificationRequest } from './paymentVerificationRequest'; -import { PaymentVerificationResponse } from './paymentVerificationResponse'; -import { Phone } from './phone'; -import { RatepayDetails } from './ratepayDetails'; -import { Recurring } from './recurring'; -import { RecurringDetail } from './recurringDetail'; -import { Redirect } from './redirect'; -import { ResponseAdditionalData3DSecure } from './responseAdditionalData3DSecure'; -import { ResponseAdditionalDataBillingAddress } from './responseAdditionalDataBillingAddress'; -import { ResponseAdditionalDataCard } from './responseAdditionalDataCard'; -import { ResponseAdditionalDataCommon } from './responseAdditionalDataCommon'; -import { ResponseAdditionalDataDeliveryAddress } from './responseAdditionalDataDeliveryAddress'; -import { ResponseAdditionalDataInstallments } from './responseAdditionalDataInstallments'; -import { ResponseAdditionalDataNetworkTokens } from './responseAdditionalDataNetworkTokens'; -import { ResponseAdditionalDataOpi } from './responseAdditionalDataOpi'; -import { ResponseAdditionalDataSepa } from './responseAdditionalDataSepa'; -import { RiskData } from './riskData'; -import { SDKEphemPubKey } from './sDKEphemPubKey'; -import { SamsungPayDetails } from './samsungPayDetails'; -import { SepaDirectDebitDetails } from './sepaDirectDebitDetails'; -import { ServiceError } from './serviceError'; -import { ServiceError2 } from './serviceError2'; -import { ShopperInput } from './shopperInput'; -import { ShopperInteractionDevice } from './shopperInteractionDevice'; -import { Split } from './split'; -import { SplitAmount } from './splitAmount'; -import { StandalonePaymentCancelResource } from './standalonePaymentCancelResource'; -import { StoredDetails } from './storedDetails'; -import { StoredPaymentMethod } from './storedPaymentMethod'; -import { StoredPaymentMethodDetails } from './storedPaymentMethodDetails'; -import { SubInputDetail } from './subInputDetail'; -import { ThreeDS2RequestData } from './threeDS2RequestData'; -import { ThreeDS2ResponseData } from './threeDS2ResponseData'; -import { ThreeDS2Result } from './threeDS2Result'; -import { ThreeDSRequestorAuthenticationInfo } from './threeDSRequestorAuthenticationInfo'; -import { ThreeDSRequestorPriorAuthenticationInfo } from './threeDSRequestorPriorAuthenticationInfo'; -import { ThreeDSecureData } from './threeDSecureData'; -import { UpdatePaymentLinkRequest } from './updatePaymentLinkRequest'; -import { UpiDetails } from './upiDetails'; -import { VippsDetails } from './vippsDetails'; -import { VisaCheckoutDetails } from './visaCheckoutDetails'; -import { WeChatPayDetails } from './weChatPayDetails'; -import { WeChatPayMiniProgramDetails } from './weChatPayMiniProgramDetails'; -import { ZipDetails } from './zipDetails'; - -/* tslint:disable:no-unused-variable */ -let primitives = [ - "string", - "boolean", - "double", - "integer", - "long", - "float", - "number", - "any" - ]; - -let enumsMap: {[index: string]: any} = { - "AccountInfo.AccountAgeIndicatorEnum": AccountInfo.AccountAgeIndicatorEnum, - "AccountInfo.AccountChangeIndicatorEnum": AccountInfo.AccountChangeIndicatorEnum, - "AccountInfo.AccountTypeEnum": AccountInfo.AccountTypeEnum, - "AccountInfo.DeliveryAddressUsageIndicatorEnum": AccountInfo.DeliveryAddressUsageIndicatorEnum, - "AccountInfo.PasswordChangeIndicatorEnum": AccountInfo.PasswordChangeIndicatorEnum, - "AccountInfo.PaymentAccountIndicatorEnum": AccountInfo.PaymentAccountIndicatorEnum, - "AchDetails.TypeEnum": AchDetails.TypeEnum, - "AdditionalDataCommon.IndustryUsageEnum": AdditionalDataCommon.IndustryUsageEnum, - "AfterpayDetails.TypeEnum": AfterpayDetails.TypeEnum, - "AmazonPayDetails.TypeEnum": AmazonPayDetails.TypeEnum, - "AndroidPayDetails.TypeEnum": AndroidPayDetails.TypeEnum, - "ApplePayDetails.FundingSourceEnum": ApplePayDetails.FundingSourceEnum, - "ApplePayDetails.TypeEnum": ApplePayDetails.TypeEnum, - "Avs.EnabledEnum": Avs.EnabledEnum, - "BacsDirectDebitDetails.TypeEnum": BacsDirectDebitDetails.TypeEnum, - "BillDeskDetails.TypeEnum": BillDeskDetails.TypeEnum, - "BlikDetails.TypeEnum": BlikDetails.TypeEnum, - "CardDetails.FundingSourceEnum": CardDetails.FundingSourceEnum, - "CardDetails.TypeEnum": CardDetails.TypeEnum, - "CellulantDetails.TypeEnum": CellulantDetails.TypeEnum, - "CheckoutAwaitAction.TypeEnum": CheckoutAwaitAction.TypeEnum, - "CheckoutBalanceCheckRequest.RecurringProcessingModelEnum": CheckoutBalanceCheckRequest.RecurringProcessingModelEnum, - "CheckoutBalanceCheckRequest.ShopperInteractionEnum": CheckoutBalanceCheckRequest.ShopperInteractionEnum, - "CheckoutBalanceCheckResponse.ResultCodeEnum": CheckoutBalanceCheckResponse.ResultCodeEnum, - "CheckoutBankTransferAction.TypeEnum": CheckoutBankTransferAction.TypeEnum, - "CheckoutCancelOrderResponse.ResultCodeEnum": CheckoutCancelOrderResponse.ResultCodeEnum, - "CheckoutCreateOrderResponse.ResultCodeEnum": CheckoutCreateOrderResponse.ResultCodeEnum, - "CheckoutDonationAction.TypeEnum": CheckoutDonationAction.TypeEnum, - "CheckoutOneTimePasscodeAction.TypeEnum": CheckoutOneTimePasscodeAction.TypeEnum, - "CheckoutQrCodeAction.TypeEnum": CheckoutQrCodeAction.TypeEnum, - "CheckoutRedirectAction.TypeEnum": CheckoutRedirectAction.TypeEnum, - "CheckoutSDKAction.TypeEnum": CheckoutSDKAction.TypeEnum, - "CheckoutThreeDS2Action.TypeEnum": CheckoutThreeDS2Action.TypeEnum, - "CheckoutVoucherAction.TypeEnum": CheckoutVoucherAction.TypeEnum, - "Configuration.CardHolderNameEnum": Configuration.CardHolderNameEnum, - "CreateCheckoutSessionRequest.ChannelEnum": CreateCheckoutSessionRequest.ChannelEnum, - "CreateCheckoutSessionRequest.RecurringProcessingModelEnum": CreateCheckoutSessionRequest.RecurringProcessingModelEnum, - "CreateCheckoutSessionRequest.ShopperInteractionEnum": CreateCheckoutSessionRequest.ShopperInteractionEnum, - "CreateCheckoutSessionResponse.ChannelEnum": CreateCheckoutSessionResponse.ChannelEnum, - "CreateCheckoutSessionResponse.RecurringProcessingModelEnum": CreateCheckoutSessionResponse.RecurringProcessingModelEnum, - "CreateCheckoutSessionResponse.ShopperInteractionEnum": CreateCheckoutSessionResponse.ShopperInteractionEnum, - "CreatePaymentAmountUpdateRequest.ReasonEnum": CreatePaymentAmountUpdateRequest.ReasonEnum, - "CreatePaymentLinkRequest.RecurringProcessingModelEnum": CreatePaymentLinkRequest.RecurringProcessingModelEnum, - "CreatePaymentLinkRequest.RequiredShopperFieldsEnum": CreatePaymentLinkRequest.RequiredShopperFieldsEnum, - "CreatePaymentLinkRequest.StorePaymentMethodModeEnum": CreatePaymentLinkRequest.StorePaymentMethodModeEnum, - "DeviceRenderOptions.SdkInterfaceEnum": DeviceRenderOptions.SdkInterfaceEnum, - "DeviceRenderOptions.SdkUiTypeEnum": DeviceRenderOptions.SdkUiTypeEnum, - "DokuDetails.TypeEnum": DokuDetails.TypeEnum, - "DonationResponse.StatusEnum": DonationResponse.StatusEnum, - "DotpayDetails.TypeEnum": DotpayDetails.TypeEnum, - "DragonpayDetails.TypeEnum": DragonpayDetails.TypeEnum, - "EcontextVoucherDetails.TypeEnum": EcontextVoucherDetails.TypeEnum, - "GenericIssuerPaymentMethodDetails.TypeEnum": GenericIssuerPaymentMethodDetails.TypeEnum, - "GiropayDetails.TypeEnum": GiropayDetails.TypeEnum, - "GooglePayDetails.FundingSourceEnum": GooglePayDetails.FundingSourceEnum, - "GooglePayDetails.TypeEnum": GooglePayDetails.TypeEnum, - "IdealDetails.TypeEnum": IdealDetails.TypeEnum, - "InstallmentOption.PlansEnum": InstallmentOption.PlansEnum, - "Installments.PlanEnum": Installments.PlanEnum, - "KlarnaDetails.TypeEnum": KlarnaDetails.TypeEnum, - "LianLianPayDetails.TypeEnum": LianLianPayDetails.TypeEnum, - "Mandate.AmountRuleEnum": Mandate.AmountRuleEnum, - "Mandate.BillingAttemptsRuleEnum": Mandate.BillingAttemptsRuleEnum, - "Mandate.FrequencyEnum": Mandate.FrequencyEnum, - "MasterpassDetails.FundingSourceEnum": MasterpassDetails.FundingSourceEnum, - "MasterpassDetails.TypeEnum": MasterpassDetails.TypeEnum, - "MbwayDetails.TypeEnum": MbwayDetails.TypeEnum, - "MerchantRiskIndicator.DeliveryAddressIndicatorEnum": MerchantRiskIndicator.DeliveryAddressIndicatorEnum, - "MerchantRiskIndicator.DeliveryTimeframeEnum": MerchantRiskIndicator.DeliveryTimeframeEnum, - "MobilePayDetails.TypeEnum": MobilePayDetails.TypeEnum, - "MolPayDetails.TypeEnum": MolPayDetails.TypeEnum, - "OpenInvoiceDetails.TypeEnum": OpenInvoiceDetails.TypeEnum, - "PayPalDetails.SubtypeEnum": PayPalDetails.SubtypeEnum, - "PayPalDetails.TypeEnum": PayPalDetails.TypeEnum, - "PayUUpiDetails.TypeEnum": PayUUpiDetails.TypeEnum, - "PayWithGoogleDetails.FundingSourceEnum": PayWithGoogleDetails.FundingSourceEnum, - "PayWithGoogleDetails.TypeEnum": PayWithGoogleDetails.TypeEnum, - "PaymentAmountUpdateResource.ReasonEnum": PaymentAmountUpdateResource.ReasonEnum, - "PaymentAmountUpdateResource.StatusEnum": PaymentAmountUpdateResource.StatusEnum, - "PaymentCancelResource.StatusEnum": PaymentCancelResource.StatusEnum, - "PaymentCaptureResource.StatusEnum": PaymentCaptureResource.StatusEnum, - "PaymentDetails.TypeEnum": PaymentDetails.TypeEnum, - "PaymentDetailsResponse.ResultCodeEnum": PaymentDetailsResponse.ResultCodeEnum, - "PaymentDonationRequest.ChannelEnum": PaymentDonationRequest.ChannelEnum, - "PaymentDonationRequest.EntityTypeEnum": PaymentDonationRequest.EntityTypeEnum, - "PaymentDonationRequest.RecurringProcessingModelEnum": PaymentDonationRequest.RecurringProcessingModelEnum, - "PaymentDonationRequest.ShopperInteractionEnum": PaymentDonationRequest.ShopperInteractionEnum, - "PaymentLinkResource.RecurringProcessingModelEnum": PaymentLinkResource.RecurringProcessingModelEnum, - "PaymentLinkResource.StatusEnum": PaymentLinkResource.StatusEnum, - "PaymentLinkResource.StorePaymentMethodModeEnum": PaymentLinkResource.StorePaymentMethodModeEnum, - "PaymentMethod.FundingSourceEnum": PaymentMethod.FundingSourceEnum, - "PaymentMethodsRequest.ChannelEnum": PaymentMethodsRequest.ChannelEnum, - "PaymentRefundResource.StatusEnum": PaymentRefundResource.StatusEnum, - "PaymentRequest.ChannelEnum": PaymentRequest.ChannelEnum, - "PaymentRequest.EntityTypeEnum": PaymentRequest.EntityTypeEnum, - "PaymentRequest.RecurringProcessingModelEnum": PaymentRequest.RecurringProcessingModelEnum, - "PaymentRequest.ShopperInteractionEnum": PaymentRequest.ShopperInteractionEnum, - "PaymentResponse.ResultCodeEnum": PaymentResponse.ResultCodeEnum, - "PaymentReversalResource.StatusEnum": PaymentReversalResource.StatusEnum, - "PaymentSetupRequest.ChannelEnum": PaymentSetupRequest.ChannelEnum, - "PaymentSetupRequest.EntityTypeEnum": PaymentSetupRequest.EntityTypeEnum, - "PaymentSetupRequest.ShopperInteractionEnum": PaymentSetupRequest.ShopperInteractionEnum, - "PaymentVerificationResponse.ResultCodeEnum": PaymentVerificationResponse.ResultCodeEnum, - "RatepayDetails.TypeEnum": RatepayDetails.TypeEnum, - "Recurring.ContractEnum": Recurring.ContractEnum, - "Recurring.TokenServiceEnum": Recurring.TokenServiceEnum, - "RecurringDetail.FundingSourceEnum": RecurringDetail.FundingSourceEnum, - "Redirect.MethodEnum": Redirect.MethodEnum, - "ResponseAdditionalDataCommon.FraudResultTypeEnum": ResponseAdditionalDataCommon.FraudResultTypeEnum, - "ResponseAdditionalDataCommon.MerchantAdviceCodeEnum": ResponseAdditionalDataCommon.MerchantAdviceCodeEnum, - "ResponseAdditionalDataCommon.RecurringProcessingModelEnum": ResponseAdditionalDataCommon.RecurringProcessingModelEnum, - "SamsungPayDetails.FundingSourceEnum": SamsungPayDetails.FundingSourceEnum, - "SamsungPayDetails.TypeEnum": SamsungPayDetails.TypeEnum, - "SepaDirectDebitDetails.TypeEnum": SepaDirectDebitDetails.TypeEnum, - "ShopperInput.BillingAddressEnum": ShopperInput.BillingAddressEnum, - "ShopperInput.DeliveryAddressEnum": ShopperInput.DeliveryAddressEnum, - "ShopperInput.PersonalDetailsEnum": ShopperInput.PersonalDetailsEnum, - "Split.TypeEnum": Split.TypeEnum, - "StandalonePaymentCancelResource.StatusEnum": StandalonePaymentCancelResource.StatusEnum, - "StoredPaymentMethodDetails.TypeEnum": StoredPaymentMethodDetails.TypeEnum, - "ThreeDS2RequestData.ChallengeIndicatorEnum": ThreeDS2RequestData.ChallengeIndicatorEnum, - "ThreeDS2RequestData.TransactionTypeEnum": ThreeDS2RequestData.TransactionTypeEnum, - "ThreeDS2Result.ChallengeIndicatorEnum": ThreeDS2Result.ChallengeIndicatorEnum, - "ThreeDS2Result.ExemptionIndicatorEnum": ThreeDS2Result.ExemptionIndicatorEnum, - "ThreeDSecureData.AuthenticationResponseEnum": ThreeDSecureData.AuthenticationResponseEnum, - "ThreeDSecureData.DirectoryResponseEnum": ThreeDSecureData.DirectoryResponseEnum, - "UpdatePaymentLinkRequest.StatusEnum": UpdatePaymentLinkRequest.StatusEnum, - "UpiDetails.TypeEnum": UpiDetails.TypeEnum, - "VippsDetails.TypeEnum": VippsDetails.TypeEnum, - "VisaCheckoutDetails.FundingSourceEnum": VisaCheckoutDetails.FundingSourceEnum, - "VisaCheckoutDetails.TypeEnum": VisaCheckoutDetails.TypeEnum, - "WeChatPayDetails.TypeEnum": WeChatPayDetails.TypeEnum, - "WeChatPayMiniProgramDetails.TypeEnum": WeChatPayMiniProgramDetails.TypeEnum, - "ZipDetails.TypeEnum": ZipDetails.TypeEnum, -} - -let typeMap: {[index: string]: any} = { - "AccountInfo": AccountInfo, - "AcctInfo": AcctInfo, - "AchDetails": AchDetails, - "AdditionalData3DSecure": AdditionalData3DSecure, - "AdditionalDataAirline": AdditionalDataAirline, - "AdditionalDataCarRental": AdditionalDataCarRental, - "AdditionalDataCommon": AdditionalDataCommon, - "AdditionalDataLevel23": AdditionalDataLevel23, - "AdditionalDataLodging": AdditionalDataLodging, - "AdditionalDataOpenInvoice": AdditionalDataOpenInvoice, - "AdditionalDataOpi": AdditionalDataOpi, - "AdditionalDataRatepay": AdditionalDataRatepay, - "AdditionalDataRetry": AdditionalDataRetry, - "AdditionalDataRisk": AdditionalDataRisk, - "AdditionalDataRiskStandalone": AdditionalDataRiskStandalone, - "AdditionalDataSubMerchant": AdditionalDataSubMerchant, - "AdditionalDataTemporaryServices": AdditionalDataTemporaryServices, - "AdditionalDataWallets": AdditionalDataWallets, - "Address": Address, - "AfterpayDetails": AfterpayDetails, - "AmazonPayDetails": AmazonPayDetails, - "Amount": Amount, - "AndroidPayDetails": AndroidPayDetails, - "ApplePayDetails": ApplePayDetails, - "ApplicationInfo": ApplicationInfo, - "Avs": Avs, - "BacsDirectDebitDetails": BacsDirectDebitDetails, - "BankAccount": BankAccount, - "BillDeskDetails": BillDeskDetails, - "BlikDetails": BlikDetails, - "BrowserInfo": BrowserInfo, - "Card": Card, - "CardDetails": CardDetails, - "CellulantDetails": CellulantDetails, - "CheckoutAwaitAction": CheckoutAwaitAction, - "CheckoutBalanceCheckRequest": CheckoutBalanceCheckRequest, - "CheckoutBalanceCheckResponse": CheckoutBalanceCheckResponse, - "CheckoutBankTransferAction": CheckoutBankTransferAction, - "CheckoutCancelOrderRequest": CheckoutCancelOrderRequest, - "CheckoutCancelOrderResponse": CheckoutCancelOrderResponse, - "CheckoutCreateOrderRequest": CheckoutCreateOrderRequest, - "CheckoutCreateOrderResponse": CheckoutCreateOrderResponse, - "CheckoutDonationAction": CheckoutDonationAction, - "CheckoutOneTimePasscodeAction": CheckoutOneTimePasscodeAction, - "CheckoutOrder": CheckoutOrder, - "CheckoutOrderResponse": CheckoutOrderResponse, - "CheckoutQrCodeAction": CheckoutQrCodeAction, - "CheckoutRedirectAction": CheckoutRedirectAction, - "CheckoutSDKAction": CheckoutSDKAction, - "CheckoutThreeDS2Action": CheckoutThreeDS2Action, - "CheckoutUtilityRequest": CheckoutUtilityRequest, - "CheckoutUtilityResponse": CheckoutUtilityResponse, - "CheckoutVoucherAction": CheckoutVoucherAction, - "CommonField": CommonField, - "Company": Company, - "Configuration": Configuration, - "CreateCheckoutSessionRequest": CreateCheckoutSessionRequest, - "CreateCheckoutSessionResponse": CreateCheckoutSessionResponse, - "CreatePaymentAmountUpdateRequest": CreatePaymentAmountUpdateRequest, - "CreatePaymentCancelRequest": CreatePaymentCancelRequest, - "CreatePaymentCaptureRequest": CreatePaymentCaptureRequest, - "CreatePaymentLinkRequest": CreatePaymentLinkRequest, - "CreatePaymentRefundRequest": CreatePaymentRefundRequest, - "CreatePaymentReversalRequest": CreatePaymentReversalRequest, - "CreateStandalonePaymentCancelRequest": CreateStandalonePaymentCancelRequest, - "DetailsRequest": DetailsRequest, - "DeviceRenderOptions": DeviceRenderOptions, - "DokuDetails": DokuDetails, - "DonationResponse": DonationResponse, - "DotpayDetails": DotpayDetails, - "DragonpayDetails": DragonpayDetails, - "EcontextVoucherDetails": EcontextVoucherDetails, - "ExternalPlatform": ExternalPlatform, - "ForexQuote": ForexQuote, - "FraudCheckResult": FraudCheckResult, - "FraudResult": FraudResult, - "GenericIssuerPaymentMethodDetails": GenericIssuerPaymentMethodDetails, - "GiropayDetails": GiropayDetails, - "GooglePayDetails": GooglePayDetails, - "IdealDetails": IdealDetails, - "InputDetail": InputDetail, - "InstallmentOption": InstallmentOption, - "Installments": Installments, - "InstallmentsNumber": InstallmentsNumber, - "Item": Item, - "KlarnaDetails": KlarnaDetails, - "LianLianPayDetails": LianLianPayDetails, - "LineItem": LineItem, - "Mandate": Mandate, - "MasterpassDetails": MasterpassDetails, - "MbwayDetails": MbwayDetails, - "MerchantDevice": MerchantDevice, - "MerchantRiskIndicator": MerchantRiskIndicator, - "MobilePayDetails": MobilePayDetails, - "MolPayDetails": MolPayDetails, - "Name": Name, - "OpenInvoiceDetails": OpenInvoiceDetails, - "PayPalDetails": PayPalDetails, - "PayUUpiDetails": PayUUpiDetails, - "PayWithGoogleDetails": PayWithGoogleDetails, - "PaymentAmountUpdateResource": PaymentAmountUpdateResource, - "PaymentCancelResource": PaymentCancelResource, - "PaymentCaptureResource": PaymentCaptureResource, - "PaymentCompletionDetails": PaymentCompletionDetails, - "PaymentDetails": PaymentDetails, - "PaymentDetailsResponse": PaymentDetailsResponse, - "PaymentDonationRequest": PaymentDonationRequest, - "PaymentLinkResource": PaymentLinkResource, - "PaymentMethod": PaymentMethod, - "PaymentMethodGroup": PaymentMethodGroup, - "PaymentMethodIssuer": PaymentMethodIssuer, - "PaymentMethodsRequest": PaymentMethodsRequest, - "PaymentMethodsResponse": PaymentMethodsResponse, - "PaymentRefundResource": PaymentRefundResource, - "PaymentRequest": PaymentRequest, - "PaymentResponse": PaymentResponse, - "PaymentReversalResource": PaymentReversalResource, - "PaymentSetupRequest": PaymentSetupRequest, - "PaymentSetupResponse": PaymentSetupResponse, - "PaymentVerificationRequest": PaymentVerificationRequest, - "PaymentVerificationResponse": PaymentVerificationResponse, - "Phone": Phone, - "RatepayDetails": RatepayDetails, - "Recurring": Recurring, - "RecurringDetail": RecurringDetail, - "Redirect": Redirect, - "ResponseAdditionalData3DSecure": ResponseAdditionalData3DSecure, - "ResponseAdditionalDataBillingAddress": ResponseAdditionalDataBillingAddress, - "ResponseAdditionalDataCard": ResponseAdditionalDataCard, - "ResponseAdditionalDataCommon": ResponseAdditionalDataCommon, - "ResponseAdditionalDataDeliveryAddress": ResponseAdditionalDataDeliveryAddress, - "ResponseAdditionalDataInstallments": ResponseAdditionalDataInstallments, - "ResponseAdditionalDataNetworkTokens": ResponseAdditionalDataNetworkTokens, - "ResponseAdditionalDataOpi": ResponseAdditionalDataOpi, - "ResponseAdditionalDataSepa": ResponseAdditionalDataSepa, - "RiskData": RiskData, - "SDKEphemPubKey": SDKEphemPubKey, - "SamsungPayDetails": SamsungPayDetails, - "SepaDirectDebitDetails": SepaDirectDebitDetails, - "ServiceError": ServiceError, - "ServiceError2": ServiceError2, - "ShopperInput": ShopperInput, - "ShopperInteractionDevice": ShopperInteractionDevice, - "Split": Split, - "SplitAmount": SplitAmount, - "StandalonePaymentCancelResource": StandalonePaymentCancelResource, - "StoredDetails": StoredDetails, - "StoredPaymentMethod": StoredPaymentMethod, - "StoredPaymentMethodDetails": StoredPaymentMethodDetails, - "SubInputDetail": SubInputDetail, - "ThreeDS2RequestData": ThreeDS2RequestData, - "ThreeDS2ResponseData": ThreeDS2ResponseData, - "ThreeDS2Result": ThreeDS2Result, - "ThreeDSRequestorAuthenticationInfo": ThreeDSRequestorAuthenticationInfo, - "ThreeDSRequestorPriorAuthenticationInfo": ThreeDSRequestorPriorAuthenticationInfo, - "ThreeDSecureData": ThreeDSecureData, - "UpdatePaymentLinkRequest": UpdatePaymentLinkRequest, - "UpiDetails": UpiDetails, - "VippsDetails": VippsDetails, - "VisaCheckoutDetails": VisaCheckoutDetails, - "WeChatPayDetails": WeChatPayDetails, - "WeChatPayMiniProgramDetails": WeChatPayMiniProgramDetails, - "ZipDetails": ZipDetails, -} - -export class ObjectSerializer { - public static findCorrectType(data: any, expectedType: string) { - if (data == undefined) { - return expectedType; - } else if (primitives.indexOf(expectedType.toLowerCase()) !== -1) { - return expectedType; - } else if (expectedType === "Date") { - return expectedType; - } else { - if (enumsMap[expectedType]) { - return expectedType; - } - - if (!typeMap[expectedType]) { - return expectedType; // w/e we don't know the type - } - - // Check the discriminator - let discriminatorProperty = typeMap[expectedType].discriminator; - if (discriminatorProperty == null) { - return expectedType; // the type does not have a discriminator. use it. - } else { - if (data[discriminatorProperty]) { - var discriminatorType = data[discriminatorProperty]; - if(typeMap[discriminatorType]){ - return discriminatorType; // use the type given in the discriminator - } else { - return expectedType; // discriminator did not map to a type - } - } else { - return expectedType; // discriminator was not present (or an empty string) - } - } - } - } - - public static serialize(data: any, type: string) { - if (data == undefined) { - return data; - } else if (primitives.indexOf(type.toLowerCase()) !== -1) { - return data; - } else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6 - let subType: string = type.replace("Array<", ""); // Array => Type> - subType = subType.substring(0, subType.length - 1); // Type> => Type - let transformedData: any[] = []; - for (let index = 0; index < data.length; index++) { - let datum = data[index]; - transformedData.push(ObjectSerializer.serialize(datum, subType)); - } - return transformedData; - } else if (type === "Date") { - return data.toISOString(); - } else { - if (enumsMap[type]) { - return data; - } - if (!typeMap[type]) { // in case we dont know the type - return data; - } - - // Get the actual type of this object - type = this.findCorrectType(data, type); - - // get the map for the correct type. - let attributeTypes = typeMap[type].getAttributeTypeMap(); - let instance: {[index: string]: any} = {}; - for (let index = 0; index < attributeTypes.length; index++) { - let attributeType = attributeTypes[index]; - instance[attributeType.baseName] = ObjectSerializer.serialize(data[attributeType.name], attributeType.type); - } - return instance; - } - } - - public static deserialize(data: any, type: string) { - // polymorphism may change the actual type. - type = ObjectSerializer.findCorrectType(data, type); - if (data == undefined) { - return data; - } else if (primitives.indexOf(type.toLowerCase()) !== -1) { - return data; - } else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6 - let subType: string = type.replace("Array<", ""); // Array => Type> - subType = subType.substring(0, subType.length - 1); // Type> => Type - let transformedData: any[] = []; - for (let index = 0; index < data.length; index++) { - let datum = data[index]; - transformedData.push(ObjectSerializer.deserialize(datum, subType)); - } - return transformedData; - } else if (type === "Date") { - return new Date(data); - } else { - if (enumsMap[type]) {// is Enum - return data; - } - - if (!typeMap[type]) { // dont know the type - return data; - } - let instance = new typeMap[type](); - let attributeTypes = typeMap[type].getAttributeTypeMap(); - for (let index = 0; index < attributeTypes.length; index++) { - let attributeType = attributeTypes[index]; - instance[attributeType.name] = ObjectSerializer.deserialize(data[attributeType.baseName], attributeType.type); - } - return instance; - } - } -} diff --git a/src/typings/checkout/molPayDetails.ts b/src/typings/checkout/molPayDetails.ts index 418faf9..58cc642 100644 --- a/src/typings/checkout/molPayDetails.ts +++ b/src/typings/checkout/molPayDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class MolPayDetails { /** * The shopper\'s bank. Specify this with the issuer value that corresponds to this bank. @@ -40,29 +20,11 @@ export class MolPayDetails { * **molpay** */ 'type': MolPayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "issuer", - "baseName": "issuer", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "MolPayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return MolPayDetails.attributeTypeMap; - } } export namespace MolPayDetails { export enum TypeEnum { - FpxMy = 'molpay_ebanking_fpx_MY', - Th = 'molpay_ebanking_TH' + FpxMY = 'molpay_ebanking_fpx_MY', + TH = 'molpay_ebanking_TH' } } diff --git a/src/typings/checkout/name.ts b/src/typings/checkout/name.ts index 33300f9..a207c79 100644 --- a/src/typings/checkout/name.ts +++ b/src/typings/checkout/name.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class Name { /** * The first name. @@ -40,23 +20,5 @@ export class Name { * The last name. */ 'lastName': string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "firstName", - "baseName": "firstName", - "type": "string" - }, - { - "name": "lastName", - "baseName": "lastName", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return Name.attributeTypeMap; - } } diff --git a/src/typings/checkout/openInvoiceDetails.ts b/src/typings/checkout/openInvoiceDetails.ts index 7484906..e75dda8 100644 --- a/src/typings/checkout/openInvoiceDetails.ts +++ b/src/typings/checkout/openInvoiceDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class OpenInvoiceDetails { /** * The address where to send the invoice. @@ -56,48 +36,12 @@ export class OpenInvoiceDetails { * **openinvoice** */ 'type'?: OpenInvoiceDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "billingAddress", - "baseName": "billingAddress", - "type": "string" - }, - { - "name": "deliveryAddress", - "baseName": "deliveryAddress", - "type": "string" - }, - { - "name": "personalDetails", - "baseName": "personalDetails", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "OpenInvoiceDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return OpenInvoiceDetails.attributeTypeMap; - } } export namespace OpenInvoiceDetails { export enum TypeEnum { - Openinvoice = 'openinvoice' + Openinvoice = 'openinvoice', + AfterpayDirectdebit = 'afterpay_directdebit', + AtomePos = 'atome_pos' } } diff --git a/src/typings/checkout/payPalDetails.ts b/src/typings/checkout/payPalDetails.ts index 9a1b6cb..d9326b3 100644 --- a/src/typings/checkout/payPalDetails.ts +++ b/src/typings/checkout/payPalDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class PayPalDetails { /** * The unique ID associated with the order. @@ -56,44 +36,6 @@ export class PayPalDetails { * **paypal** */ 'type': PayPalDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "orderID", - "baseName": "orderID", - "type": "string" - }, - { - "name": "payerID", - "baseName": "payerID", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "subtype", - "baseName": "subtype", - "type": "PayPalDetails.SubtypeEnum" - }, - { - "name": "type", - "baseName": "type", - "type": "PayPalDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return PayPalDetails.attributeTypeMap; - } } export namespace PayPalDetails { diff --git a/src/typings/checkout/payUUpiDetails.ts b/src/typings/checkout/payUUpiDetails.ts index 0088465..315bf39 100644 --- a/src/typings/checkout/payUUpiDetails.ts +++ b/src/typings/checkout/payUUpiDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class PayUUpiDetails { /** * This is the `recurringDetailReference` returned in the response when you created the token. @@ -52,43 +32,10 @@ export class PayUUpiDetails { * The virtual payment address for UPI. */ 'virtualPaymentAddress'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "shopperNotificationReference", - "baseName": "shopperNotificationReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "PayUUpiDetails.TypeEnum" - }, - { - "name": "virtualPaymentAddress", - "baseName": "virtualPaymentAddress", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return PayUUpiDetails.attributeTypeMap; - } } export namespace PayUUpiDetails { export enum TypeEnum { - PayuInUpi = 'payu_IN_upi' + PayuINUpi = 'payu_IN_upi' } } diff --git a/src/typings/checkout/payWithGoogleDetails.ts b/src/typings/checkout/payWithGoogleDetails.ts index eb12183..86b24c6 100644 --- a/src/typings/checkout/payWithGoogleDetails.ts +++ b/src/typings/checkout/payWithGoogleDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class PayWithGoogleDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. @@ -52,39 +32,6 @@ export class PayWithGoogleDetails { * **paywithgoogle** */ 'type'?: PayWithGoogleDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "fundingSource", - "baseName": "fundingSource", - "type": "PayWithGoogleDetails.FundingSourceEnum" - }, - { - "name": "googlePayToken", - "baseName": "googlePayToken", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "PayWithGoogleDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return PayWithGoogleDetails.attributeTypeMap; - } } export namespace PayWithGoogleDetails { diff --git a/src/typings/checkout/paymentAmountUpdateResource.ts b/src/typings/checkout/paymentAmountUpdateResource.ts index 46c7eff..83e066a 100644 --- a/src/typings/checkout/paymentAmountUpdateResource.ts +++ b/src/typings/checkout/paymentAmountUpdateResource.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; import { Split } from './split'; @@ -63,54 +43,6 @@ export class PaymentAmountUpdateResource { * The status of your request. This will always have the value **received**. */ 'status': PaymentAmountUpdateResource.StatusEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "paymentPspReference", - "baseName": "paymentPspReference", - "type": "string" - }, - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - }, - { - "name": "reason", - "baseName": "reason", - "type": "PaymentAmountUpdateResource.ReasonEnum" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "splits", - "baseName": "splits", - "type": "Array" - }, - { - "name": "status", - "baseName": "status", - "type": "PaymentAmountUpdateResource.StatusEnum" - } ]; - - static getAttributeTypeMap() { - return PaymentAmountUpdateResource.attributeTypeMap; - } } export namespace PaymentAmountUpdateResource { diff --git a/src/typings/checkout/paymentCancelResource.ts b/src/typings/checkout/paymentCancelResource.ts index 01ebb3a..6807f7b 100644 --- a/src/typings/checkout/paymentCancelResource.ts +++ b/src/typings/checkout/paymentCancelResource.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class PaymentCancelResource { /** * The merchant account that is used to process the payment. @@ -52,39 +32,6 @@ export class PaymentCancelResource { * The status of your request. This will always have the value **received**. */ 'status': PaymentCancelResource.StatusEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "paymentPspReference", - "baseName": "paymentPspReference", - "type": "string" - }, - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "status", - "baseName": "status", - "type": "PaymentCancelResource.StatusEnum" - } ]; - - static getAttributeTypeMap() { - return PaymentCancelResource.attributeTypeMap; - } } export namespace PaymentCancelResource { diff --git a/src/typings/checkout/paymentCaptureResource.ts b/src/typings/checkout/paymentCaptureResource.ts index 0ca3959..c91face 100644 --- a/src/typings/checkout/paymentCaptureResource.ts +++ b/src/typings/checkout/paymentCaptureResource.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,13 +10,17 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; +import { LineItem } from './lineItem'; import { Split } from './split'; export class PaymentCaptureResource { 'amount': Amount; /** + * Price and product information of the captured items, required for [partial captures](https://docs.adyen.com/online-payments/capture#partial-capture). > This field is required for partial captures with 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Zip and Atome. + */ + 'lineItems'?: Array; + /** * The merchant account that is used to process the payment. */ 'merchantAccount': string; @@ -59,49 +44,6 @@ export class PaymentCaptureResource { * The status of your request. This will always have the value **received**. */ 'status': PaymentCaptureResource.StatusEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "paymentPspReference", - "baseName": "paymentPspReference", - "type": "string" - }, - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "splits", - "baseName": "splits", - "type": "Array" - }, - { - "name": "status", - "baseName": "status", - "type": "PaymentCaptureResource.StatusEnum" - } ]; - - static getAttributeTypeMap() { - return PaymentCaptureResource.attributeTypeMap; - } } export namespace PaymentCaptureResource { diff --git a/src/typings/checkout/paymentCompletionDetails.ts b/src/typings/checkout/paymentCompletionDetails.ts index b9b011c..e346108 100644 --- a/src/typings/checkout/paymentCompletionDetails.ts +++ b/src/typings/checkout/paymentCompletionDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,20 +11,19 @@ */ - export class PaymentCompletionDetails { /** * A payment session identifier returned by the card issuer. */ - 'MD'?: string; + 'mD'?: string; /** * (3D) Payment Authentication Request data for the card issuer. */ - 'PaReq'?: string; + 'paReq'?: string; /** * (3D) Payment Authentication Response data by the card issuer. */ - 'PaRes'?: string; + 'paRes'?: string; /** * PayPal-generated token for recurring payments. */ @@ -51,7 +31,7 @@ export class PaymentCompletionDetails { /** * The SMS verification code collected from the shopper. */ - 'cupsecureplus_smscode'?: string; + 'cupsecureplusSmscode'?: string; /** * PayPal-generated third party access token. */ @@ -91,98 +71,10 @@ export class PaymentCompletionDetails { /** * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `transStatus`. */ - 'threeds2_challengeResult'?: string; + 'threeds2ChallengeResult'?: string; /** * Base64-encoded string returned by the Component after the challenge flow. It contains the following parameter: `threeDSCompInd`. */ - 'threeds2_fingerprint'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "MD", - "baseName": "MD", - "type": "string" - }, - { - "name": "PaReq", - "baseName": "PaReq", - "type": "string" - }, - { - "name": "PaRes", - "baseName": "PaRes", - "type": "string" - }, - { - "name": "billingToken", - "baseName": "billingToken", - "type": "string" - }, - { - "name": "cupsecureplus_smscode", - "baseName": "cupsecureplus.smscode", - "type": "string" - }, - { - "name": "facilitatorAccessToken", - "baseName": "facilitatorAccessToken", - "type": "string" - }, - { - "name": "oneTimePasscode", - "baseName": "oneTimePasscode", - "type": "string" - }, - { - "name": "orderID", - "baseName": "orderID", - "type": "string" - }, - { - "name": "payerID", - "baseName": "payerID", - "type": "string" - }, - { - "name": "payload", - "baseName": "payload", - "type": "string" - }, - { - "name": "paymentID", - "baseName": "paymentID", - "type": "string" - }, - { - "name": "paymentStatus", - "baseName": "paymentStatus", - "type": "string" - }, - { - "name": "redirectResult", - "baseName": "redirectResult", - "type": "string" - }, - { - "name": "threeDSResult", - "baseName": "threeDSResult", - "type": "string" - }, - { - "name": "threeds2_challengeResult", - "baseName": "threeds2.challengeResult", - "type": "string" - }, - { - "name": "threeds2_fingerprint", - "baseName": "threeds2.fingerprint", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return PaymentCompletionDetails.attributeTypeMap; - } + 'threeds2Fingerprint'?: string; } diff --git a/src/typings/checkout/paymentDetails.ts b/src/typings/checkout/paymentDetails.ts index ae94a3b..971c04b 100644 --- a/src/typings/checkout/paymentDetails.ts +++ b/src/typings/checkout/paymentDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,34 +11,22 @@ */ - export class PaymentDetails { /** * The payment method type. */ 'type'?: PaymentDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "type", - "baseName": "type", - "type": "PaymentDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return PaymentDetails.attributeTypeMap; - } } export namespace PaymentDetails { export enum TypeEnum { Alipay = 'alipay', Multibanco = 'multibanco', - BankTransferIban = 'bankTransfer_IBAN', + BankTransferIBAN = 'bankTransfer_IBAN', Paybright = 'paybright', Affirm = 'affirm', + AffirmPos = 'affirm_pos', + Trustlyvector = 'trustlyvector', Oney = 'oney', Facilypay = 'facilypay', Facilypay3x = 'facilypay_3x', @@ -69,19 +38,24 @@ export namespace PaymentDetails { KcpBanktransfer = 'kcp_banktransfer', KcpPayco = 'kcp_payco', KcpCreditcard = 'kcp_creditcard', - WechatpaySdk = 'wechatpaySDK', - WechatpayQr = 'wechatpayQR', + WechatpaySDK = 'wechatpaySDK', + WechatpayQR = 'wechatpayQR', WechatpayWeb = 'wechatpayWeb', - PayuInCashcard = 'payu_IN_cashcard', - PayuInNb = 'payu_IN_nb', - MolpayEbankingVn = 'molpay_ebanking_VN', - OpenbankingUk = 'openbanking_UK', - EbankingFi = 'ebanking_FI', - MolpayEbankingMy = 'molpay_ebanking_MY', - MolpayEbankingDirectMy = 'molpay_ebanking_direct_MY', + WalletIN = 'wallet_IN', + PayuINCashcard = 'payu_IN_cashcard', + PayuINNb = 'payu_IN_nb', + UpiQr = 'upi_qr', + Paytm = 'paytm', + MolpayEbankingVN = 'molpay_ebanking_VN', + OpenbankingUK = 'openbanking_UK', + EbankingFI = 'ebanking_FI', + MolpayEbankingMY = 'molpay_ebanking_MY', + MolpayEbankingDirectMY = 'molpay_ebanking_direct_MY', Swish = 'swish', Twint = 'twint', Pix = 'pix', + Walley = 'walley', + WalleyB2b = 'walley_b2b', MolpayFpx = 'molpay_fpx', Konbini = 'konbini', DirectEbanking = 'directEbanking', @@ -94,6 +68,43 @@ export namespace PaymentDetails { Ikano = 'ikano', Karenmillen = 'karenmillen', Oasis = 'oasis', - Warehouse = 'warehouse' + Warehouse = 'warehouse', + PrimeiropayBoleto = 'primeiropay_boleto', + Mada = 'mada', + Benefit = 'benefit', + Knet = 'knet', + Omannet = 'omannet', + GopayWallet = 'gopay_wallet', + Poli = 'poli', + KcpNaverpay = 'kcp_naverpay', + OnlinebankingIN = 'onlinebanking_IN', + Fawry = 'fawry', + Atome = 'atome', + Moneybookers = 'moneybookers', + Naps = 'naps', + Nordea = 'nordea', + BoletobancarioBradesco = 'boletobancario_bradesco', + BoletobancarioItau = 'boletobancario_itau', + BoletobancarioSantander = 'boletobancario_santander', + BoletobancarioBancodobrasil = 'boletobancario_bancodobrasil', + BoletobancarioHsbc = 'boletobancario_hsbc', + MolpayMaybank2u = 'molpay_maybank2u', + MolpayCimb = 'molpay_cimb', + MolpayRhb = 'molpay_rhb', + MolpayAmb = 'molpay_amb', + MolpayHlb = 'molpay_hlb', + MolpayAffinEpg = 'molpay_affin_epg', + MolpayBankislam = 'molpay_bankislam', + MolpayPublicbank = 'molpay_publicbank', + FpxAgrobank = 'fpx_agrobank', + Touchngo = 'touchngo', + Maybank2uMae = 'maybank2u_mae', + Duitnow = 'duitnow', + TwintPos = 'twint_pos', + AlipayHk = 'alipay_hk', + AlipayHkWeb = 'alipay_hk_web', + AlipayHkWap = 'alipay_hk_wap', + AlipayWap = 'alipay_wap', + Balanceplatform = 'balanceplatform' } } diff --git a/src/typings/checkout/paymentDetailsResponse.ts b/src/typings/checkout/paymentDetailsResponse.ts index 4cae47d..9639ff2 100644 --- a/src/typings/checkout/paymentDetailsResponse.ts +++ b/src/typings/checkout/paymentDetailsResponse.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,10 +10,10 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; import { CheckoutOrderResponse } from './checkoutOrderResponse'; import { FraudResult } from './fraudResult'; +import { ResponsePaymentMethod } from './responsePaymentMethod'; import { ThreeDS2ResponseData } from './threeDS2ResponseData'; import { ThreeDS2Result } from './threeDS2Result'; @@ -52,10 +33,7 @@ export class PaymentDetailsResponse { */ 'merchantReference'?: string; 'order'?: CheckoutOrderResponse; - /** - * The payment method used in the transaction. - */ - 'paymentMethod'?: string; + 'paymentMethod'?: ResponsePaymentMethod; /** * Adyen\'s 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. */ @@ -82,89 +60,6 @@ export class PaymentDetailsResponse { * When non-empty, contains a value that you must submit to the `/payments/details` endpoint as `paymentData`. */ 'threeDSPaymentData'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "additionalData", - "baseName": "additionalData", - "type": "{ [key: string]: string; }" - }, - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "donationToken", - "baseName": "donationToken", - "type": "string" - }, - { - "name": "fraudResult", - "baseName": "fraudResult", - "type": "FraudResult" - }, - { - "name": "merchantReference", - "baseName": "merchantReference", - "type": "string" - }, - { - "name": "order", - "baseName": "order", - "type": "CheckoutOrderResponse" - }, - { - "name": "paymentMethod", - "baseName": "paymentMethod", - "type": "string" - }, - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - }, - { - "name": "refusalReason", - "baseName": "refusalReason", - "type": "string" - }, - { - "name": "refusalReasonCode", - "baseName": "refusalReasonCode", - "type": "string" - }, - { - "name": "resultCode", - "baseName": "resultCode", - "type": "PaymentDetailsResponse.ResultCodeEnum" - }, - { - "name": "shopperLocale", - "baseName": "shopperLocale", - "type": "string" - }, - { - "name": "threeDS2ResponseData", - "baseName": "threeDS2ResponseData", - "type": "ThreeDS2ResponseData" - }, - { - "name": "threeDS2Result", - "baseName": "threeDS2Result", - "type": "ThreeDS2Result" - }, - { - "name": "threeDSPaymentData", - "baseName": "threeDSPaymentData", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return PaymentDetailsResponse.attributeTypeMap; - } } export namespace PaymentDetailsResponse { diff --git a/src/typings/checkout/paymentDonationRequest.ts b/src/typings/checkout/paymentDonationRequest.ts index b2c269a..6dbd9f2 100644 --- a/src/typings/checkout/paymentDonationRequest.ts +++ b/src/typings/checkout/paymentDonationRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { AccountInfo } from './accountInfo'; import { AchDetails } from './achDetails'; import { Address } from './address'; @@ -39,6 +19,7 @@ import { Amount } from './amount'; import { AndroidPayDetails } from './androidPayDetails'; import { ApplePayDetails } from './applePayDetails'; import { ApplicationInfo } from './applicationInfo'; +import { AuthenticationData } from './authenticationData'; import { BacsDirectDebitDetails } from './bacsDirectDebitDetails'; import { BillDeskDetails } from './billDeskDetails'; import { BlikDetails } from './blikDetails'; @@ -58,7 +39,6 @@ import { GooglePayDetails } from './googlePayDetails'; import { IdealDetails } from './idealDetails'; import { Installments } from './installments'; import { KlarnaDetails } from './klarnaDetails'; -import { LianLianPayDetails } from './lianLianPayDetails'; import { LineItem } from './lineItem'; import { Mandate } from './mandate'; import { MasterpassDetails } from './masterpassDetails'; @@ -80,7 +60,8 @@ import { Split } from './split'; import { StoredPaymentMethodDetails } from './storedPaymentMethodDetails'; import { ThreeDS2RequestData } from './threeDS2RequestData'; import { ThreeDSecureData } from './threeDSecureData'; -import { UpiDetails } from './upiDetails'; +import { UpiCollectDetails } from './upiCollectDetails'; +import { UpiIntentDetails } from './upiIntentDetails'; import { VippsDetails } from './vippsDetails'; import { VisaCheckoutDetails } from './visaCheckoutDetails'; import { WeChatPayDetails } from './weChatPayDetails'; @@ -95,6 +76,7 @@ export class PaymentDonationRequest { 'additionalData'?: { [key: string]: string; }; 'amount': Amount; 'applicationInfo'?: ApplicationInfo; + 'authenticationData'?: AuthenticationData; 'billingAddress'?: Address; 'browserInfo'?: BrowserInfo; /** @@ -137,7 +119,7 @@ export class PaymentDonationRequest { */ 'donationAccount': string; /** - * PSP reference of the transaction from which the donation token is generated. + * PSP reference of the transaction from which the donation token is generated. Required when `donationToken` is provided. */ 'donationOriginalPspReference'?: string; /** @@ -166,7 +148,7 @@ export class PaymentDonationRequest { 'fraudOffset'?: number; 'installments'?: Installments; /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Zip and Atome. */ 'lineItems'?: Array; 'mandate'?: Mandate; @@ -200,7 +182,7 @@ export class PaymentDonationRequest { /** * The type and required details of a payment method to use. */ - 'paymentMethod': AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | LianLianPayDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails; + 'paymentMethod': AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiCollectDetails | UpiIntentDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails; /** * Date after which no further authorisations shall be performed. Only for 3D Secure 2. */ @@ -256,7 +238,7 @@ export class PaymentDonationRequest { */ 'shopperReference'?: string; /** - * The text to be shown on the shopper\'s bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new). We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. + * The text to be shown on the shopper\'s bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , \' _ - ? + * /_**. */ 'shopperStatement'?: string; /** @@ -288,329 +270,11 @@ export class PaymentDonationRequest { * Set to true if the payment should be routed to a trusted MID. */ 'trustedShopper'?: boolean; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "accountInfo", - "baseName": "accountInfo", - "type": "AccountInfo" - }, - { - "name": "additionalData", - "baseName": "additionalData", - "type": "{ [key: string]: string; }" - }, - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "applicationInfo", - "baseName": "applicationInfo", - "type": "ApplicationInfo" - }, - { - "name": "billingAddress", - "baseName": "billingAddress", - "type": "Address" - }, - { - "name": "browserInfo", - "baseName": "browserInfo", - "type": "BrowserInfo" - }, - { - "name": "captureDelayHours", - "baseName": "captureDelayHours", - "type": "number" - }, - { - "name": "channel", - "baseName": "channel", - "type": "PaymentDonationRequest.ChannelEnum" - }, - { - "name": "checkoutAttemptId", - "baseName": "checkoutAttemptId", - "type": "string" - }, - { - "name": "company", - "baseName": "company", - "type": "Company" - }, - { - "name": "conversionId", - "baseName": "conversionId", - "type": "string" - }, - { - "name": "countryCode", - "baseName": "countryCode", - "type": "string" - }, - { - "name": "dateOfBirth", - "baseName": "dateOfBirth", - "type": "Date" - }, - { - "name": "dccQuote", - "baseName": "dccQuote", - "type": "ForexQuote" - }, - { - "name": "deliveryAddress", - "baseName": "deliveryAddress", - "type": "Address" - }, - { - "name": "deliveryDate", - "baseName": "deliveryDate", - "type": "Date" - }, - { - "name": "deviceFingerprint", - "baseName": "deviceFingerprint", - "type": "string" - }, - { - "name": "donationAccount", - "baseName": "donationAccount", - "type": "string" - }, - { - "name": "donationOriginalPspReference", - "baseName": "donationOriginalPspReference", - "type": "string" - }, - { - "name": "donationToken", - "baseName": "donationToken", - "type": "string" - }, - { - "name": "enableOneClick", - "baseName": "enableOneClick", - "type": "boolean" - }, - { - "name": "enablePayOut", - "baseName": "enablePayOut", - "type": "boolean" - }, - { - "name": "enableRecurring", - "baseName": "enableRecurring", - "type": "boolean" - }, - { - "name": "entityType", - "baseName": "entityType", - "type": "PaymentDonationRequest.EntityTypeEnum" - }, - { - "name": "fraudOffset", - "baseName": "fraudOffset", - "type": "number" - }, - { - "name": "installments", - "baseName": "installments", - "type": "Installments" - }, - { - "name": "lineItems", - "baseName": "lineItems", - "type": "Array" - }, - { - "name": "mandate", - "baseName": "mandate", - "type": "Mandate" - }, - { - "name": "mcc", - "baseName": "mcc", - "type": "string" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "merchantOrderReference", - "baseName": "merchantOrderReference", - "type": "string" - }, - { - "name": "merchantRiskIndicator", - "baseName": "merchantRiskIndicator", - "type": "MerchantRiskIndicator" - }, - { - "name": "metadata", - "baseName": "metadata", - "type": "{ [key: string]: string; }" - }, - { - "name": "mpiData", - "baseName": "mpiData", - "type": "ThreeDSecureData" - }, - { - "name": "order", - "baseName": "order", - "type": "CheckoutOrder" - }, - { - "name": "orderReference", - "baseName": "orderReference", - "type": "string" - }, - { - "name": "origin", - "baseName": "origin", - "type": "string" - }, - { - "name": "paymentMethod", - "baseName": "paymentMethod", - "type": "AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | LianLianPayDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails" - }, - { - "name": "recurringExpiry", - "baseName": "recurringExpiry", - "type": "string" - }, - { - "name": "recurringFrequency", - "baseName": "recurringFrequency", - "type": "string" - }, - { - "name": "recurringProcessingModel", - "baseName": "recurringProcessingModel", - "type": "PaymentDonationRequest.RecurringProcessingModelEnum" - }, - { - "name": "redirectFromIssuerMethod", - "baseName": "redirectFromIssuerMethod", - "type": "string" - }, - { - "name": "redirectToIssuerMethod", - "baseName": "redirectToIssuerMethod", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "returnUrl", - "baseName": "returnUrl", - "type": "string" - }, - { - "name": "riskData", - "baseName": "riskData", - "type": "RiskData" - }, - { - "name": "sessionValidity", - "baseName": "sessionValidity", - "type": "string" - }, - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "shopperIP", - "baseName": "shopperIP", - "type": "string" - }, - { - "name": "shopperInteraction", - "baseName": "shopperInteraction", - "type": "PaymentDonationRequest.ShopperInteractionEnum" - }, - { - "name": "shopperLocale", - "baseName": "shopperLocale", - "type": "string" - }, - { - "name": "shopperName", - "baseName": "shopperName", - "type": "Name" - }, - { - "name": "shopperReference", - "baseName": "shopperReference", - "type": "string" - }, - { - "name": "shopperStatement", - "baseName": "shopperStatement", - "type": "string" - }, - { - "name": "socialSecurityNumber", - "baseName": "socialSecurityNumber", - "type": "string" - }, - { - "name": "splits", - "baseName": "splits", - "type": "Array" - }, - { - "name": "store", - "baseName": "store", - "type": "string" - }, - { - "name": "storePaymentMethod", - "baseName": "storePaymentMethod", - "type": "boolean" - }, - { - "name": "telephoneNumber", - "baseName": "telephoneNumber", - "type": "string" - }, - { - "name": "threeDS2RequestData", - "baseName": "threeDS2RequestData", - "type": "ThreeDS2RequestData" - }, - { - "name": "threeDSAuthenticationOnly", - "baseName": "threeDSAuthenticationOnly", - "type": "boolean" - }, - { - "name": "trustedShopper", - "baseName": "trustedShopper", - "type": "boolean" - } ]; - - static getAttributeTypeMap() { - return PaymentDonationRequest.attributeTypeMap; - } } export namespace PaymentDonationRequest { export enum ChannelEnum { - IOs = 'iOS', + IOS = 'iOS', Android = 'Android', Web = 'Web' } @@ -627,6 +291,6 @@ export namespace PaymentDonationRequest { Ecommerce = 'Ecommerce', ContAuth = 'ContAuth', Moto = 'Moto', - Pos = 'POS' + POS = 'POS' } } diff --git a/src/typings/checkout/paymentLinkResource.ts b/src/typings/checkout/paymentLinkResource.ts deleted file mode 100644 index 5fcb7f5..0000000 --- a/src/typings/checkout/paymentLinkResource.ts +++ /dev/null @@ -1,330 +0,0 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` - * - * The version of the OpenAPI document: 68 - * Contact: developer-experience@adyen.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { Address } from './address'; -import { Amount } from './amount'; -import { ApplicationInfo } from './applicationInfo'; -import { LineItem } from './lineItem'; -import { Name } from './name'; -import { RiskData } from './riskData'; -import { Split } from './split'; - -export class PaymentLinkResource { - /** - * List of payment methods to be presented to the shopper. To refer to payment methods, use their `paymentMethod.type` from [Payment methods overview](https://docs.adyen.com/payment-methods). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` - */ - 'allowedPaymentMethods'?: Array; - 'amount': Amount; - 'applicationInfo'?: ApplicationInfo; - 'billingAddress'?: Address; - /** - * List of payment methods to be hidden from the shopper. To refer to payment methods, use their `paymentMethod.type` from [Payment methods overview](https://docs.adyen.com/payment-methods). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` - */ - 'blockedPaymentMethods'?: Array; - /** - * The shopper\'s two-letter country code. - */ - 'countryCode'?: string; - /** - * The date and time the purchased goods should be delivered. In ISO 8601 format. For example `2019-11-23T12:25:28Z`, or `2020-05-27T20:25:28+08:00`. - */ - 'deliverAt'?: Date; - 'deliveryAddress'?: Address; - /** - * A short description visible on the payment page. Maximum length: 280 characters. - */ - 'description'?: string; - /** - * The date that the payment link expires, in ISO 8601 format. For example `2019-11-23T12:25:28Z`, or `2020-05-27T20:25:28+08:00`. Maximum expiry date should be 70 days from when the payment link is created. If not provided, the default expiry is set to 24 hours after the payment link is created. - */ - 'expiresAt'?: string; - /** - * A unique identifier of the payment link. - */ - 'id': string; - /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, and Zip. - */ - 'lineItems'?: Array; - /** - * The merchant account identifier for which the payment link is created. - */ - 'merchantAccount': string; - /** - * This reference allows linking multiple transactions to each other for reporting purposes (for example, order auth-rate). The reference should be unique per billing cycle. - */ - 'merchantOrderReference'?: string; - /** - * Metadata settings to apply to the payment. - */ - 'metadata'?: { [key: string]: string; }; - /** - * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder\'s balance drops below a certain amount. - */ - 'recurringProcessingModel'?: PaymentLinkResource.RecurringProcessingModelEnum; - /** - * A reference that is used to uniquely identify the payment in future communications about the payment status. - */ - 'reference': string; - /** - * Website URL used for redirection after payment is completed. If provided, a **Continue** button will be shown on the payment page. If shoppers select the button, they are redirected to the specified URL. - */ - 'returnUrl'?: string; - /** - * Indicates whether the payment link can be reused for multiple payments. If not provided, this defaults to **false** which means the link can be used for one successful payment only. - */ - 'reusable'?: boolean; - 'riskData'?: RiskData; - /** - * The shopper\'s email address. - */ - 'shopperEmail'?: string; - /** - * The language to be used in the payment page, specified by a combination of a language and country code. For example, `en-US`. For a list of shopper locales that Pay by Link supports, refer to [Language and localization](https://docs.adyen.com/online-payments/pay-by-link#language-and-localization). - */ - 'shopperLocale'?: string; - 'shopperName'?: Name; - /** - * A unique identifier for the shopper (for example, user ID or account ID). - */ - 'shopperReference'?: string; - /** - * An array of objects specifying how the payment should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). - */ - 'splits'?: Array; - /** - * Status of the payment link. Possible values: * **active** * **expired** * **paymentPending** (v68 and above) * **completed** (v66 and above) * **paid** (v65 and below) - */ - 'status': PaymentLinkResource.StatusEnum; - /** - * The physical store, for which this payment is processed. - */ - 'store'?: string; - /** - * Indicates if the details of the payment method will be stored for the shopper. Possible values:* **disabled** – No details will be stored.* **askForConsent** – If the `shopperReference` is provided the shopper can decide whether or not the details will be stored.* **enabled** – If the `shopperReference` is provided the details will be stored without asking consent to the shopper. - */ - 'storePaymentMethodMode'?: PaymentLinkResource.StorePaymentMethodModeEnum; - /** - * The shopper\'s telephone number. - */ - 'telephoneNumber'?: string; - /** - * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/api#themes) to customize the appearance of the payment page.If not specified, the payment page is rendered according to the theme set as default in your Customer Area. - */ - 'themeId'?: string; - /** - * The URL at which the shopper can complete the payment. - */ - 'url': string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "allowedPaymentMethods", - "baseName": "allowedPaymentMethods", - "type": "Array" - }, - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "applicationInfo", - "baseName": "applicationInfo", - "type": "ApplicationInfo" - }, - { - "name": "billingAddress", - "baseName": "billingAddress", - "type": "Address" - }, - { - "name": "blockedPaymentMethods", - "baseName": "blockedPaymentMethods", - "type": "Array" - }, - { - "name": "countryCode", - "baseName": "countryCode", - "type": "string" - }, - { - "name": "deliverAt", - "baseName": "deliverAt", - "type": "Date" - }, - { - "name": "deliveryAddress", - "baseName": "deliveryAddress", - "type": "Address" - }, - { - "name": "description", - "baseName": "description", - "type": "string" - }, - { - "name": "expiresAt", - "baseName": "expiresAt", - "type": "string" - }, - { - "name": "id", - "baseName": "id", - "type": "string" - }, - { - "name": "lineItems", - "baseName": "lineItems", - "type": "Array" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "merchantOrderReference", - "baseName": "merchantOrderReference", - "type": "string" - }, - { - "name": "metadata", - "baseName": "metadata", - "type": "{ [key: string]: string; }" - }, - { - "name": "recurringProcessingModel", - "baseName": "recurringProcessingModel", - "type": "PaymentLinkResource.RecurringProcessingModelEnum" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "returnUrl", - "baseName": "returnUrl", - "type": "string" - }, - { - "name": "reusable", - "baseName": "reusable", - "type": "boolean" - }, - { - "name": "riskData", - "baseName": "riskData", - "type": "RiskData" - }, - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "shopperLocale", - "baseName": "shopperLocale", - "type": "string" - }, - { - "name": "shopperName", - "baseName": "shopperName", - "type": "Name" - }, - { - "name": "shopperReference", - "baseName": "shopperReference", - "type": "string" - }, - { - "name": "splits", - "baseName": "splits", - "type": "Array" - }, - { - "name": "status", - "baseName": "status", - "type": "PaymentLinkResource.StatusEnum" - }, - { - "name": "store", - "baseName": "store", - "type": "string" - }, - { - "name": "storePaymentMethodMode", - "baseName": "storePaymentMethodMode", - "type": "PaymentLinkResource.StorePaymentMethodModeEnum" - }, - { - "name": "telephoneNumber", - "baseName": "telephoneNumber", - "type": "string" - }, - { - "name": "themeId", - "baseName": "themeId", - "type": "string" - }, - { - "name": "url", - "baseName": "url", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return PaymentLinkResource.attributeTypeMap; - } -} - -export namespace PaymentLinkResource { - export enum RecurringProcessingModelEnum { - CardOnFile = 'CardOnFile', - Subscription = 'Subscription', - UnscheduledCardOnFile = 'UnscheduledCardOnFile' - } - export enum StatusEnum { - Active = 'active', - Completed = 'completed', - Expired = 'expired', - PaymentPending = 'paymentPending' - } - export enum StorePaymentMethodModeEnum { - AskForConsent = 'askForConsent', - Disabled = 'disabled', - Enabled = 'enabled' - } -} diff --git a/src/typings/checkout/paymentLinkResponse.ts b/src/typings/checkout/paymentLinkResponse.ts new file mode 100644 index 0000000..d35c13b --- /dev/null +++ b/src/typings/checkout/paymentLinkResponse.ts @@ -0,0 +1,188 @@ +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! + * + * The version of the OpenAPI document: 69 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { Address } from './address'; +import { Amount } from './amount'; +import { ApplicationInfo } from './applicationInfo'; +import { InstallmentOption } from './installmentOption'; +import { LineItem } from './lineItem'; +import { Name } from './name'; +import { RiskData } from './riskData'; +import { Split } from './split'; + +export class PaymentLinkResponse { + /** + * List of payment methods to be presented to the shopper. To refer to payment methods, use their `paymentMethod.type` from [Payment methods overview](https://docs.adyen.com/payment-methods). Example: `\"allowedPaymentMethods\":[\"ideal\",\"giropay\"]` + */ + 'allowedPaymentMethods'?: Array; + 'amount': Amount; + 'applicationInfo'?: ApplicationInfo; + 'billingAddress'?: Address; + /** + * List of payment methods to be hidden from the shopper. To refer to payment methods, use their `paymentMethod.type` from [Payment methods overview](https://docs.adyen.com/payment-methods). Example: `\"blockedPaymentMethods\":[\"ideal\",\"giropay\"]` + */ + 'blockedPaymentMethods'?: Array; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + 'captureDelayHours'?: number; + /** + * The shopper\'s two-letter country code. + */ + 'countryCode'?: string; + /** + * The shopper\'s date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + 'dateOfBirth'?: Date; + /** + * The date and time when the purchased goods should be delivered. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. + */ + 'deliverAt'?: Date; + 'deliveryAddress'?: Address; + /** + * A short description visible on the payment page. Maximum length: 280 characters. + */ + 'description'?: string; + /** + * The date when the payment link expires. [ISO 8601](https://www.w3.org/TR/NOTE-datetime) format: YYYY-MM-DDThh:mm:ss+TZD, for example, **2020-12-18T10:15:30+01:00**. The maximum expiry date is 70 days after the payment link is created. If not provided, the payment link expires 24 hours after it was created. + */ + 'expiresAt'?: string; + /** + * A unique identifier of the payment link. + */ + 'id': string; + /** + * A set of key-value pairs that specifies the installment options available per payment method. The key must be a payment method name in lowercase. For example, **card** to specify installment options for all cards, or **visa** or **mc**. The value must be an object containing the installment options. + */ + 'installmentOptions'?: { [key: string]: InstallmentOption; }; + /** + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. This parameter is required for open invoice (_buy now, pay later_) payment methods such Afterpay, Clearpay, Klarna, RatePay, and Zip. + */ + 'lineItems'?: Array; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + 'mcc'?: string; + /** + * The merchant account identifier for which the payment link is created. + */ + 'merchantAccount': string; + /** + * This reference allows linking multiple transactions to each other for reporting purposes (for example, order auth-rate). The reference should be unique per billing cycle. + */ + 'merchantOrderReference'?: string; + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: * Maximum 20 key-value pairs per request. Otherwise, error \"177\" occurs: \"Metadata size exceeds limit\" * Maximum 20 characters per key. Otherwise, error \"178\" occurs: \"Metadata key size exceeds limit\" * A key cannot have the name `checkout.linkId`. Any value that you provide with this key is going to be replaced by the real payment link ID. + */ + 'metadata'?: { [key: string]: string; }; + /** + * Defines a recurring payment type. Possible values: * **Subscription** – A transaction for a fixed or variable amount, which follows a fixed schedule. * **CardOnFile** – With a card-on-file (CoF) transaction, card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * **UnscheduledCardOnFile** – An unscheduled card-on-file (UCoF) transaction is a transaction that occurs on a non-fixed schedule and/or has variable amounts. For example, automatic top-ups when a cardholder\'s balance drops below a certain amount. + */ + 'recurringProcessingModel'?: PaymentLinkResponse.RecurringProcessingModelEnum; + /** + * A reference that is used to uniquely identify the payment in future communications about the payment status. + */ + 'reference': string; + /** + * List of fields that the shopper has to provide on the payment page before completing the payment. For more information, refer to [Provide shopper information](https://docs.adyen.com/unified-commerce/pay-by-link/payment-links/api#shopper-information). Possible values: * **billingAddress** – The address where to send the invoice. * **deliveryAddress** – The address where the purchased goods should be delivered. * **shopperEmail** – The shopper\'s email address. * **shopperName** – The shopper\'s full name. * **telephoneNumber** – The shopper\'s phone number. + */ + 'requiredShopperFields'?: Array; + /** + * Website URL used for redirection after payment is completed. If provided, a **Continue** button will be shown on the payment page. If shoppers select the button, they are redirected to the specified URL. + */ + 'returnUrl'?: string; + /** + * Indicates whether the payment link can be reused for multiple payments. If not provided, this defaults to **false** which means the link can be used for one successful payment only. + */ + 'reusable'?: boolean; + 'riskData'?: RiskData; + /** + * The shopper\'s email address. + */ + 'shopperEmail'?: string; + /** + * The language to be used in the payment page, specified by a combination of a language and country code. For example, `en-US`. For a list of shopper locales that Pay by Link supports, refer to [Language and localization](https://docs.adyen.com/online-payments/pay-by-link#language-and-localization). + */ + 'shopperLocale'?: string; + 'shopperName'?: Name; + /** + * Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address. + */ + 'shopperReference'?: string; + /** + * The text to be shown on the shopper\'s bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , \' _ - ? + * /_**. + */ + 'shopperStatement'?: string; + /** + * The shopper\'s social security number. + */ + 'socialSecurityNumber'?: string; + /** + * Boolean value indicating whether the card payment method should be split into separate debit and credit options. + */ + 'splitCardFundingSources'?: boolean; + /** + * An array of objects specifying how the payment should be split between accounts when using Adyen for Platforms. For details, refer to [Providing split information](https://docs.adyen.com/platforms/processing-payments#providing-split-information). + */ + 'splits'?: Array; + /** + * Status of the payment link. Possible values: * **active**: The link can be used to make payments. * **expired**: The expiry date for the payment link has passed. Shoppers can no longer use the link to make payments. * **completed**: The shopper completed the payment. * **paymentPending**: The shopper is in the process of making the payment. Applies to payment methods with an asynchronous flow. + */ + 'status': PaymentLinkResponse.StatusEnum; + /** + * The physical store, for which this payment is processed. + */ + 'store'?: string; + /** + * Indicates if the details of the payment method will be stored for the shopper. Possible values: * **disabled** – No details will be stored (default). * **askForConsent** – If the `shopperReference` is provided, the UI lets the shopper choose if they want their payment details to be stored. * **enabled** – If the `shopperReference` is provided, the details will be stored without asking the shopper for consent. + */ + 'storePaymentMethodMode'?: PaymentLinkResponse.StorePaymentMethodModeEnum; + /** + * The shopper\'s telephone number. + */ + 'telephoneNumber'?: string; + /** + * A [theme](https://docs.adyen.com/unified-commerce/pay-by-link/api#themes) to customize the appearance of the payment page. If not specified, the payment page is rendered according to the theme set as default in your Customer Area. + */ + 'themeId'?: string; + /** + * The URL at which the shopper can complete the payment. + */ + 'url': string; +} + +export namespace PaymentLinkResponse { + export enum RecurringProcessingModelEnum { + CardOnFile = 'CardOnFile', + Subscription = 'Subscription', + UnscheduledCardOnFile = 'UnscheduledCardOnFile' + } + export enum RequiredShopperFieldsEnum { + BillingAddress = 'billingAddress', + DeliveryAddress = 'deliveryAddress', + ShopperEmail = 'shopperEmail', + ShopperName = 'shopperName', + TelephoneNumber = 'telephoneNumber' + } + export enum StatusEnum { + Active = 'active', + Completed = 'completed', + Expired = 'expired', + Paid = 'paid', + PaymentPending = 'paymentPending' + } + export enum StorePaymentMethodModeEnum { + AskForConsent = 'askForConsent', + Disabled = 'disabled', + Enabled = 'enabled' + } +} diff --git a/src/typings/checkout/paymentMethod.ts b/src/typings/checkout/paymentMethod.ts index 1542e85..726d555 100644 --- a/src/typings/checkout/paymentMethod.ts +++ b/src/typings/checkout/paymentMethod.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { InputDetail } from './inputDetail'; import { PaymentMethodGroup } from './paymentMethodGroup'; import { PaymentMethodIssuer } from './paymentMethodIssuer'; @@ -68,59 +48,6 @@ export class PaymentMethod { * The unique payment method code. */ 'type'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "brand", - "baseName": "brand", - "type": "string" - }, - { - "name": "brands", - "baseName": "brands", - "type": "Array" - }, - { - "name": "configuration", - "baseName": "configuration", - "type": "{ [key: string]: string; }" - }, - { - "name": "fundingSource", - "baseName": "fundingSource", - "type": "PaymentMethod.FundingSourceEnum" - }, - { - "name": "group", - "baseName": "group", - "type": "PaymentMethodGroup" - }, - { - "name": "inputDetails", - "baseName": "inputDetails", - "type": "Array" - }, - { - "name": "issuers", - "baseName": "issuers", - "type": "Array" - }, - { - "name": "name", - "baseName": "name", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return PaymentMethod.attributeTypeMap; - } } export namespace PaymentMethod { diff --git a/src/typings/checkout/paymentMethodGroup.ts b/src/typings/checkout/paymentMethodGroup.ts index c8ecc93..266cb2a 100644 --- a/src/typings/checkout/paymentMethodGroup.ts +++ b/src/typings/checkout/paymentMethodGroup.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class PaymentMethodGroup { /** * The name of the group. @@ -44,28 +24,5 @@ export class PaymentMethodGroup { * The unique code of the group. */ 'type'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "name", - "baseName": "name", - "type": "string" - }, - { - "name": "paymentMethodData", - "baseName": "paymentMethodData", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return PaymentMethodGroup.attributeTypeMap; - } } diff --git a/src/typings/checkout/paymentMethodIssuer.ts b/src/typings/checkout/paymentMethodIssuer.ts index 8fd67bf..337967f 100644 --- a/src/typings/checkout/paymentMethodIssuer.ts +++ b/src/typings/checkout/paymentMethodIssuer.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class PaymentMethodIssuer { /** * A boolean value indicating whether this issuer is unavailable. Can be `true` whenever the issuer is offline. @@ -44,28 +24,5 @@ export class PaymentMethodIssuer { * A localized name of the issuer. */ 'name': string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "disabled", - "baseName": "disabled", - "type": "boolean" - }, - { - "name": "id", - "baseName": "id", - "type": "string" - }, - { - "name": "name", - "baseName": "name", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return PaymentMethodIssuer.attributeTypeMap; - } } diff --git a/src/typings/checkout/paymentMethodsRequest.ts b/src/typings/checkout/paymentMethodsRequest.ts index 5b0ee95..dbcded1 100644 --- a/src/typings/checkout/paymentMethodsRequest.ts +++ b/src/typings/checkout/paymentMethodsRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; import { CheckoutOrder } from './checkoutOrder'; @@ -76,79 +56,11 @@ export class PaymentMethodsRequest { * The ecommerce or point-of-sale store that is processing the payment. Used in [partner arrangement integrations](https://docs.adyen.com/platforms/platforms-for-partners#route-payments) for Adyen for Platforms. */ 'store'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "additionalData", - "baseName": "additionalData", - "type": "{ [key: string]: string; }" - }, - { - "name": "allowedPaymentMethods", - "baseName": "allowedPaymentMethods", - "type": "Array" - }, - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "blockedPaymentMethods", - "baseName": "blockedPaymentMethods", - "type": "Array" - }, - { - "name": "channel", - "baseName": "channel", - "type": "PaymentMethodsRequest.ChannelEnum" - }, - { - "name": "countryCode", - "baseName": "countryCode", - "type": "string" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "order", - "baseName": "order", - "type": "CheckoutOrder" - }, - { - "name": "shopperLocale", - "baseName": "shopperLocale", - "type": "string" - }, - { - "name": "shopperReference", - "baseName": "shopperReference", - "type": "string" - }, - { - "name": "splitCardFundingSources", - "baseName": "splitCardFundingSources", - "type": "boolean" - }, - { - "name": "store", - "baseName": "store", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return PaymentMethodsRequest.attributeTypeMap; - } } export namespace PaymentMethodsRequest { export enum ChannelEnum { - IOs = 'iOS', + IOS = 'iOS', Android = 'Android', Web = 'Web' } diff --git a/src/typings/checkout/paymentMethodsResponse.ts b/src/typings/checkout/paymentMethodsResponse.ts index fadc602..eed18b7 100644 --- a/src/typings/checkout/paymentMethodsResponse.ts +++ b/src/typings/checkout/paymentMethodsResponse.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { PaymentMethod } from './paymentMethod'; import { StoredPaymentMethod } from './storedPaymentMethod'; @@ -42,23 +22,5 @@ export class PaymentMethodsResponse { * List of all stored payment methods. */ 'storedPaymentMethods'?: Array; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "paymentMethods", - "baseName": "paymentMethods", - "type": "Array" - }, - { - "name": "storedPaymentMethods", - "baseName": "storedPaymentMethods", - "type": "Array" - } ]; - - static getAttributeTypeMap() { - return PaymentMethodsResponse.attributeTypeMap; - } } diff --git a/src/typings/checkout/paymentRefundResource.ts b/src/typings/checkout/paymentRefundResource.ts index 3f3a719..af1d007 100644 --- a/src/typings/checkout/paymentRefundResource.ts +++ b/src/typings/checkout/paymentRefundResource.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,13 +10,17 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; +import { LineItem } from './lineItem'; import { Split } from './split'; export class PaymentRefundResource { 'amount': Amount; /** + * Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Zip and Atome. + */ + 'lineItems'?: Array; + /** * The merchant account that is used to process the payment. */ 'merchantAccount': string; @@ -59,49 +44,6 @@ export class PaymentRefundResource { * The status of your request. This will always have the value **received**. */ 'status': PaymentRefundResource.StatusEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "paymentPspReference", - "baseName": "paymentPspReference", - "type": "string" - }, - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "splits", - "baseName": "splits", - "type": "Array" - }, - { - "name": "status", - "baseName": "status", - "type": "PaymentRefundResource.StatusEnum" - } ]; - - static getAttributeTypeMap() { - return PaymentRefundResource.attributeTypeMap; - } } export namespace PaymentRefundResource { diff --git a/src/typings/checkout/paymentRequest.ts b/src/typings/checkout/paymentRequest.ts index 79952ac..8e64891 100644 --- a/src/typings/checkout/paymentRequest.ts +++ b/src/typings/checkout/paymentRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { AccountInfo } from './accountInfo'; import { AchDetails } from './achDetails'; import { Address } from './address'; @@ -39,6 +19,7 @@ import { Amount } from './amount'; import { AndroidPayDetails } from './androidPayDetails'; import { ApplePayDetails } from './applePayDetails'; import { ApplicationInfo } from './applicationInfo'; +import { AuthenticationData } from './authenticationData'; import { BacsDirectDebitDetails } from './bacsDirectDebitDetails'; import { BillDeskDetails } from './billDeskDetails'; import { BlikDetails } from './blikDetails'; @@ -58,7 +39,6 @@ import { GooglePayDetails } from './googlePayDetails'; import { IdealDetails } from './idealDetails'; import { Installments } from './installments'; import { KlarnaDetails } from './klarnaDetails'; -import { LianLianPayDetails } from './lianLianPayDetails'; import { LineItem } from './lineItem'; import { Mandate } from './mandate'; import { MasterpassDetails } from './masterpassDetails'; @@ -80,7 +60,8 @@ import { Split } from './split'; import { StoredPaymentMethodDetails } from './storedPaymentMethodDetails'; import { ThreeDS2RequestData } from './threeDS2RequestData'; import { ThreeDSecureData } from './threeDSecureData'; -import { UpiDetails } from './upiDetails'; +import { UpiCollectDetails } from './upiCollectDetails'; +import { UpiIntentDetails } from './upiIntentDetails'; import { VippsDetails } from './vippsDetails'; import { VisaCheckoutDetails } from './visaCheckoutDetails'; import { WeChatPayDetails } from './weChatPayDetails'; @@ -95,6 +76,7 @@ export class PaymentRequest { 'additionalData'?: { [key: string]: string; }; 'amount': Amount; 'applicationInfo'?: ApplicationInfo; + 'authenticationData'?: AuthenticationData; 'billingAddress'?: Address; 'browserInfo'?: BrowserInfo; /** @@ -154,7 +136,7 @@ export class PaymentRequest { 'fraudOffset'?: number; 'installments'?: Installments; /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Zip and Atome. */ 'lineItems'?: Array; 'mandate'?: Mandate; @@ -188,7 +170,7 @@ export class PaymentRequest { /** * The type and required details of a payment method to use. */ - 'paymentMethod': AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | LianLianPayDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails; + 'paymentMethod': AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiCollectDetails | UpiIntentDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails; /** * Date after which no further authorisations shall be performed. Only for 3D Secure 2. */ @@ -244,7 +226,7 @@ export class PaymentRequest { */ 'shopperReference'?: string; /** - * The text to be shown on the shopper\'s bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new). We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. + * The text to be shown on the shopper\'s bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , \' _ - ? + * /_**. */ 'shopperStatement'?: string; /** @@ -276,314 +258,11 @@ export class PaymentRequest { * Set to true if the payment should be routed to a trusted MID. */ 'trustedShopper'?: boolean; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "accountInfo", - "baseName": "accountInfo", - "type": "AccountInfo" - }, - { - "name": "additionalData", - "baseName": "additionalData", - "type": "{ [key: string]: string; }" - }, - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "applicationInfo", - "baseName": "applicationInfo", - "type": "ApplicationInfo" - }, - { - "name": "billingAddress", - "baseName": "billingAddress", - "type": "Address" - }, - { - "name": "browserInfo", - "baseName": "browserInfo", - "type": "BrowserInfo" - }, - { - "name": "captureDelayHours", - "baseName": "captureDelayHours", - "type": "number" - }, - { - "name": "channel", - "baseName": "channel", - "type": "PaymentRequest.ChannelEnum" - }, - { - "name": "checkoutAttemptId", - "baseName": "checkoutAttemptId", - "type": "string" - }, - { - "name": "company", - "baseName": "company", - "type": "Company" - }, - { - "name": "conversionId", - "baseName": "conversionId", - "type": "string" - }, - { - "name": "countryCode", - "baseName": "countryCode", - "type": "string" - }, - { - "name": "dateOfBirth", - "baseName": "dateOfBirth", - "type": "Date" - }, - { - "name": "dccQuote", - "baseName": "dccQuote", - "type": "ForexQuote" - }, - { - "name": "deliveryAddress", - "baseName": "deliveryAddress", - "type": "Address" - }, - { - "name": "deliveryDate", - "baseName": "deliveryDate", - "type": "Date" - }, - { - "name": "deviceFingerprint", - "baseName": "deviceFingerprint", - "type": "string" - }, - { - "name": "enableOneClick", - "baseName": "enableOneClick", - "type": "boolean" - }, - { - "name": "enablePayOut", - "baseName": "enablePayOut", - "type": "boolean" - }, - { - "name": "enableRecurring", - "baseName": "enableRecurring", - "type": "boolean" - }, - { - "name": "entityType", - "baseName": "entityType", - "type": "PaymentRequest.EntityTypeEnum" - }, - { - "name": "fraudOffset", - "baseName": "fraudOffset", - "type": "number" - }, - { - "name": "installments", - "baseName": "installments", - "type": "Installments" - }, - { - "name": "lineItems", - "baseName": "lineItems", - "type": "Array" - }, - { - "name": "mandate", - "baseName": "mandate", - "type": "Mandate" - }, - { - "name": "mcc", - "baseName": "mcc", - "type": "string" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "merchantOrderReference", - "baseName": "merchantOrderReference", - "type": "string" - }, - { - "name": "merchantRiskIndicator", - "baseName": "merchantRiskIndicator", - "type": "MerchantRiskIndicator" - }, - { - "name": "metadata", - "baseName": "metadata", - "type": "{ [key: string]: string; }" - }, - { - "name": "mpiData", - "baseName": "mpiData", - "type": "ThreeDSecureData" - }, - { - "name": "order", - "baseName": "order", - "type": "CheckoutOrder" - }, - { - "name": "orderReference", - "baseName": "orderReference", - "type": "string" - }, - { - "name": "origin", - "baseName": "origin", - "type": "string" - }, - { - "name": "paymentMethod", - "baseName": "paymentMethod", - "type": "AchDetails | AfterpayDetails | AmazonPayDetails | AndroidPayDetails | ApplePayDetails | BacsDirectDebitDetails | BillDeskDetails | BlikDetails | CardDetails | CellulantDetails | DokuDetails | DotpayDetails | DragonpayDetails | EcontextVoucherDetails | GenericIssuerPaymentMethodDetails | GiropayDetails | GooglePayDetails | IdealDetails | KlarnaDetails | LianLianPayDetails | MasterpassDetails | MbwayDetails | MobilePayDetails | MolPayDetails | OpenInvoiceDetails | PayPalDetails | PayUUpiDetails | PayWithGoogleDetails | PaymentDetails | RatepayDetails | SamsungPayDetails | SepaDirectDebitDetails | StoredPaymentMethodDetails | UpiDetails | VippsDetails | VisaCheckoutDetails | WeChatPayDetails | WeChatPayMiniProgramDetails | ZipDetails" - }, - { - "name": "recurringExpiry", - "baseName": "recurringExpiry", - "type": "string" - }, - { - "name": "recurringFrequency", - "baseName": "recurringFrequency", - "type": "string" - }, - { - "name": "recurringProcessingModel", - "baseName": "recurringProcessingModel", - "type": "PaymentRequest.RecurringProcessingModelEnum" - }, - { - "name": "redirectFromIssuerMethod", - "baseName": "redirectFromIssuerMethod", - "type": "string" - }, - { - "name": "redirectToIssuerMethod", - "baseName": "redirectToIssuerMethod", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "returnUrl", - "baseName": "returnUrl", - "type": "string" - }, - { - "name": "riskData", - "baseName": "riskData", - "type": "RiskData" - }, - { - "name": "sessionValidity", - "baseName": "sessionValidity", - "type": "string" - }, - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "shopperIP", - "baseName": "shopperIP", - "type": "string" - }, - { - "name": "shopperInteraction", - "baseName": "shopperInteraction", - "type": "PaymentRequest.ShopperInteractionEnum" - }, - { - "name": "shopperLocale", - "baseName": "shopperLocale", - "type": "string" - }, - { - "name": "shopperName", - "baseName": "shopperName", - "type": "Name" - }, - { - "name": "shopperReference", - "baseName": "shopperReference", - "type": "string" - }, - { - "name": "shopperStatement", - "baseName": "shopperStatement", - "type": "string" - }, - { - "name": "socialSecurityNumber", - "baseName": "socialSecurityNumber", - "type": "string" - }, - { - "name": "splits", - "baseName": "splits", - "type": "Array" - }, - { - "name": "store", - "baseName": "store", - "type": "string" - }, - { - "name": "storePaymentMethod", - "baseName": "storePaymentMethod", - "type": "boolean" - }, - { - "name": "telephoneNumber", - "baseName": "telephoneNumber", - "type": "string" - }, - { - "name": "threeDS2RequestData", - "baseName": "threeDS2RequestData", - "type": "ThreeDS2RequestData" - }, - { - "name": "threeDSAuthenticationOnly", - "baseName": "threeDSAuthenticationOnly", - "type": "boolean" - }, - { - "name": "trustedShopper", - "baseName": "trustedShopper", - "type": "boolean" - } ]; - - static getAttributeTypeMap() { - return PaymentRequest.attributeTypeMap; - } } export namespace PaymentRequest { export enum ChannelEnum { - IOs = 'iOS', + IOS = 'iOS', Android = 'Android', Web = 'Web' } @@ -600,6 +279,6 @@ export namespace PaymentRequest { Ecommerce = 'Ecommerce', ContAuth = 'ContAuth', Moto = 'Moto', - Pos = 'POS' + POS = 'POS' } } diff --git a/src/typings/checkout/paymentResponse.ts b/src/typings/checkout/paymentResponse.ts index e10f2a9..709acab 100644 --- a/src/typings/checkout/paymentResponse.ts +++ b/src/typings/checkout/paymentResponse.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Amount } from './amount'; import { CheckoutAwaitAction } from './checkoutAwaitAction'; import { CheckoutBankTransferAction } from './checkoutBankTransferAction'; @@ -42,6 +22,7 @@ import { CheckoutSDKAction } from './checkoutSDKAction'; import { CheckoutThreeDS2Action } from './checkoutThreeDS2Action'; import { CheckoutVoucherAction } from './checkoutVoucherAction'; import { FraudResult } from './fraudResult'; +import { ResponsePaymentMethod } from './responsePaymentMethod'; import { ThreeDS2ResponseData } from './threeDS2ResponseData'; import { ThreeDS2Result } from './threeDS2Result'; @@ -65,6 +46,7 @@ export class PaymentResponse { */ 'merchantReference'?: string; 'order'?: CheckoutOrderResponse; + 'paymentMethod'?: ResponsePaymentMethod; /** * Adyen\'s 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > For payment methods that require a redirect or additional action, you will get this value in the `/payments/details` response. */ @@ -87,84 +69,6 @@ export class PaymentResponse { * When non-empty, contains a value that you must submit to the `/payments/details` endpoint as `paymentData`. */ 'threeDSPaymentData'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "action", - "baseName": "action", - "type": "CheckoutAwaitAction | CheckoutBankTransferAction | CheckoutDonationAction | CheckoutOneTimePasscodeAction | CheckoutQrCodeAction | CheckoutRedirectAction | CheckoutSDKAction | CheckoutThreeDS2Action | CheckoutVoucherAction" - }, - { - "name": "additionalData", - "baseName": "additionalData", - "type": "{ [key: string]: string; }" - }, - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "donationToken", - "baseName": "donationToken", - "type": "string" - }, - { - "name": "fraudResult", - "baseName": "fraudResult", - "type": "FraudResult" - }, - { - "name": "merchantReference", - "baseName": "merchantReference", - "type": "string" - }, - { - "name": "order", - "baseName": "order", - "type": "CheckoutOrderResponse" - }, - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - }, - { - "name": "refusalReason", - "baseName": "refusalReason", - "type": "string" - }, - { - "name": "refusalReasonCode", - "baseName": "refusalReasonCode", - "type": "string" - }, - { - "name": "resultCode", - "baseName": "resultCode", - "type": "PaymentResponse.ResultCodeEnum" - }, - { - "name": "threeDS2ResponseData", - "baseName": "threeDS2ResponseData", - "type": "ThreeDS2ResponseData" - }, - { - "name": "threeDS2Result", - "baseName": "threeDS2Result", - "type": "ThreeDS2Result" - }, - { - "name": "threeDSPaymentData", - "baseName": "threeDSPaymentData", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return PaymentResponse.attributeTypeMap; - } } export namespace PaymentResponse { diff --git a/src/typings/checkout/paymentReversalResource.ts b/src/typings/checkout/paymentReversalResource.ts index 8ca2be9..2634d9d 100644 --- a/src/typings/checkout/paymentReversalResource.ts +++ b/src/typings/checkout/paymentReversalResource.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class PaymentReversalResource { /** * The merchant account that is used to process the payment. @@ -52,39 +32,6 @@ export class PaymentReversalResource { * The status of your request. This will always have the value **received**. */ 'status': PaymentReversalResource.StatusEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "paymentPspReference", - "baseName": "paymentPspReference", - "type": "string" - }, - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "status", - "baseName": "status", - "type": "PaymentReversalResource.StatusEnum" - } ]; - - static getAttributeTypeMap() { - return PaymentReversalResource.attributeTypeMap; - } } export namespace PaymentReversalResource { diff --git a/src/typings/checkout/paymentSetupRequest.ts b/src/typings/checkout/paymentSetupRequest.ts index 236d27c..82f477f 100644 --- a/src/typings/checkout/paymentSetupRequest.ts +++ b/src/typings/checkout/paymentSetupRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Address } from './address'; import { Amount } from './amount'; import { ApplicationInfo } from './applicationInfo'; @@ -113,7 +93,7 @@ export class PaymentSetupRequest { 'fraudOffset'?: number; 'installments'?: Installments; /** - * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, and Zip. + * Price and product information about the purchased items, to be included on the invoice sent to the shopper. > This field is required for 3x 4x Oney, Affirm, Afterpay, Clearpay, Klarna, Ratepay, Zip and Atome. */ 'lineItems'?: Array; 'mandate'?: Mandate; @@ -188,7 +168,7 @@ export class PaymentSetupRequest { */ 'shopperReference'?: string; /** - * The text to be shown on the shopper\'s bank statement. To enable this field, contact our [Support Team](https://support.adyen.com/hc/en-us/requests/new). We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. + * The text to be shown on the shopper\'s bank statement. We recommend sending a maximum of 22 characters, otherwise banks might truncate the string. Allowed characters: **a-z**, **A-Z**, **0-9**, spaces, and special characters **. , \' _ - ? + * /_**. */ 'shopperStatement'?: string; /** @@ -223,284 +203,11 @@ export class PaymentSetupRequest { * Set to true if the payment should be routed to a trusted MID. */ 'trustedShopper'?: boolean; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "additionalData", - "baseName": "additionalData", - "type": "{ [key: string]: string; }" - }, - { - "name": "allowedPaymentMethods", - "baseName": "allowedPaymentMethods", - "type": "Array" - }, - { - "name": "amount", - "baseName": "amount", - "type": "Amount" - }, - { - "name": "applicationInfo", - "baseName": "applicationInfo", - "type": "ApplicationInfo" - }, - { - "name": "billingAddress", - "baseName": "billingAddress", - "type": "Address" - }, - { - "name": "blockedPaymentMethods", - "baseName": "blockedPaymentMethods", - "type": "Array" - }, - { - "name": "captureDelayHours", - "baseName": "captureDelayHours", - "type": "number" - }, - { - "name": "channel", - "baseName": "channel", - "type": "PaymentSetupRequest.ChannelEnum" - }, - { - "name": "checkoutAttemptId", - "baseName": "checkoutAttemptId", - "type": "string" - }, - { - "name": "company", - "baseName": "company", - "type": "Company" - }, - { - "name": "configuration", - "baseName": "configuration", - "type": "Configuration" - }, - { - "name": "conversionId", - "baseName": "conversionId", - "type": "string" - }, - { - "name": "countryCode", - "baseName": "countryCode", - "type": "string" - }, - { - "name": "dateOfBirth", - "baseName": "dateOfBirth", - "type": "Date" - }, - { - "name": "dccQuote", - "baseName": "dccQuote", - "type": "ForexQuote" - }, - { - "name": "deliveryAddress", - "baseName": "deliveryAddress", - "type": "Address" - }, - { - "name": "deliveryDate", - "baseName": "deliveryDate", - "type": "Date" - }, - { - "name": "enableOneClick", - "baseName": "enableOneClick", - "type": "boolean" - }, - { - "name": "enablePayOut", - "baseName": "enablePayOut", - "type": "boolean" - }, - { - "name": "enableRecurring", - "baseName": "enableRecurring", - "type": "boolean" - }, - { - "name": "entityType", - "baseName": "entityType", - "type": "PaymentSetupRequest.EntityTypeEnum" - }, - { - "name": "fraudOffset", - "baseName": "fraudOffset", - "type": "number" - }, - { - "name": "installments", - "baseName": "installments", - "type": "Installments" - }, - { - "name": "lineItems", - "baseName": "lineItems", - "type": "Array" - }, - { - "name": "mandate", - "baseName": "mandate", - "type": "Mandate" - }, - { - "name": "mcc", - "baseName": "mcc", - "type": "string" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "merchantOrderReference", - "baseName": "merchantOrderReference", - "type": "string" - }, - { - "name": "metadata", - "baseName": "metadata", - "type": "{ [key: string]: string; }" - }, - { - "name": "orderReference", - "baseName": "orderReference", - "type": "string" - }, - { - "name": "origin", - "baseName": "origin", - "type": "string" - }, - { - "name": "recurringExpiry", - "baseName": "recurringExpiry", - "type": "string" - }, - { - "name": "recurringFrequency", - "baseName": "recurringFrequency", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "returnUrl", - "baseName": "returnUrl", - "type": "string" - }, - { - "name": "riskData", - "baseName": "riskData", - "type": "RiskData" - }, - { - "name": "sdkVersion", - "baseName": "sdkVersion", - "type": "string" - }, - { - "name": "sessionValidity", - "baseName": "sessionValidity", - "type": "string" - }, - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "shopperIP", - "baseName": "shopperIP", - "type": "string" - }, - { - "name": "shopperInteraction", - "baseName": "shopperInteraction", - "type": "PaymentSetupRequest.ShopperInteractionEnum" - }, - { - "name": "shopperLocale", - "baseName": "shopperLocale", - "type": "string" - }, - { - "name": "shopperName", - "baseName": "shopperName", - "type": "Name" - }, - { - "name": "shopperReference", - "baseName": "shopperReference", - "type": "string" - }, - { - "name": "shopperStatement", - "baseName": "shopperStatement", - "type": "string" - }, - { - "name": "socialSecurityNumber", - "baseName": "socialSecurityNumber", - "type": "string" - }, - { - "name": "splits", - "baseName": "splits", - "type": "Array" - }, - { - "name": "store", - "baseName": "store", - "type": "string" - }, - { - "name": "storePaymentMethod", - "baseName": "storePaymentMethod", - "type": "boolean" - }, - { - "name": "telephoneNumber", - "baseName": "telephoneNumber", - "type": "string" - }, - { - "name": "threeDSAuthenticationOnly", - "baseName": "threeDSAuthenticationOnly", - "type": "boolean" - }, - { - "name": "token", - "baseName": "token", - "type": "string" - }, - { - "name": "trustedShopper", - "baseName": "trustedShopper", - "type": "boolean" - } ]; - - static getAttributeTypeMap() { - return PaymentSetupRequest.attributeTypeMap; - } } export namespace PaymentSetupRequest { export enum ChannelEnum { - IOs = 'iOS', + IOS = 'iOS', Android = 'Android', Web = 'Web' } @@ -512,6 +219,6 @@ export namespace PaymentSetupRequest { Ecommerce = 'Ecommerce', ContAuth = 'ContAuth', Moto = 'Moto', - Pos = 'POS' + POS = 'POS' } } diff --git a/src/typings/checkout/paymentSetupResponse.ts b/src/typings/checkout/paymentSetupResponse.ts index 4323e3b..3bf795b 100644 --- a/src/typings/checkout/paymentSetupResponse.ts +++ b/src/typings/checkout/paymentSetupResponse.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { RecurringDetail } from './recurringDetail'; export class PaymentSetupResponse { @@ -41,23 +21,5 @@ export class PaymentSetupResponse { * The detailed list of stored payment details required to generate payment forms. Will be empty if oneClick is set to false in the request. */ 'recurringDetails'?: Array; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "paymentSession", - "baseName": "paymentSession", - "type": "string" - }, - { - "name": "recurringDetails", - "baseName": "recurringDetails", - "type": "Array" - } ]; - - static getAttributeTypeMap() { - return PaymentSetupResponse.attributeTypeMap; - } } diff --git a/src/typings/checkout/paymentVerificationRequest.ts b/src/typings/checkout/paymentVerificationRequest.ts index fb38722..b3fed4a 100644 --- a/src/typings/checkout/paymentVerificationRequest.ts +++ b/src/typings/checkout/paymentVerificationRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,24 +11,10 @@ */ - export class PaymentVerificationRequest { /** * Encrypted and signed payment result data. You should receive this value from the Checkout SDK after the shopper completes the payment. */ 'payload': string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "payload", - "baseName": "payload", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return PaymentVerificationRequest.attributeTypeMap; - } } diff --git a/src/typings/checkout/paymentVerificationResponse.ts b/src/typings/checkout/paymentVerificationResponse.ts index 5a392b0..f49c46e 100644 --- a/src/typings/checkout/paymentVerificationResponse.ts +++ b/src/typings/checkout/paymentVerificationResponse.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { CheckoutOrderResponse } from './checkoutOrderResponse'; import { FraudResult } from './fraudResult'; import { ServiceError2 } from './serviceError2'; @@ -46,10 +26,6 @@ export class PaymentVerificationResponse { 'merchantReference': string; 'order'?: CheckoutOrderResponse; /** - * The payment method used in the transaction. - */ - 'paymentMethod': string; - /** * Adyen\'s 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. */ 'pspReference'?: string; @@ -70,69 +46,6 @@ export class PaymentVerificationResponse { * The shopperLocale value provided in the payment request. */ 'shopperLocale': string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "additionalData", - "baseName": "additionalData", - "type": "{ [key: string]: string; }" - }, - { - "name": "fraudResult", - "baseName": "fraudResult", - "type": "FraudResult" - }, - { - "name": "merchantReference", - "baseName": "merchantReference", - "type": "string" - }, - { - "name": "order", - "baseName": "order", - "type": "CheckoutOrderResponse" - }, - { - "name": "paymentMethod", - "baseName": "paymentMethod", - "type": "string" - }, - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - }, - { - "name": "refusalReason", - "baseName": "refusalReason", - "type": "string" - }, - { - "name": "refusalReasonCode", - "baseName": "refusalReasonCode", - "type": "string" - }, - { - "name": "resultCode", - "baseName": "resultCode", - "type": "PaymentVerificationResponse.ResultCodeEnum" - }, - { - "name": "serviceError", - "baseName": "serviceError", - "type": "ServiceError2" - }, - { - "name": "shopperLocale", - "baseName": "shopperLocale", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return PaymentVerificationResponse.attributeTypeMap; - } } export namespace PaymentVerificationResponse { diff --git a/src/typings/checkout/phone.ts b/src/typings/checkout/phone.ts index 36ab29d..753ca28 100644 --- a/src/typings/checkout/phone.ts +++ b/src/typings/checkout/phone.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,27 +11,14 @@ */ - export class Phone { + /** + * Country code. Length: 1–3 characters. + */ 'cc'?: string; + /** + * Subscriber number. Maximum length: 15 characters. + */ 'subscriber'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "cc", - "baseName": "cc", - "type": "string" - }, - { - "name": "subscriber", - "baseName": "subscriber", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return Phone.attributeTypeMap; - } } diff --git a/src/typings/checkout/qiwiWalletDetails.ts b/src/typings/checkout/qiwiWalletDetails.ts deleted file mode 100644 index 4a7684c..0000000 --- a/src/typings/checkout/qiwiWalletDetails.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` - * - * The version of the OpenAPI document: 67 - * Contact: developer-experience@adyen.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -export class QiwiWalletDetails { - 'telephoneNumber': string; - /** - * **qiwiwallet** - */ - 'type'?: QiwiWalletDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "telephoneNumber", - "baseName": "telephoneNumber", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "QiwiWalletDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return QiwiWalletDetails.attributeTypeMap; - } -} - -export namespace QiwiWalletDetails { - export enum TypeEnum { - Qiwiwallet = 'qiwiwallet' - } -} diff --git a/src/typings/checkout/ratepayDetails.ts b/src/typings/checkout/ratepayDetails.ts index ae94c67..36d4b3d 100644 --- a/src/typings/checkout/ratepayDetails.ts +++ b/src/typings/checkout/ratepayDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class RatepayDetails { /** * The address where to send the invoice. @@ -56,48 +36,11 @@ export class RatepayDetails { * **ratepay** */ 'type': RatepayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "billingAddress", - "baseName": "billingAddress", - "type": "string" - }, - { - "name": "deliveryAddress", - "baseName": "deliveryAddress", - "type": "string" - }, - { - "name": "personalDetails", - "baseName": "personalDetails", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "RatepayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return RatepayDetails.attributeTypeMap; - } } export namespace RatepayDetails { export enum TypeEnum { - Ratepay = 'ratepay' + Ratepay = 'ratepay', + RatepayDirectdebit = 'ratepay_directdebit' } } diff --git a/src/typings/checkout/recurring.ts b/src/typings/checkout/recurring.ts index b3bce05..a650f04 100644 --- a/src/typings/checkout/recurring.ts +++ b/src/typings/checkout/recurring.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class Recurring { /** * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). @@ -52,49 +32,16 @@ export class Recurring { * The name of the token service. */ 'tokenService'?: Recurring.TokenServiceEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "contract", - "baseName": "contract", - "type": "Recurring.ContractEnum" - }, - { - "name": "recurringDetailName", - "baseName": "recurringDetailName", - "type": "string" - }, - { - "name": "recurringExpiry", - "baseName": "recurringExpiry", - "type": "Date" - }, - { - "name": "recurringFrequency", - "baseName": "recurringFrequency", - "type": "string" - }, - { - "name": "tokenService", - "baseName": "tokenService", - "type": "Recurring.TokenServiceEnum" - } ]; - - static getAttributeTypeMap() { - return Recurring.attributeTypeMap; - } } export namespace Recurring { export enum ContractEnum { - Oneclick = 'ONECLICK', - Recurring = 'RECURRING', - Payout = 'PAYOUT' + ONECLICK = 'ONECLICK', + RECURRING = 'RECURRING', + PAYOUT = 'PAYOUT' } export enum TokenServiceEnum { - Visatokenservice = 'VISATOKENSERVICE', - Mctokenservice = 'MCTOKENSERVICE' + VISATOKENSERVICE = 'VISATOKENSERVICE', + MCTOKENSERVICE = 'MCTOKENSERVICE' } } diff --git a/src/typings/checkout/recurringDetail.ts b/src/typings/checkout/recurringDetail.ts index d989b8c..eea633f 100644 --- a/src/typings/checkout/recurringDetail.ts +++ b/src/typings/checkout/recurringDetail.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { InputDetail } from './inputDetail'; import { PaymentMethodGroup } from './paymentMethodGroup'; import { PaymentMethodIssuer } from './paymentMethodIssuer'; @@ -74,69 +54,6 @@ export class RecurringDetail { * The unique payment method code. */ 'type'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "brand", - "baseName": "brand", - "type": "string" - }, - { - "name": "brands", - "baseName": "brands", - "type": "Array" - }, - { - "name": "configuration", - "baseName": "configuration", - "type": "{ [key: string]: string; }" - }, - { - "name": "fundingSource", - "baseName": "fundingSource", - "type": "RecurringDetail.FundingSourceEnum" - }, - { - "name": "group", - "baseName": "group", - "type": "PaymentMethodGroup" - }, - { - "name": "inputDetails", - "baseName": "inputDetails", - "type": "Array" - }, - { - "name": "issuers", - "baseName": "issuers", - "type": "Array" - }, - { - "name": "name", - "baseName": "name", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedDetails", - "baseName": "storedDetails", - "type": "StoredDetails" - }, - { - "name": "type", - "baseName": "type", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return RecurringDetail.attributeTypeMap; - } } export namespace RecurringDetail { diff --git a/src/typings/checkout/redirect.ts b/src/typings/checkout/redirect.ts index abac106..28d2693 100644 --- a/src/typings/checkout/redirect.ts +++ b/src/typings/checkout/redirect.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class Redirect { /** * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. @@ -44,34 +24,11 @@ export class Redirect { * The URL, to which you must redirect a shopper to complete a payment. */ 'url'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "data", - "baseName": "data", - "type": "{ [key: string]: string; }" - }, - { - "name": "method", - "baseName": "method", - "type": "Redirect.MethodEnum" - }, - { - "name": "url", - "baseName": "url", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return Redirect.attributeTypeMap; - } } export namespace Redirect { export enum MethodEnum { - Get = 'GET', - Post = 'POST' + GET = 'GET', + POST = 'POST' } } diff --git a/src/typings/checkout/responseAdditionalData3DSecure.ts b/src/typings/checkout/responseAdditionalData3DSecure.ts index 4b08d1c..193e47e 100644 --- a/src/typings/checkout/responseAdditionalData3DSecure.ts +++ b/src/typings/checkout/responseAdditionalData3DSecure.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class ResponseAdditionalData3DSecure { /** * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. @@ -51,39 +31,6 @@ export class ResponseAdditionalData3DSecure { /** * Indicates whether a card is enrolled for 3D Secure 2. */ - 'threeds2_cardEnrolled'?: boolean; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "cardHolderInfo", - "baseName": "cardHolderInfo", - "type": "string" - }, - { - "name": "cavv", - "baseName": "cavv", - "type": "string" - }, - { - "name": "cavvAlgorithm", - "baseName": "cavvAlgorithm", - "type": "string" - }, - { - "name": "scaExemptionRequested", - "baseName": "scaExemptionRequested", - "type": "string" - }, - { - "name": "threeds2_cardEnrolled", - "baseName": "threeds2.cardEnrolled", - "type": "boolean" - } ]; - - static getAttributeTypeMap() { - return ResponseAdditionalData3DSecure.attributeTypeMap; - } + 'threeds2CardEnrolled'?: boolean; } diff --git a/src/typings/checkout/responseAdditionalDataBillingAddress.ts b/src/typings/checkout/responseAdditionalDataBillingAddress.ts index ffd0b27..e656c09 100644 --- a/src/typings/checkout/responseAdditionalDataBillingAddress.ts +++ b/src/typings/checkout/responseAdditionalDataBillingAddress.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,69 +11,30 @@ */ - export class ResponseAdditionalDataBillingAddress { /** * The billing address city passed in the payment request. */ - 'billingAddress_city'?: string; + 'billingAddressCity'?: string; /** * The billing address country passed in the payment request. Example: NL */ - 'billingAddress_country'?: string; + 'billingAddressCountry'?: string; /** * The billing address house number or name passed in the payment request. */ - 'billingAddress_houseNumberOrName'?: string; + 'billingAddressHouseNumberOrName'?: string; /** * The billing address postal code passed in the payment request. Example: 1011 DJ */ - 'billingAddress_postalCode'?: string; + 'billingAddressPostalCode'?: string; /** * The billing address state or province passed in the payment request. Example: NH */ - 'billingAddress_stateOrProvince'?: string; + 'billingAddressStateOrProvince'?: string; /** * The billing address street passed in the payment request. */ - 'billingAddress_street'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "billingAddress_city", - "baseName": "billingAddress.city", - "type": "string" - }, - { - "name": "billingAddress_country", - "baseName": "billingAddress.country", - "type": "string" - }, - { - "name": "billingAddress_houseNumberOrName", - "baseName": "billingAddress.houseNumberOrName", - "type": "string" - }, - { - "name": "billingAddress_postalCode", - "baseName": "billingAddress.postalCode", - "type": "string" - }, - { - "name": "billingAddress_stateOrProvince", - "baseName": "billingAddress.stateOrProvince", - "type": "string" - }, - { - "name": "billingAddress_street", - "baseName": "billingAddress.street", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ResponseAdditionalDataBillingAddress.attributeTypeMap; - } + 'billingAddressStreet'?: string; } diff --git a/src/typings/checkout/responseAdditionalDataCard.ts b/src/typings/checkout/responseAdditionalDataCard.ts index 0655335..af4d1e1 100644 --- a/src/typings/checkout/responseAdditionalDataCard.ts +++ b/src/typings/checkout/responseAdditionalDataCard.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,10 +11,9 @@ */ - export class ResponseAdditionalDataCard { /** - * The Bank Identification Number of a credit card, which is the first six digits of a card number. Example: 521234 + * The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234 */ 'cardBin'?: string; /** @@ -60,48 +40,9 @@ export class ResponseAdditionalDataCard { * The last four digits of a card number. > Returned only in case of a card payment. */ 'cardSummary'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "cardBin", - "baseName": "cardBin", - "type": "string" - }, - { - "name": "cardHolderName", - "baseName": "cardHolderName", - "type": "string" - }, - { - "name": "cardIssuingBank", - "baseName": "cardIssuingBank", - "type": "string" - }, - { - "name": "cardIssuingCountry", - "baseName": "cardIssuingCountry", - "type": "string" - }, - { - "name": "cardIssuingCurrency", - "baseName": "cardIssuingCurrency", - "type": "string" - }, - { - "name": "cardPaymentMethod", - "baseName": "cardPaymentMethod", - "type": "string" - }, - { - "name": "cardSummary", - "baseName": "cardSummary", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ResponseAdditionalDataCard.attributeTypeMap; - } + /** + * The first eight digits of the card number. Only returned if the card number is 16 digits or more. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with an eight-digit BIN. Example: 52123423 + */ + 'issuerBin'?: string; } diff --git a/src/typings/checkout/responseAdditionalDataCommon.ts b/src/typings/checkout/responseAdditionalDataCommon.ts index c03b5b4..5ed1ae9 100644 --- a/src/typings/checkout/responseAdditionalDataCommon.ts +++ b/src/typings/checkout/responseAdditionalDataCommon.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class ResponseAdditionalDataCommon { /** * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. @@ -115,7 +95,7 @@ export class ResponseAdditionalDataCommon { /** * The fraud score due to a particular fraud check. The fraud check name is found in the key of the key-value pair. */ - 'fraudCheck__itemNr__FraudCheckname'?: string; + 'fraudCheckItemNrFraudCheckname'?: string; /** * Indicates if the payment is sent to manual review. */ @@ -195,19 +175,19 @@ export class ResponseAdditionalDataCommon { /** * The recurring contract types applicable to the transaction. */ - 'recurring_contractTypes'?: string; + 'recurringContractTypes'?: string; /** * The `pspReference`, of the first recurring payment that created the recurring detail. This functionality requires additional configuration on Adyen\'s end. To enable it, contact the Support Team. */ - 'recurring_firstPspReference'?: string; + 'recurringFirstPspReference'?: string; /** * The reference that uniquely identifies the recurring transaction. */ - 'recurring_recurringDetailReference'?: string; + 'recurringRecurringDetailReference'?: string; /** * The provided reference of the shopper for a recurring transaction. */ - 'recurring_shopperReference'?: string; + 'recurringShopperReference'?: string; /** * The processing model used for the recurring transaction. */ @@ -268,315 +248,12 @@ export class ResponseAdditionalDataCommon { * The 3DS transaction ID of the 3DS session sent in notifications. The value is Base64-encoded and is returned for transactions with directoryResponse \'N\' or \'Y\'. If you want to submit the xid in your 3D Secure 1 request, use the `mpiData.xid`, field. Example: ODgxNDc2MDg2MDExODk5MAAAAAA= */ 'xid'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "acquirerAccountCode", - "baseName": "acquirerAccountCode", - "type": "string" - }, - { - "name": "acquirerCode", - "baseName": "acquirerCode", - "type": "string" - }, - { - "name": "acquirerReference", - "baseName": "acquirerReference", - "type": "string" - }, - { - "name": "alias", - "baseName": "alias", - "type": "string" - }, - { - "name": "aliasType", - "baseName": "aliasType", - "type": "string" - }, - { - "name": "authCode", - "baseName": "authCode", - "type": "string" - }, - { - "name": "authorisationMid", - "baseName": "authorisationMid", - "type": "string" - }, - { - "name": "authorisedAmountCurrency", - "baseName": "authorisedAmountCurrency", - "type": "string" - }, - { - "name": "authorisedAmountValue", - "baseName": "authorisedAmountValue", - "type": "string" - }, - { - "name": "avsResult", - "baseName": "avsResult", - "type": "string" - }, - { - "name": "avsResultRaw", - "baseName": "avsResultRaw", - "type": "string" - }, - { - "name": "bic", - "baseName": "bic", - "type": "string" - }, - { - "name": "coBrandedWith", - "baseName": "coBrandedWith", - "type": "string" - }, - { - "name": "cvcResult", - "baseName": "cvcResult", - "type": "string" - }, - { - "name": "cvcResultRaw", - "baseName": "cvcResultRaw", - "type": "string" - }, - { - "name": "dsTransID", - "baseName": "dsTransID", - "type": "string" - }, - { - "name": "eci", - "baseName": "eci", - "type": "string" - }, - { - "name": "expiryDate", - "baseName": "expiryDate", - "type": "string" - }, - { - "name": "extraCostsCurrency", - "baseName": "extraCostsCurrency", - "type": "string" - }, - { - "name": "extraCostsValue", - "baseName": "extraCostsValue", - "type": "string" - }, - { - "name": "fraudCheck__itemNr__FraudCheckname", - "baseName": "fraudCheck-[itemNr]-[FraudCheckname]", - "type": "string" - }, - { - "name": "fraudManualReview", - "baseName": "fraudManualReview", - "type": "string" - }, - { - "name": "fraudResultType", - "baseName": "fraudResultType", - "type": "ResponseAdditionalDataCommon.FraudResultTypeEnum" - }, - { - "name": "fundingSource", - "baseName": "fundingSource", - "type": "string" - }, - { - "name": "fundsAvailability", - "baseName": "fundsAvailability", - "type": "string" - }, - { - "name": "inferredRefusalReason", - "baseName": "inferredRefusalReason", - "type": "string" - }, - { - "name": "isCardCommercial", - "baseName": "isCardCommercial", - "type": "string" - }, - { - "name": "issuerCountry", - "baseName": "issuerCountry", - "type": "string" - }, - { - "name": "liabilityShift", - "baseName": "liabilityShift", - "type": "string" - }, - { - "name": "mcBankNetReferenceNumber", - "baseName": "mcBankNetReferenceNumber", - "type": "string" - }, - { - "name": "merchantAdviceCode", - "baseName": "merchantAdviceCode", - "type": "ResponseAdditionalDataCommon.MerchantAdviceCodeEnum" - }, - { - "name": "merchantReference", - "baseName": "merchantReference", - "type": "string" - }, - { - "name": "networkTxReference", - "baseName": "networkTxReference", - "type": "string" - }, - { - "name": "ownerName", - "baseName": "ownerName", - "type": "string" - }, - { - "name": "paymentAccountReference", - "baseName": "paymentAccountReference", - "type": "string" - }, - { - "name": "paymentMethod", - "baseName": "paymentMethod", - "type": "string" - }, - { - "name": "paymentMethodVariant", - "baseName": "paymentMethodVariant", - "type": "string" - }, - { - "name": "payoutEligible", - "baseName": "payoutEligible", - "type": "string" - }, - { - "name": "realtimeAccountUpdaterStatus", - "baseName": "realtimeAccountUpdaterStatus", - "type": "string" - }, - { - "name": "receiptFreeText", - "baseName": "receiptFreeText", - "type": "string" - }, - { - "name": "recurring_contractTypes", - "baseName": "recurring.contractTypes", - "type": "string" - }, - { - "name": "recurring_firstPspReference", - "baseName": "recurring.firstPspReference", - "type": "string" - }, - { - "name": "recurring_recurringDetailReference", - "baseName": "recurring.recurringDetailReference", - "type": "string" - }, - { - "name": "recurring_shopperReference", - "baseName": "recurring.shopperReference", - "type": "string" - }, - { - "name": "recurringProcessingModel", - "baseName": "recurringProcessingModel", - "type": "ResponseAdditionalDataCommon.RecurringProcessingModelEnum" - }, - { - "name": "referred", - "baseName": "referred", - "type": "string" - }, - { - "name": "refusalReasonRaw", - "baseName": "refusalReasonRaw", - "type": "string" - }, - { - "name": "requestAmount", - "baseName": "requestAmount", - "type": "string" - }, - { - "name": "requestCurrencyCode", - "baseName": "requestCurrencyCode", - "type": "string" - }, - { - "name": "shopperInteraction", - "baseName": "shopperInteraction", - "type": "string" - }, - { - "name": "shopperReference", - "baseName": "shopperReference", - "type": "string" - }, - { - "name": "terminalId", - "baseName": "terminalId", - "type": "string" - }, - { - "name": "threeDAuthenticated", - "baseName": "threeDAuthenticated", - "type": "string" - }, - { - "name": "threeDAuthenticatedResponse", - "baseName": "threeDAuthenticatedResponse", - "type": "string" - }, - { - "name": "threeDOffered", - "baseName": "threeDOffered", - "type": "string" - }, - { - "name": "threeDOfferedResponse", - "baseName": "threeDOfferedResponse", - "type": "string" - }, - { - "name": "threeDSVersion", - "baseName": "threeDSVersion", - "type": "string" - }, - { - "name": "visaTransactionId", - "baseName": "visaTransactionId", - "type": "string" - }, - { - "name": "xid", - "baseName": "xid", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ResponseAdditionalDataCommon.attributeTypeMap; - } } export namespace ResponseAdditionalDataCommon { export enum FraudResultTypeEnum { - Green = 'GREEN', - Fraud = 'FRAUD' + GREEN = 'GREEN', + FRAUD = 'FRAUD' } export enum MerchantAdviceCodeEnum { _01NewAccountInformationAvailable = '01: New account information available', diff --git a/src/typings/checkout/responseAdditionalDataDeliveryAddress.ts b/src/typings/checkout/responseAdditionalDataDeliveryAddress.ts deleted file mode 100644 index 785ada1..0000000 --- a/src/typings/checkout/responseAdditionalDataDeliveryAddress.ts +++ /dev/null @@ -1,98 +0,0 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` - * - * The version of the OpenAPI document: 68 - * Contact: developer-experience@adyen.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -export class ResponseAdditionalDataDeliveryAddress { - /** - * The delivery address city passed in the payment request. - */ - 'deliveryAddress_city'?: string; - /** - * The delivery address country passed in the payment request. Example: NL - */ - 'deliveryAddress_country'?: string; - /** - * The delivery address house number or name passed in the payment request. - */ - 'deliveryAddress_houseNumberOrName'?: string; - /** - * The delivery address postal code passed in the payment request. Example: 1011 DJ - */ - 'deliveryAddress_postalCode'?: string; - /** - * The delivery address state or province passed in the payment request. Example: NH - */ - 'deliveryAddress_stateOrProvince'?: string; - /** - * The delivery address street passed in the payment request. - */ - 'deliveryAddress_street'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "deliveryAddress_city", - "baseName": "deliveryAddress.city", - "type": "string" - }, - { - "name": "deliveryAddress_country", - "baseName": "deliveryAddress.country", - "type": "string" - }, - { - "name": "deliveryAddress_houseNumberOrName", - "baseName": "deliveryAddress.houseNumberOrName", - "type": "string" - }, - { - "name": "deliveryAddress_postalCode", - "baseName": "deliveryAddress.postalCode", - "type": "string" - }, - { - "name": "deliveryAddress_stateOrProvince", - "baseName": "deliveryAddress.stateOrProvince", - "type": "string" - }, - { - "name": "deliveryAddress_street", - "baseName": "deliveryAddress.street", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ResponseAdditionalDataDeliveryAddress.attributeTypeMap; - } -} - diff --git a/src/typings/checkout/responseAdditionalDataInstallments.ts b/src/typings/checkout/responseAdditionalDataInstallments.ts index 6b60b34..638e89a 100644 --- a/src/typings/checkout/responseAdditionalDataInstallments.ts +++ b/src/typings/checkout/responseAdditionalDataInstallments.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,123 +11,54 @@ */ - export class ResponseAdditionalDataInstallments { /** * Type of installment. The value of `installmentType` should be **IssuerFinanced**. */ - 'installmentPaymentData_installmentType'?: string; + 'installmentPaymentDataInstallmentType'?: string; /** * Annual interest rate. */ - 'installmentPaymentData_option_itemNr_annualPercentageRate'?: string; + 'installmentPaymentDataOptionItemNrAnnualPercentageRate'?: string; /** * First Installment Amount in minor units. */ - 'installmentPaymentData_option_itemNr_firstInstallmentAmount'?: string; + 'installmentPaymentDataOptionItemNrFirstInstallmentAmount'?: string; /** * Installment fee amount in minor units. */ - 'installmentPaymentData_option_itemNr_installmentFee'?: string; + 'installmentPaymentDataOptionItemNrInstallmentFee'?: string; /** * Interest rate for the installment period. */ - 'installmentPaymentData_option_itemNr_interestRate'?: string; + 'installmentPaymentDataOptionItemNrInterestRate'?: string; /** * Maximum number of installments possible for this payment. */ - 'installmentPaymentData_option_itemNr_maximumNumberOfInstallments'?: string; + 'installmentPaymentDataOptionItemNrMaximumNumberOfInstallments'?: string; /** * Minimum number of installments possible for this payment. */ - 'installmentPaymentData_option_itemNr_minimumNumberOfInstallments'?: string; + 'installmentPaymentDataOptionItemNrMinimumNumberOfInstallments'?: string; /** * Total number of installments possible for this payment. */ - 'installmentPaymentData_option_itemNr_numberOfInstallments'?: string; + 'installmentPaymentDataOptionItemNrNumberOfInstallments'?: string; /** * Subsequent Installment Amount in minor units. */ - 'installmentPaymentData_option_itemNr_subsequentInstallmentAmount'?: string; + 'installmentPaymentDataOptionItemNrSubsequentInstallmentAmount'?: string; /** * Total amount in minor units. */ - 'installmentPaymentData_option_itemNr_totalAmountDue'?: string; + 'installmentPaymentDataOptionItemNrTotalAmountDue'?: string; /** * Possible values: * PayInInstallmentsOnly * PayInFullOnly * PayInFullOrInstallments */ - 'installmentPaymentData_paymentOptions'?: string; + 'installmentPaymentDataPaymentOptions'?: string; /** * The number of installments that the payment amount should be charged with. Example: 5 > Only relevant for card payments in countries that support installments. */ - 'installments_value'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "installmentPaymentData_installmentType", - "baseName": "installmentPaymentData.installmentType", - "type": "string" - }, - { - "name": "installmentPaymentData_option_itemNr_annualPercentageRate", - "baseName": "installmentPaymentData.option[itemNr].annualPercentageRate", - "type": "string" - }, - { - "name": "installmentPaymentData_option_itemNr_firstInstallmentAmount", - "baseName": "installmentPaymentData.option[itemNr].firstInstallmentAmount", - "type": "string" - }, - { - "name": "installmentPaymentData_option_itemNr_installmentFee", - "baseName": "installmentPaymentData.option[itemNr].installmentFee", - "type": "string" - }, - { - "name": "installmentPaymentData_option_itemNr_interestRate", - "baseName": "installmentPaymentData.option[itemNr].interestRate", - "type": "string" - }, - { - "name": "installmentPaymentData_option_itemNr_maximumNumberOfInstallments", - "baseName": "installmentPaymentData.option[itemNr].maximumNumberOfInstallments", - "type": "string" - }, - { - "name": "installmentPaymentData_option_itemNr_minimumNumberOfInstallments", - "baseName": "installmentPaymentData.option[itemNr].minimumNumberOfInstallments", - "type": "string" - }, - { - "name": "installmentPaymentData_option_itemNr_numberOfInstallments", - "baseName": "installmentPaymentData.option[itemNr].numberOfInstallments", - "type": "string" - }, - { - "name": "installmentPaymentData_option_itemNr_subsequentInstallmentAmount", - "baseName": "installmentPaymentData.option[itemNr].subsequentInstallmentAmount", - "type": "string" - }, - { - "name": "installmentPaymentData_option_itemNr_totalAmountDue", - "baseName": "installmentPaymentData.option[itemNr].totalAmountDue", - "type": "string" - }, - { - "name": "installmentPaymentData_paymentOptions", - "baseName": "installmentPaymentData.paymentOptions", - "type": "string" - }, - { - "name": "installments_value", - "baseName": "installments.value", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ResponseAdditionalDataInstallments.attributeTypeMap; - } + 'installmentsValue'?: string; } diff --git a/src/typings/checkout/responseAdditionalDataNetworkTokens.ts b/src/typings/checkout/responseAdditionalDataNetworkTokens.ts index d1513df..803dc87 100644 --- a/src/typings/checkout/responseAdditionalDataNetworkTokens.ts +++ b/src/typings/checkout/responseAdditionalDataNetworkTokens.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,42 +11,18 @@ */ - export class ResponseAdditionalDataNetworkTokens { /** * Indicates whether a network token is available for the specified card. */ - 'networkToken_available'?: string; + 'networkTokenAvailable'?: string; /** * The Bank Identification Number of a tokenized card, which is the first six digits of a card number. */ - 'networkToken_bin'?: string; + 'networkTokenBin'?: string; /** * The last four digits of a network token. */ - 'networkToken_tokenSummary'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "networkToken_available", - "baseName": "networkToken.available", - "type": "string" - }, - { - "name": "networkToken_bin", - "baseName": "networkToken.bin", - "type": "string" - }, - { - "name": "networkToken_tokenSummary", - "baseName": "networkToken.tokenSummary", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ResponseAdditionalDataNetworkTokens.attributeTypeMap; - } + 'networkTokenTokenSummary'?: string; } diff --git a/src/typings/checkout/responseAdditionalDataOpi.ts b/src/typings/checkout/responseAdditionalDataOpi.ts index 5f8a170..3006397 100644 --- a/src/typings/checkout/responseAdditionalDataOpi.ts +++ b/src/typings/checkout/responseAdditionalDataOpi.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,24 +11,10 @@ */ - export class ResponseAdditionalDataOpi { /** * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). */ - 'opi_transToken'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "opi_transToken", - "baseName": "opi.transToken", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ResponseAdditionalDataOpi.attributeTypeMap; - } + 'opiTransToken'?: string; } diff --git a/src/typings/checkout/responseAdditionalDataPayPal.ts b/src/typings/checkout/responseAdditionalDataPayPal.ts deleted file mode 100644 index 4f6ea6e..0000000 --- a/src/typings/checkout/responseAdditionalDataPayPal.ts +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v67/payments ``` - * - * The version of the OpenAPI document: 67 - * Contact: developer-experience@adyen.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -export class ResponseAdditionalDataPayPal { - /** - * The buyer\'s PayPal account email address. Example: paypaltest@adyen.com - */ - 'paypalEmail'?: string; - /** - * The buyer\'s PayPal ID. Example: LF5HCWWBRV2KL - */ - 'paypalPayerId'?: string; - /** - * The buyer\'s country of residence. Example: NL - */ - 'paypalPayerResidenceCountry'?: string; - /** - * The status of the buyer\'s PayPal account. Example: unverified - */ - 'paypalPayerStatus'?: string; - /** - * The eligibility for PayPal Seller Protection for this payment. Example: Ineligible - */ - 'paypalProtectionEligibility'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "paypalEmail", - "baseName": "paypalEmail", - "type": "string" - }, - { - "name": "paypalPayerId", - "baseName": "paypalPayerId", - "type": "string" - }, - { - "name": "paypalPayerResidenceCountry", - "baseName": "paypalPayerResidenceCountry", - "type": "string" - }, - { - "name": "paypalPayerStatus", - "baseName": "paypalPayerStatus", - "type": "string" - }, - { - "name": "paypalProtectionEligibility", - "baseName": "paypalProtectionEligibility", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ResponseAdditionalDataPayPal.attributeTypeMap; - } -} - diff --git a/src/typings/checkout/responseAdditionalDataSepa.ts b/src/typings/checkout/responseAdditionalDataSepa.ts index dce2f26..56a2b9e 100644 --- a/src/typings/checkout/responseAdditionalDataSepa.ts +++ b/src/typings/checkout/responseAdditionalDataSepa.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,42 +11,18 @@ */ - export class ResponseAdditionalDataSepa { /** * The transaction signature date. Format: yyyy-MM-dd */ - 'sepadirectdebit_dateOfSignature'?: string; + 'sepadirectdebitDateOfSignature'?: string; /** * Its value corresponds to the pspReference value of the transaction. */ - 'sepadirectdebit_mandateId'?: string; + 'sepadirectdebitMandateId'?: string; /** * This field can take one of the following values: * OneOff: (OOFF) Direct debit instruction to initiate exactly one direct debit transaction. * First: (FRST) Initial/first collection in a series of direct debit instructions. * Recurring: (RCUR) Direct debit instruction to carry out regular direct debit transactions initiated by the creditor. * Final: (FNAL) Last/final collection in a series of direct debit instructions. Example: OOFF */ - 'sepadirectdebit_sequenceType'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "sepadirectdebit_dateOfSignature", - "baseName": "sepadirectdebit.dateOfSignature", - "type": "string" - }, - { - "name": "sepadirectdebit_mandateId", - "baseName": "sepadirectdebit.mandateId", - "type": "string" - }, - { - "name": "sepadirectdebit_sequenceType", - "baseName": "sepadirectdebit.sequenceType", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ResponseAdditionalDataSepa.attributeTypeMap; - } + 'sepadirectdebitSequenceType'?: string; } diff --git a/src/typings/checkout/responsePaymentMethod.ts b/src/typings/checkout/responsePaymentMethod.ts new file mode 100644 index 0000000..0d24456 --- /dev/null +++ b/src/typings/checkout/responsePaymentMethod.ts @@ -0,0 +1,24 @@ +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! + * + * The version of the OpenAPI document: 69 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export class ResponsePaymentMethod { + /** + * The payment method brand. + */ + 'brand'?: string; + /** + * The payment method type. + */ + 'type'?: string; +} + diff --git a/src/typings/checkout/riskData.ts b/src/typings/checkout/riskData.ts index bccbf07..de825f7 100644 --- a/src/typings/checkout/riskData.ts +++ b/src/typings/checkout/riskData.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class RiskData { /** * Contains client-side data, like the device fingerprint, cookies, and specific browser settings. @@ -48,33 +28,5 @@ export class RiskData { * The risk profile to assign to this payment. When left empty, the merchant-level account\'s default risk profile will be applied. */ 'profileReference'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "clientData", - "baseName": "clientData", - "type": "string" - }, - { - "name": "customFields", - "baseName": "customFields", - "type": "{ [key: string]: string; }" - }, - { - "name": "fraudOffset", - "baseName": "fraudOffset", - "type": "number" - }, - { - "name": "profileReference", - "baseName": "profileReference", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return RiskData.attributeTypeMap; - } } diff --git a/src/typings/checkout/sDKEphemPubKey.ts b/src/typings/checkout/sDKEphemPubKey.ts index 54c1f3d..d68dfb5 100644 --- a/src/typings/checkout/sDKEphemPubKey.ts +++ b/src/typings/checkout/sDKEphemPubKey.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class SDKEphemPubKey { /** * The `crv` value as received from the 3D Secure 2 SDK. @@ -48,33 +28,5 @@ export class SDKEphemPubKey { * The `y` value as received from the 3D Secure 2 SDK. */ 'y'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "crv", - "baseName": "crv", - "type": "string" - }, - { - "name": "kty", - "baseName": "kty", - "type": "string" - }, - { - "name": "x", - "baseName": "x", - "type": "string" - }, - { - "name": "y", - "baseName": "y", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return SDKEphemPubKey.attributeTypeMap; - } } diff --git a/src/typings/checkout/samsungPayDetails.ts b/src/typings/checkout/samsungPayDetails.ts index e071f22..39475c4 100644 --- a/src/typings/checkout/samsungPayDetails.ts +++ b/src/typings/checkout/samsungPayDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class SamsungPayDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. @@ -52,39 +32,6 @@ export class SamsungPayDetails { * **samsungpay** */ 'type'?: SamsungPayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "fundingSource", - "baseName": "fundingSource", - "type": "SamsungPayDetails.FundingSourceEnum" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "samsungPayToken", - "baseName": "samsungPayToken", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "SamsungPayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return SamsungPayDetails.attributeTypeMap; - } } export namespace SamsungPayDetails { diff --git a/src/typings/checkout/sepaDirectDebitDetails.ts b/src/typings/checkout/sepaDirectDebitDetails.ts index a72233d..c4d9aea 100644 --- a/src/typings/checkout/sepaDirectDebitDetails.ts +++ b/src/typings/checkout/sepaDirectDebitDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class SepaDirectDebitDetails { /** * The International Bank Account Number (IBAN). @@ -52,43 +32,11 @@ export class SepaDirectDebitDetails { * **sepadirectdebit** */ 'type'?: SepaDirectDebitDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "iban", - "baseName": "iban", - "type": "string" - }, - { - "name": "ownerName", - "baseName": "ownerName", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "SepaDirectDebitDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return SepaDirectDebitDetails.attributeTypeMap; - } } export namespace SepaDirectDebitDetails { export enum TypeEnum { - Sepadirectdebit = 'sepadirectdebit' + Sepadirectdebit = 'sepadirectdebit', + SepadirectdebitAmazonpay = 'sepadirectdebit_amazonpay' } } diff --git a/src/typings/checkout/serviceError.ts b/src/typings/checkout/serviceError.ts index fbdfda8..f7ff535 100644 --- a/src/typings/checkout/serviceError.ts +++ b/src/typings/checkout/serviceError.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class ServiceError { /** * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Account** > **API URLs**. @@ -56,43 +36,5 @@ export class ServiceError { * The HTTP response status. */ 'status'?: number; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "additionalData", - "baseName": "additionalData", - "type": "{ [key: string]: string; }" - }, - { - "name": "errorCode", - "baseName": "errorCode", - "type": "string" - }, - { - "name": "errorType", - "baseName": "errorType", - "type": "string" - }, - { - "name": "message", - "baseName": "message", - "type": "string" - }, - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - }, - { - "name": "status", - "baseName": "status", - "type": "number" - } ]; - - static getAttributeTypeMap() { - return ServiceError.attributeTypeMap; - } } diff --git a/src/typings/checkout/serviceError2.ts b/src/typings/checkout/serviceError2.ts index db4114b..c798657 100644 --- a/src/typings/checkout/serviceError2.ts +++ b/src/typings/checkout/serviceError2.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,33 +11,10 @@ */ - export class ServiceError2 { 'errorCode'?: string; 'errorType'?: string; 'message'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "errorCode", - "baseName": "errorCode", - "type": "string" - }, - { - "name": "errorType", - "baseName": "errorType", - "type": "string" - }, - { - "name": "message", - "baseName": "message", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ServiceError2.attributeTypeMap; - } + 'pspReference'?: string; } diff --git a/src/typings/checkout/shopperInput.ts b/src/typings/checkout/shopperInput.ts index 6d36b03..d0d3308 100644 --- a/src/typings/checkout/shopperInput.ts +++ b/src/typings/checkout/shopperInput.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class ShopperInput { /** * Specifies visibility of billing address fields. Permitted values: * editable * hidden * readOnly @@ -44,29 +24,6 @@ export class ShopperInput { * Specifies visibility of personal details. Permitted values: * editable * hidden * readOnly */ 'personalDetails'?: ShopperInput.PersonalDetailsEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "billingAddress", - "baseName": "billingAddress", - "type": "ShopperInput.BillingAddressEnum" - }, - { - "name": "deliveryAddress", - "baseName": "deliveryAddress", - "type": "ShopperInput.DeliveryAddressEnum" - }, - { - "name": "personalDetails", - "baseName": "personalDetails", - "type": "ShopperInput.PersonalDetailsEnum" - } ]; - - static getAttributeTypeMap() { - return ShopperInput.attributeTypeMap; - } } export namespace ShopperInput { diff --git a/src/typings/checkout/shopperInteractionDevice.ts b/src/typings/checkout/shopperInteractionDevice.ts index d3abde7..f21ee09 100644 --- a/src/typings/checkout/shopperInteractionDevice.ts +++ b/src/typings/checkout/shopperInteractionDevice.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class ShopperInteractionDevice { /** * Locale on the shopper interaction device. @@ -44,28 +24,5 @@ export class ShopperInteractionDevice { * Version of the operating system on the shopper interaction device. */ 'osVersion'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "locale", - "baseName": "locale", - "type": "string" - }, - { - "name": "os", - "baseName": "os", - "type": "string" - }, - { - "name": "osVersion", - "baseName": "osVersion", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ShopperInteractionDevice.attributeTypeMap; - } } diff --git a/src/typings/checkout/signaturescript.sh b/src/typings/checkout/signaturescript.sh deleted file mode 100755 index 90d0a5d..0000000 --- a/src/typings/checkout/signaturescript.sh +++ /dev/null @@ -1,24 +0,0 @@ - #!/usr/bin/env bash - -shopt -s nullglob -for file in *.ts*; do - ex -sc '1i|/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - ' -cx "$file" -done \ No newline at end of file diff --git a/src/typings/checkout/split.ts b/src/typings/checkout/split.ts index cbe7adc..82c0587 100644 --- a/src/typings/checkout/split.ts +++ b/src/typings/checkout/split.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { SplitAmount } from './splitAmount'; export class Split { @@ -47,42 +27,9 @@ export class Split { */ 'reference'?: string; /** - * The type of split. Possible values: **Default**, **PaymentFee**, **VAT**, **Commission**, **MarketPlace**, **BalanceAccount**. + * The type of split. Possible values: **Default**, **PaymentFee**, **VAT**, **Commission**, **MarketPlace**, **BalanceAccount**, **Remainder**. */ 'type': Split.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "account", - "baseName": "account", - "type": "string" - }, - { - "name": "amount", - "baseName": "amount", - "type": "SplitAmount" - }, - { - "name": "description", - "baseName": "description", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "Split.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return Split.attributeTypeMap; - } } export namespace Split { @@ -92,7 +39,8 @@ export namespace Split { Default = 'Default', MarketPlace = 'MarketPlace', PaymentFee = 'PaymentFee', - Vat = 'VAT', + Remainder = 'Remainder', + VAT = 'VAT', Verification = 'Verification' } } diff --git a/src/typings/checkout/splitAmount.ts b/src/typings/checkout/splitAmount.ts index dc5da1a..1e0bbae 100644 --- a/src/typings/checkout/splitAmount.ts +++ b/src/typings/checkout/splitAmount.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class SplitAmount { /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). If this value is not provided, the currency in which the payment is made will be used. @@ -40,23 +20,5 @@ export class SplitAmount { * The amount in [minor units](https://docs.adyen.com/development-resources/currency-codes). */ 'value': number; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "currency", - "baseName": "currency", - "type": "string" - }, - { - "name": "value", - "baseName": "value", - "type": "number" - } ]; - - static getAttributeTypeMap() { - return SplitAmount.attributeTypeMap; - } } diff --git a/src/typings/checkout/standalonePaymentCancelResource.ts b/src/typings/checkout/standalonePaymentCancelResource.ts index 6d02db1..a3fa0e6 100644 --- a/src/typings/checkout/standalonePaymentCancelResource.ts +++ b/src/typings/checkout/standalonePaymentCancelResource.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class StandalonePaymentCancelResource { /** * The merchant account that is used to process the payment. @@ -52,39 +32,6 @@ export class StandalonePaymentCancelResource { * The status of your request. This will always have the value **received**. */ 'status': StandalonePaymentCancelResource.StatusEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "paymentReference", - "baseName": "paymentReference", - "type": "string" - }, - { - "name": "pspReference", - "baseName": "pspReference", - "type": "string" - }, - { - "name": "reference", - "baseName": "reference", - "type": "string" - }, - { - "name": "status", - "baseName": "status", - "type": "StandalonePaymentCancelResource.StatusEnum" - } ]; - - static getAttributeTypeMap() { - return StandalonePaymentCancelResource.attributeTypeMap; - } } export namespace StandalonePaymentCancelResource { diff --git a/src/typings/checkout/storedDetails.ts b/src/typings/checkout/storedDetails.ts index 7253f73..cffa8a8 100644 --- a/src/typings/checkout/storedDetails.ts +++ b/src/typings/checkout/storedDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { BankAccount } from './bankAccount'; import { Card } from './card'; @@ -40,28 +20,5 @@ export class StoredDetails { * The email associated with stored payment details. */ 'emailAddress'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "bank", - "baseName": "bank", - "type": "BankAccount" - }, - { - "name": "card", - "baseName": "card", - "type": "Card" - }, - { - "name": "emailAddress", - "baseName": "emailAddress", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return StoredDetails.attributeTypeMap; - } } diff --git a/src/typings/checkout/storedPaymentMethod.ts b/src/typings/checkout/storedPaymentMethod.ts index a7b1227..1817e4e 100644 --- a/src/typings/checkout/storedPaymentMethod.ts +++ b/src/typings/checkout/storedPaymentMethod.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class StoredPaymentMethod { /** * The brand of the card. @@ -41,7 +21,7 @@ export class StoredPaymentMethod { */ 'expiryMonth'?: string; /** - * The year the card expires. + * The last two digits of the year the card expires. For example, **22** for the year 2022. */ 'expiryYear'?: string; /** @@ -84,78 +64,5 @@ export class StoredPaymentMethod { * The type of payment method. */ 'type'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "brand", - "baseName": "brand", - "type": "string" - }, - { - "name": "expiryMonth", - "baseName": "expiryMonth", - "type": "string" - }, - { - "name": "expiryYear", - "baseName": "expiryYear", - "type": "string" - }, - { - "name": "holderName", - "baseName": "holderName", - "type": "string" - }, - { - "name": "iban", - "baseName": "iban", - "type": "string" - }, - { - "name": "id", - "baseName": "id", - "type": "string" - }, - { - "name": "lastFour", - "baseName": "lastFour", - "type": "string" - }, - { - "name": "name", - "baseName": "name", - "type": "string" - }, - { - "name": "networkTxReference", - "baseName": "networkTxReference", - "type": "string" - }, - { - "name": "ownerName", - "baseName": "ownerName", - "type": "string" - }, - { - "name": "shopperEmail", - "baseName": "shopperEmail", - "type": "string" - }, - { - "name": "supportedShopperInteractions", - "baseName": "supportedShopperInteractions", - "type": "Array" - }, - { - "name": "type", - "baseName": "type", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return StoredPaymentMethod.attributeTypeMap; - } } diff --git a/src/typings/checkout/storedPaymentMethodDetails.ts b/src/typings/checkout/storedPaymentMethodDetails.ts index c45e1bd..833434a 100644 --- a/src/typings/checkout/storedPaymentMethodDetails.ts +++ b/src/typings/checkout/storedPaymentMethodDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class StoredPaymentMethodDetails { /** * This is the `recurringDetailReference` returned in the response when you created the token. @@ -44,45 +24,22 @@ export class StoredPaymentMethodDetails { * The payment method type. */ 'type'?: StoredPaymentMethodDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "StoredPaymentMethodDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return StoredPaymentMethodDetails.attributeTypeMap; - } } export namespace StoredPaymentMethodDetails { export enum TypeEnum { BcmcMobile = 'bcmc_mobile', - BcmcMobileQr = 'bcmc_mobile_QR', + BcmcMobileQR = 'bcmc_mobile_QR', BcmcMobileApp = 'bcmc_mobile_app', MomoWallet = 'momo_wallet', MomoWalletApp = 'momo_wallet_app', PaymayaWallet = 'paymaya_wallet', - GrabpaySg = 'grabpay_SG', - GrabpayMy = 'grabpay_MY', - GrabpayTh = 'grabpay_TH', - GrabpayId = 'grabpay_ID', - GrabpayVn = 'grabpay_VN', - GrabpayPh = 'grabpay_PH', + GrabpaySG = 'grabpay_SG', + GrabpayMY = 'grabpay_MY', + GrabpayTH = 'grabpay_TH', + GrabpayID = 'grabpay_ID', + GrabpayVN = 'grabpay_VN', + GrabpayPH = 'grabpay_PH', Oxxo = 'oxxo', Gcash = 'gcash', Kakaopay = 'kakaopay', diff --git a/src/typings/checkout/subInputDetail.ts b/src/typings/checkout/subInputDetail.ts index dec4921..97ea2c7 100644 --- a/src/typings/checkout/subInputDetail.ts +++ b/src/typings/checkout/subInputDetail.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { Item } from './item'; export class SubInputDetail { @@ -57,43 +37,5 @@ export class SubInputDetail { * The value can be pre-filled, if available. */ 'value'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "configuration", - "baseName": "configuration", - "type": "{ [key: string]: string; }" - }, - { - "name": "items", - "baseName": "items", - "type": "Array" - }, - { - "name": "key", - "baseName": "key", - "type": "string" - }, - { - "name": "optional", - "baseName": "optional", - "type": "boolean" - }, - { - "name": "type", - "baseName": "type", - "type": "string" - }, - { - "name": "value", - "baseName": "value", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return SubInputDetail.attributeTypeMap; - } } diff --git a/src/typings/checkout/threeDS2RequestData.ts b/src/typings/checkout/threeDS2RequestData.ts index bfd38a5..ec2b95f 100644 --- a/src/typings/checkout/threeDS2RequestData.ts +++ b/src/typings/checkout/threeDS2RequestData.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +10,6 @@ * Do not edit the class manually. */ - import { AcctInfo } from './acctInfo'; import { DeviceRenderOptions } from './deviceRenderOptions'; import { Phone } from './phone'; @@ -40,9 +20,9 @@ import { ThreeDSRequestorPriorAuthenticationInfo } from './threeDSRequestorPrior export class ThreeDS2RequestData { 'acctInfo'?: AcctInfo; /** - * Indicates the type of account. For example, for a multi-account card product. + * Indicates the type of account. For example, for a multi-account card product. Length: 2 characters. Allowed values: * **01** — Not applicable * **02** — Credit * **03** — Debit */ - 'acctType'?: string; + 'acctType'?: ThreeDS2RequestData.AcctTypeEnum; /** * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only). The acquiring BIN enrolled for 3D Secure 2. This string should match the value that you will use in the authorisation. Use 123456 on the Test platform. */ @@ -52,9 +32,9 @@ export class ThreeDS2RequestData { */ 'acquirerMerchantID'?: string; /** - * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. + * Indicates whether the Cardholder Shipping Address and Cardholder Billing Address are the same. Allowed values: * **Y** — Shipping Address matches Billing Address. * **N** — Shipping Address does not match Billing Address. */ - 'addrMatch'?: string; + 'addrMatch'?: ThreeDS2RequestData.AddrMatchEnum; /** * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. */ @@ -87,7 +67,7 @@ export class ThreeDS2RequestData { */ 'notificationURL'?: string; /** - * A value of True indicates that the transaction was de-tokenised prior to being received by the ACS. + * Value **true** indicates that the transaction was de-tokenised prior to being received by the ACS. */ 'payTokenInd'?: boolean; /** @@ -95,15 +75,15 @@ export class ThreeDS2RequestData { */ 'paymentAuthenticationUseCase'?: string; /** - * Indicates the maximum number of authorisations permitted for instalment payments. + * Indicates the maximum number of authorisations permitted for instalment payments. Length: 1–3 characters. */ 'purchaseInstalData'?: string; /** - * Date after which no further authorisations shall be performed. + * Date after which no further authorisations shall be performed. Format: YYYYMMDD */ 'recurringExpiry'?: string; /** - * Indicates the minimum number of days between authorisations. + * Indicates the minimum number of days between authorisations. Maximum length: 4 characters. */ 'recurringFrequency'?: string; /** @@ -141,9 +121,9 @@ export class ThreeDS2RequestData { 'threeDSRequestorAuthenticationInd'?: string; 'threeDSRequestorAuthenticationInfo'?: ThreeDSRequestorAuthenticationInfo; /** - * Indicates whether a challenge is requested for this transaction. + * Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) */ - 'threeDSRequestorChallengeInd'?: string; + 'threeDSRequestorChallengeInd'?: ThreeDS2RequestData.ThreeDSRequestorChallengeIndEnum; /** * Required for [authentication-only integration](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. */ @@ -158,9 +138,9 @@ export class ThreeDS2RequestData { */ 'threeDSRequestorURL'?: string; /** - * Identifies the type of transaction being authenticated. + * Identifies the type of transaction being authenticated. Length: 2 characters. Allowed values: * **01** — Goods/Service Purchase * **03** — Check Acceptance * **10** — Account Funding * **11** — Quasi-Cash Transaction * **28** — Prepaid Activation and Load */ - 'transType'?: string; + 'transType'?: ThreeDS2RequestData.TransTypeEnum; /** * Identify the type of the transaction being authenticated. */ @@ -170,218 +150,38 @@ export class ThreeDS2RequestData { */ 'whiteListStatus'?: string; 'workPhone'?: Phone; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "acctInfo", - "baseName": "acctInfo", - "type": "AcctInfo" - }, - { - "name": "acctType", - "baseName": "acctType", - "type": "string" - }, - { - "name": "acquirerBIN", - "baseName": "acquirerBIN", - "type": "string" - }, - { - "name": "acquirerMerchantID", - "baseName": "acquirerMerchantID", - "type": "string" - }, - { - "name": "addrMatch", - "baseName": "addrMatch", - "type": "string" - }, - { - "name": "authenticationOnly", - "baseName": "authenticationOnly", - "type": "boolean" - }, - { - "name": "challengeIndicator", - "baseName": "challengeIndicator", - "type": "ThreeDS2RequestData.ChallengeIndicatorEnum" - }, - { - "name": "deviceChannel", - "baseName": "deviceChannel", - "type": "string" - }, - { - "name": "deviceRenderOptions", - "baseName": "deviceRenderOptions", - "type": "DeviceRenderOptions" - }, - { - "name": "homePhone", - "baseName": "homePhone", - "type": "Phone" - }, - { - "name": "mcc", - "baseName": "mcc", - "type": "string" - }, - { - "name": "merchantName", - "baseName": "merchantName", - "type": "string" - }, - { - "name": "messageVersion", - "baseName": "messageVersion", - "type": "string" - }, - { - "name": "mobilePhone", - "baseName": "mobilePhone", - "type": "Phone" - }, - { - "name": "notificationURL", - "baseName": "notificationURL", - "type": "string" - }, - { - "name": "payTokenInd", - "baseName": "payTokenInd", - "type": "boolean" - }, - { - "name": "paymentAuthenticationUseCase", - "baseName": "paymentAuthenticationUseCase", - "type": "string" - }, - { - "name": "purchaseInstalData", - "baseName": "purchaseInstalData", - "type": "string" - }, - { - "name": "recurringExpiry", - "baseName": "recurringExpiry", - "type": "string" - }, - { - "name": "recurringFrequency", - "baseName": "recurringFrequency", - "type": "string" - }, - { - "name": "sdkAppID", - "baseName": "sdkAppID", - "type": "string" - }, - { - "name": "sdkEncData", - "baseName": "sdkEncData", - "type": "string" - }, - { - "name": "sdkEphemPubKey", - "baseName": "sdkEphemPubKey", - "type": "SDKEphemPubKey" - }, - { - "name": "sdkMaxTimeout", - "baseName": "sdkMaxTimeout", - "type": "number" - }, - { - "name": "sdkReferenceNumber", - "baseName": "sdkReferenceNumber", - "type": "string" - }, - { - "name": "sdkTransID", - "baseName": "sdkTransID", - "type": "string" - }, - { - "name": "sdkVersion", - "baseName": "sdkVersion", - "type": "string" - }, - { - "name": "threeDSCompInd", - "baseName": "threeDSCompInd", - "type": "string" - }, - { - "name": "threeDSRequestorAuthenticationInd", - "baseName": "threeDSRequestorAuthenticationInd", - "type": "string" - }, - { - "name": "threeDSRequestorAuthenticationInfo", - "baseName": "threeDSRequestorAuthenticationInfo", - "type": "ThreeDSRequestorAuthenticationInfo" - }, - { - "name": "threeDSRequestorChallengeInd", - "baseName": "threeDSRequestorChallengeInd", - "type": "string" - }, - { - "name": "threeDSRequestorID", - "baseName": "threeDSRequestorID", - "type": "string" - }, - { - "name": "threeDSRequestorName", - "baseName": "threeDSRequestorName", - "type": "string" - }, - { - "name": "threeDSRequestorPriorAuthenticationInfo", - "baseName": "threeDSRequestorPriorAuthenticationInfo", - "type": "ThreeDSRequestorPriorAuthenticationInfo" - }, - { - "name": "threeDSRequestorURL", - "baseName": "threeDSRequestorURL", - "type": "string" - }, - { - "name": "transType", - "baseName": "transType", - "type": "string" - }, - { - "name": "transactionType", - "baseName": "transactionType", - "type": "ThreeDS2RequestData.TransactionTypeEnum" - }, - { - "name": "whiteListStatus", - "baseName": "whiteListStatus", - "type": "string" - }, - { - "name": "workPhone", - "baseName": "workPhone", - "type": "Phone" - } ]; - - static getAttributeTypeMap() { - return ThreeDS2RequestData.attributeTypeMap; - } } export namespace ThreeDS2RequestData { + export enum AcctTypeEnum { + _01 = '01', + _02 = '02', + _03 = '03' + } + export enum AddrMatchEnum { + Y = 'Y', + N = 'N' + } export enum ChallengeIndicatorEnum { NoPreference = 'noPreference', RequestNoChallenge = 'requestNoChallenge', RequestChallenge = 'requestChallenge', RequestChallengeAsMandate = 'requestChallengeAsMandate' } + export enum ThreeDSRequestorChallengeIndEnum { + _01 = '01', + _02 = '02', + _03 = '03', + _04 = '04', + _05 = '05' + } + export enum TransTypeEnum { + _01 = '01', + _03 = '03', + _10 = '10', + _11 = '11', + _28 = '28' + } export enum TransactionTypeEnum { GoodsOrServicePurchase = 'goodsOrServicePurchase', CheckAcceptance = 'checkAcceptance', diff --git a/src/typings/checkout/threeDS2ResponseData.ts b/src/typings/checkout/threeDS2ResponseData.ts index 4559dae..b0e0a28 100644 --- a/src/typings/checkout/threeDS2ResponseData.ts +++ b/src/typings/checkout/threeDS2ResponseData.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class ThreeDS2ResponseData { 'acsChallengeMandated'?: string; 'acsOperatorID'?: string; @@ -51,108 +31,5 @@ export class ThreeDS2ResponseData { 'threeDSServerTransID'?: string; 'transStatus'?: string; 'transStatusReason'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "acsChallengeMandated", - "baseName": "acsChallengeMandated", - "type": "string" - }, - { - "name": "acsOperatorID", - "baseName": "acsOperatorID", - "type": "string" - }, - { - "name": "acsReferenceNumber", - "baseName": "acsReferenceNumber", - "type": "string" - }, - { - "name": "acsSignedContent", - "baseName": "acsSignedContent", - "type": "string" - }, - { - "name": "acsTransID", - "baseName": "acsTransID", - "type": "string" - }, - { - "name": "acsURL", - "baseName": "acsURL", - "type": "string" - }, - { - "name": "authenticationType", - "baseName": "authenticationType", - "type": "string" - }, - { - "name": "cardHolderInfo", - "baseName": "cardHolderInfo", - "type": "string" - }, - { - "name": "cavvAlgorithm", - "baseName": "cavvAlgorithm", - "type": "string" - }, - { - "name": "challengeIndicator", - "baseName": "challengeIndicator", - "type": "string" - }, - { - "name": "dsReferenceNumber", - "baseName": "dsReferenceNumber", - "type": "string" - }, - { - "name": "dsTransID", - "baseName": "dsTransID", - "type": "string" - }, - { - "name": "exemptionIndicator", - "baseName": "exemptionIndicator", - "type": "string" - }, - { - "name": "messageVersion", - "baseName": "messageVersion", - "type": "string" - }, - { - "name": "riskScore", - "baseName": "riskScore", - "type": "string" - }, - { - "name": "sdkEphemPubKey", - "baseName": "sdkEphemPubKey", - "type": "string" - }, - { - "name": "threeDSServerTransID", - "baseName": "threeDSServerTransID", - "type": "string" - }, - { - "name": "transStatus", - "baseName": "transStatus", - "type": "string" - }, - { - "name": "transStatusReason", - "baseName": "transStatusReason", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ThreeDS2ResponseData.attributeTypeMap; - } } diff --git a/src/typings/checkout/threeDS2Result.ts b/src/typings/checkout/threeDS2Result.ts index c78c7a3..a6b518d 100644 --- a/src/typings/checkout/threeDS2Result.ts +++ b/src/typings/checkout/threeDS2Result.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class ThreeDS2Result { /** * The `authenticationValue` value as defined in the 3D Secure 2 specification. @@ -41,9 +21,9 @@ export class ThreeDS2Result { */ 'cavvAlgorithm'?: string; /** - * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. + * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). */ - 'challengeCancel'?: string; + 'challengeCancel'?: ThreeDS2Result.ChallengeCancelEnum; /** * Specifies a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` */ @@ -88,87 +68,18 @@ export class ThreeDS2Result { * The `whiteListStatus` value as defined in the 3D Secure 2 specification. */ 'whiteListStatus'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "authenticationValue", - "baseName": "authenticationValue", - "type": "string" - }, - { - "name": "cavvAlgorithm", - "baseName": "cavvAlgorithm", - "type": "string" - }, - { - "name": "challengeCancel", - "baseName": "challengeCancel", - "type": "string" - }, - { - "name": "challengeIndicator", - "baseName": "challengeIndicator", - "type": "ThreeDS2Result.ChallengeIndicatorEnum" - }, - { - "name": "dsTransID", - "baseName": "dsTransID", - "type": "string" - }, - { - "name": "eci", - "baseName": "eci", - "type": "string" - }, - { - "name": "exemptionIndicator", - "baseName": "exemptionIndicator", - "type": "ThreeDS2Result.ExemptionIndicatorEnum" - }, - { - "name": "messageVersion", - "baseName": "messageVersion", - "type": "string" - }, - { - "name": "riskScore", - "baseName": "riskScore", - "type": "string" - }, - { - "name": "threeDSServerTransID", - "baseName": "threeDSServerTransID", - "type": "string" - }, - { - "name": "timestamp", - "baseName": "timestamp", - "type": "string" - }, - { - "name": "transStatus", - "baseName": "transStatus", - "type": "string" - }, - { - "name": "transStatusReason", - "baseName": "transStatusReason", - "type": "string" - }, - { - "name": "whiteListStatus", - "baseName": "whiteListStatus", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ThreeDS2Result.attributeTypeMap; - } } export namespace ThreeDS2Result { + export enum ChallengeCancelEnum { + _01 = '01', + _02 = '02', + _03 = '03', + _04 = '04', + _05 = '05', + _06 = '06', + _07 = '07' + } export enum ChallengeIndicatorEnum { NoPreference = 'noPreference', RequestNoChallenge = 'requestNoChallenge', diff --git a/src/typings/checkout/threeDSRequestData.ts b/src/typings/checkout/threeDSRequestData.ts new file mode 100644 index 0000000..ebe4f68 --- /dev/null +++ b/src/typings/checkout/threeDSRequestData.ts @@ -0,0 +1,33 @@ +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! + * + * The version of the OpenAPI document: 69 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export class ThreeDSRequestData { + /** + * Indicates if [native 3D Secure authentication](https://docs.adyen.com/online-payments/3d-secure/native-3ds2) should be used when available. Possible values: * **preferred**: Use native 3D Secure authentication when available. + */ + 'nativeThreeDS'?: ThreeDSRequestData.NativeThreeDSEnum; + /** + * The version of 3D Secure to use. Possible values: * **2.1.0** * **2.2.0** + */ + 'threeDSVersion'?: ThreeDSRequestData.ThreeDSVersionEnum; +} + +export namespace ThreeDSRequestData { + export enum NativeThreeDSEnum { + Preferred = 'preferred' + } + export enum ThreeDSVersionEnum { + _10 = '2.1.0', + _20 = '2.2.0' + } +} diff --git a/src/typings/checkout/threeDSRequestorAuthenticationInfo.ts b/src/typings/checkout/threeDSRequestorAuthenticationInfo.ts index edaba29..ff06f8b 100644 --- a/src/typings/checkout/threeDSRequestorAuthenticationInfo.ts +++ b/src/typings/checkout/threeDSRequestorAuthenticationInfo.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,33 +11,28 @@ */ - export class ThreeDSRequestorAuthenticationInfo { + /** + * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. + */ 'threeDSReqAuthData'?: string; - 'threeDSReqAuthMethod'?: string; + /** + * Mechanism used by the Cardholder to authenticate to the 3DS Requestor. Allowed values: * **01** — No 3DS Requestor authentication occurred (for example, cardholder “logged in” as guest). * **02** — Login to the cardholder account at the 3DS Requestor system using 3DS Requestor’s own credentials. * **03** — Login to the cardholder account at the 3DS Requestor system using federated ID. * **04** — Login to the cardholder account at the 3DS Requestor system using issuer credentials. * **05** — Login to the cardholder account at the 3DS Requestor system using third-party authentication. * **06** — Login to the cardholder account at the 3DS Requestor system using FIDO Authenticator. + */ + 'threeDSReqAuthMethod'?: ThreeDSRequestorAuthenticationInfo.ThreeDSReqAuthMethodEnum; + /** + * Date and time in UTC of the cardholder authentication. Format: YYYYMMDDHHMM + */ 'threeDSReqAuthTimestamp'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "threeDSReqAuthData", - "baseName": "threeDSReqAuthData", - "type": "string" - }, - { - "name": "threeDSReqAuthMethod", - "baseName": "threeDSReqAuthMethod", - "type": "string" - }, - { - "name": "threeDSReqAuthTimestamp", - "baseName": "threeDSReqAuthTimestamp", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ThreeDSRequestorAuthenticationInfo.attributeTypeMap; - } } +export namespace ThreeDSRequestorAuthenticationInfo { + export enum ThreeDSReqAuthMethodEnum { + _01 = '01', + _02 = '02', + _03 = '03', + _04 = '04', + _05 = '05', + _06 = '06' + } +} diff --git a/src/typings/checkout/threeDSRequestorPriorAuthenticationInfo.ts b/src/typings/checkout/threeDSRequestorPriorAuthenticationInfo.ts index d5c98f5..0dce311 100644 --- a/src/typings/checkout/threeDSRequestorPriorAuthenticationInfo.ts +++ b/src/typings/checkout/threeDSRequestorPriorAuthenticationInfo.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,51 +11,30 @@ */ - export class ThreeDSRequestorPriorAuthenticationInfo { /** - * Data that documents and supports a specific authentication process. + * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. */ 'threeDSReqPriorAuthData'?: string; /** - * Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. + * Mechanism used by the Cardholder to previously authenticate to the 3DS Requestor. Allowed values: * **01** — Frictionless authentication occurred by ACS. * **02** — Cardholder challenge occurred by ACS. * **03** — AVS verified. * **04** — Other issuer methods. */ - 'threeDSReqPriorAuthMethod'?: string; + 'threeDSReqPriorAuthMethod'?: ThreeDSRequestorPriorAuthenticationInfo.ThreeDSReqPriorAuthMethodEnum; /** - * String and time in UTC of the prior cardholder authentication. + * Date and time in UTC of the prior cardholder authentication. Format: YYYYMMDDHHMM */ 'threeDSReqPriorAuthTimestamp'?: string; /** - * This data element provides additional information to the ACS to determine the best approach for handing a request. + * This data element provides additional information to the ACS to determine the best approach for handing a request. This data element contains an ACS Transaction ID for a prior authenticated transaction. For example, the first recurring transaction that was authenticated with the cardholder. Length: 30 characters. */ 'threeDSReqPriorRef'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "threeDSReqPriorAuthData", - "baseName": "threeDSReqPriorAuthData", - "type": "string" - }, - { - "name": "threeDSReqPriorAuthMethod", - "baseName": "threeDSReqPriorAuthMethod", - "type": "string" - }, - { - "name": "threeDSReqPriorAuthTimestamp", - "baseName": "threeDSReqPriorAuthTimestamp", - "type": "string" - }, - { - "name": "threeDSReqPriorRef", - "baseName": "threeDSReqPriorRef", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ThreeDSRequestorPriorAuthenticationInfo.attributeTypeMap; - } } +export namespace ThreeDSRequestorPriorAuthenticationInfo { + export enum ThreeDSReqPriorAuthMethodEnum { + _01 = '01', + _02 = '02', + _03 = '03', + _04 = '04' + } +} diff --git a/src/typings/checkout/threeDSecureData.ts b/src/typings/checkout/threeDSecureData.ts index cc14768..e67d4a5 100644 --- a/src/typings/checkout/threeDSecureData.ts +++ b/src/typings/checkout/threeDSecureData.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class ThreeDSecureData { /** * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter. @@ -45,9 +25,9 @@ export class ThreeDSecureData { */ 'cavvAlgorithm'?: string; /** - * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. + * Indicator informing the Access Control Server (ACS) and the Directory Server (DS) that the authentication has been cancelled. For possible values, refer to [3D Secure API reference](https://docs.adyen.com/online-payments/3d-secure/api-reference#mpidata). */ - 'challengeCancel'?: string; + 'challengeCancel'?: ThreeDSecureData.ChallengeCancelEnum; /** * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from the `ARes`. */ @@ -80,74 +60,6 @@ export class ThreeDSecureData { * Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form). */ 'xid'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "authenticationResponse", - "baseName": "authenticationResponse", - "type": "ThreeDSecureData.AuthenticationResponseEnum" - }, - { - "name": "cavv", - "baseName": "cavv", - "type": "string" - }, - { - "name": "cavvAlgorithm", - "baseName": "cavvAlgorithm", - "type": "string" - }, - { - "name": "challengeCancel", - "baseName": "challengeCancel", - "type": "string" - }, - { - "name": "directoryResponse", - "baseName": "directoryResponse", - "type": "ThreeDSecureData.DirectoryResponseEnum" - }, - { - "name": "dsTransID", - "baseName": "dsTransID", - "type": "string" - }, - { - "name": "eci", - "baseName": "eci", - "type": "string" - }, - { - "name": "riskScore", - "baseName": "riskScore", - "type": "string" - }, - { - "name": "threeDSVersion", - "baseName": "threeDSVersion", - "type": "string" - }, - { - "name": "tokenAuthenticationVerificationValue", - "baseName": "tokenAuthenticationVerificationValue", - "type": "string" - }, - { - "name": "transStatusReason", - "baseName": "transStatusReason", - "type": "string" - }, - { - "name": "xid", - "baseName": "xid", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return ThreeDSecureData.attributeTypeMap; - } } export namespace ThreeDSecureData { @@ -157,6 +69,15 @@ export namespace ThreeDSecureData { U = 'U', A = 'A' } + export enum ChallengeCancelEnum { + _01 = '01', + _02 = '02', + _03 = '03', + _04 = '04', + _05 = '05', + _06 = '06', + _07 = '07' + } export enum DirectoryResponseEnum { A = 'A', C = 'C', diff --git a/src/typings/checkout/updatePaymentLinkRequest.ts b/src/typings/checkout/updatePaymentLinkRequest.ts index 9561b53..f4487dd 100644 --- a/src/typings/checkout/updatePaymentLinkRequest.ts +++ b/src/typings/checkout/updatePaymentLinkRequest.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,25 +11,11 @@ */ - export class UpdatePaymentLinkRequest { /** * Status of the payment link. Possible values: * **expired** */ 'status': UpdatePaymentLinkRequest.StatusEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "status", - "baseName": "status", - "type": "UpdatePaymentLinkRequest.StatusEnum" - } ]; - - static getAttributeTypeMap() { - return UpdatePaymentLinkRequest.attributeTypeMap; - } } export namespace UpdatePaymentLinkRequest { diff --git a/src/typings/checkout/upiCollectDetails.ts b/src/typings/checkout/upiCollectDetails.ts new file mode 100644 index 0000000..6cc311d --- /dev/null +++ b/src/typings/checkout/upiCollectDetails.ts @@ -0,0 +1,45 @@ +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! + * + * The version of the OpenAPI document: 69 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export class UpiCollectDetails { + /** + * The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper. + */ + 'billingSequenceNumber': string; + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + */ + 'recurringDetailReference'?: string; + /** + * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. + */ + 'shopperNotificationReference'?: string; + /** + * This is the `recurringDetailReference` returned in the response when you created the token. + */ + 'storedPaymentMethodId'?: string; + /** + * **upi_collect** + */ + 'type': UpiCollectDetails.TypeEnum; + /** + * The virtual payment address for UPI. + */ + 'virtualPaymentAddress'?: string; +} + +export namespace UpiCollectDetails { + export enum TypeEnum { + UpiCollect = 'upi_collect' + } +} diff --git a/src/typings/checkout/upiDetails.ts b/src/typings/checkout/upiDetails.ts deleted file mode 100644 index 2cae714..0000000 --- a/src/typings/checkout/upiDetails.ts +++ /dev/null @@ -1,103 +0,0 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` - * - * The version of the OpenAPI document: 68 - * Contact: developer-experience@adyen.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -export class UpiDetails { - /** - * The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper. - */ - 'billingSequenceNumber': string; - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - */ - 'recurringDetailReference'?: string; - /** - * The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only. - */ - 'shopperNotificationReference'?: string; - /** - * This is the `recurringDetailReference` returned in the response when you created the token. - */ - 'storedPaymentMethodId'?: string; - /** - * **upi_collect** - */ - 'type': UpiDetails.TypeEnum; - /** - * The virtual payment address for UPI. - */ - 'virtualPaymentAddress'?: string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "billingSequenceNumber", - "baseName": "billingSequenceNumber", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "shopperNotificationReference", - "baseName": "shopperNotificationReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "UpiDetails.TypeEnum" - }, - { - "name": "virtualPaymentAddress", - "baseName": "virtualPaymentAddress", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return UpiDetails.attributeTypeMap; - } -} - -export namespace UpiDetails { - export enum TypeEnum { - UpiCollect = 'upi_collect' - } -} diff --git a/src/typings/checkout/upiIntentDetails.ts b/src/typings/checkout/upiIntentDetails.ts new file mode 100644 index 0000000..e36f370 --- /dev/null +++ b/src/typings/checkout/upiIntentDetails.ts @@ -0,0 +1,25 @@ +/** + * Adyen Checkout API + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! + * + * The version of the OpenAPI document: 69 + * Contact: developer-experience@adyen.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export class UpiIntentDetails { + /** + * **upi_intent** + */ + 'type': UpiIntentDetails.TypeEnum; +} + +export namespace UpiIntentDetails { + export enum TypeEnum { + UpiIntent = 'upi_intent' + } +} diff --git a/src/typings/checkout/vippsDetails.ts b/src/typings/checkout/vippsDetails.ts index f6dcaa7..a0c5bac 100644 --- a/src/typings/checkout/vippsDetails.ts +++ b/src/typings/checkout/vippsDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class VippsDetails { /** * This is the `recurringDetailReference` returned in the response when you created the token. @@ -45,34 +25,6 @@ export class VippsDetails { * **vipps** */ 'type'?: VippsDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "telephoneNumber", - "baseName": "telephoneNumber", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "VippsDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return VippsDetails.attributeTypeMap; - } } export namespace VippsDetails { diff --git a/src/typings/checkout/visaCheckoutDetails.ts b/src/typings/checkout/visaCheckoutDetails.ts index 9cebaf8..1125d27 100644 --- a/src/typings/checkout/visaCheckoutDetails.ts +++ b/src/typings/checkout/visaCheckoutDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class VisaCheckoutDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. @@ -44,29 +24,6 @@ export class VisaCheckoutDetails { * The Visa Click to Pay Call ID value. When your shopper selects a payment and/or a shipping address from Visa Click to Pay, you will receive a Visa Click to Pay Call ID. */ 'visaCheckoutCallId': string; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "fundingSource", - "baseName": "fundingSource", - "type": "VisaCheckoutDetails.FundingSourceEnum" - }, - { - "name": "type", - "baseName": "type", - "type": "VisaCheckoutDetails.TypeEnum" - }, - { - "name": "visaCheckoutCallId", - "baseName": "visaCheckoutCallId", - "type": "string" - } ]; - - static getAttributeTypeMap() { - return VisaCheckoutDetails.attributeTypeMap; - } } export namespace VisaCheckoutDetails { diff --git a/src/typings/checkout/weChatPayDetails.ts b/src/typings/checkout/weChatPayDetails.ts index e9908fd..cde86b0 100644 --- a/src/typings/checkout/weChatPayDetails.ts +++ b/src/typings/checkout/weChatPayDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,29 +11,16 @@ */ - export class WeChatPayDetails { /** * **wechatpay** */ 'type'?: WeChatPayDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "type", - "baseName": "type", - "type": "WeChatPayDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return WeChatPayDetails.attributeTypeMap; - } } export namespace WeChatPayDetails { export enum TypeEnum { - Wechatpay = 'wechatpay' + Wechatpay = 'wechatpay', + WechatpayPos = 'wechatpay_pos' } } diff --git a/src/typings/checkout/weChatPayMiniProgramDetails.ts b/src/typings/checkout/weChatPayMiniProgramDetails.ts index 223a274..4e78150 100644 --- a/src/typings/checkout/weChatPayMiniProgramDetails.ts +++ b/src/typings/checkout/weChatPayMiniProgramDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class WeChatPayMiniProgramDetails { 'appId'?: string; 'openid'?: string; @@ -38,29 +18,6 @@ export class WeChatPayMiniProgramDetails { * **wechatpayMiniProgram** */ 'type'?: WeChatPayMiniProgramDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "appId", - "baseName": "appId", - "type": "string" - }, - { - "name": "openid", - "baseName": "openid", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "WeChatPayMiniProgramDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return WeChatPayMiniProgramDetails.attributeTypeMap; - } } export namespace WeChatPayMiniProgramDetails { diff --git a/src/typings/checkout/zipDetails.ts b/src/typings/checkout/zipDetails.ts index 099f06e..5ca750c 100644 --- a/src/typings/checkout/zipDetails.ts +++ b/src/typings/checkout/zipDetails.ts @@ -1,27 +1,8 @@ -/* - * ###### - * ###### - * ############ ####( ###### #####. ###### ############ ############ - * ############# #####( ###### #####. ###### ############# ############# - * ###### #####( ###### #####. ###### ##### ###### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### - * ###### ###### #####( ###### #####. ###### ##### ##### ###### - * ############# ############# ############# ############# ##### ###### - * ############ ############ ############# ############ ##### ###### - * ###### - * ############# - * ############ - * Adyen NodeJS API Library - * Copyright (c) 2021 Adyen B.V. - * This file is open source and available under the MIT license. - * See the LICENSE file for more info. - */ - /** * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v68/payments ``` + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! * - * The version of the OpenAPI document: 68 + * The version of the OpenAPI document: 69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +11,6 @@ */ - export class ZipDetails { /** * Set this to **true** if the shopper would like to pick up and collect their order, instead of having the goods delivered to them. @@ -48,38 +28,11 @@ export class ZipDetails { * **zip** */ 'type'?: ZipDetails.TypeEnum; - - static discriminator: string | undefined = undefined; - - static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "clickAndCollect", - "baseName": "clickAndCollect", - "type": "string" - }, - { - "name": "recurringDetailReference", - "baseName": "recurringDetailReference", - "type": "string" - }, - { - "name": "storedPaymentMethodId", - "baseName": "storedPaymentMethodId", - "type": "string" - }, - { - "name": "type", - "baseName": "type", - "type": "ZipDetails.TypeEnum" - } ]; - - static getAttributeTypeMap() { - return ZipDetails.attributeTypeMap; - } } export namespace ZipDetails { export enum TypeEnum { - Zip = 'zip' + Zip = 'zip', + ZipPos = 'zip_pos' } } From e6e948ea798603cdd71b82e3f2340c04ebeba62d Mon Sep 17 00:00:00 2001 From: zaid Date: Thu, 2 Jun 2022 23:10:41 +0200 Subject: [PATCH 2/6] regenerated with license info template added --- src/typings/checkout/accountInfo.ts | 25 +++++++++++++---- src/typings/checkout/acctInfo.ts | 25 +++++++++++++---- src/typings/checkout/achDetails.ts | 25 +++++++++++++---- .../checkout/additionalData3DSecure.ts | 25 +++++++++++++---- src/typings/checkout/additionalDataAirline.ts | 25 +++++++++++++---- .../checkout/additionalDataCarRental.ts | 25 +++++++++++++---- src/typings/checkout/additionalDataCommon.ts | 25 +++++++++++++---- src/typings/checkout/additionalDataLevel23.ts | 25 +++++++++++++---- src/typings/checkout/additionalDataLodging.ts | 25 +++++++++++++---- .../checkout/additionalDataOpenInvoice.ts | 25 +++++++++++++---- src/typings/checkout/additionalDataOpi.ts | 25 +++++++++++++---- src/typings/checkout/additionalDataRatepay.ts | 25 +++++++++++++---- src/typings/checkout/additionalDataRetry.ts | 25 +++++++++++++---- src/typings/checkout/additionalDataRisk.ts | 25 +++++++++++++---- .../checkout/additionalDataRiskStandalone.ts | 25 +++++++++++++---- .../checkout/additionalDataSubMerchant.ts | 25 +++++++++++++---- .../additionalDataTemporaryServices.ts | 25 +++++++++++++---- src/typings/checkout/additionalDataWallets.ts | 25 +++++++++++++---- src/typings/checkout/address.ts | 25 +++++++++++++---- src/typings/checkout/afterpayDetails.ts | 25 +++++++++++++---- src/typings/checkout/amazonPayDetails.ts | 25 +++++++++++++---- src/typings/checkout/amount.ts | 25 +++++++++++++---- src/typings/checkout/androidPayDetails.ts | 25 +++++++++++++---- src/typings/checkout/applePayDetails.ts | 25 +++++++++++++---- src/typings/checkout/applicationInfo.ts | 25 +++++++++++++---- src/typings/checkout/authenticationData.ts | 25 +++++++++++++---- src/typings/checkout/avs.ts | 27 ++++++++++++++----- .../checkout/bacsDirectDebitDetails.ts | 25 +++++++++++++---- src/typings/checkout/bankAccount.ts | 25 +++++++++++++---- src/typings/checkout/billDeskDetails.ts | 25 +++++++++++++---- src/typings/checkout/blikDetails.ts | 25 +++++++++++++---- src/typings/checkout/browserInfo.ts | 25 +++++++++++++---- src/typings/checkout/card.ts | 25 +++++++++++++---- src/typings/checkout/cardBrandDetails.ts | 25 +++++++++++++---- src/typings/checkout/cardDetails.ts | 25 +++++++++++++---- src/typings/checkout/cardDetailsRequest.ts | 25 +++++++++++++---- src/typings/checkout/cardDetailsResponse.ts | 25 +++++++++++++---- src/typings/checkout/cellulantDetails.ts | 25 +++++++++++++---- src/typings/checkout/checkoutAwaitAction.ts | 25 +++++++++++++---- .../checkout/checkoutBalanceCheckRequest.ts | 25 +++++++++++++---- .../checkout/checkoutBalanceCheckResponse.ts | 25 +++++++++++++---- .../checkout/checkoutBankTransferAction.ts | 25 +++++++++++++---- .../checkout/checkoutCancelOrderRequest.ts | 25 +++++++++++++---- .../checkout/checkoutCancelOrderResponse.ts | 25 +++++++++++++---- .../checkout/checkoutCreateOrderRequest.ts | 25 +++++++++++++---- .../checkout/checkoutCreateOrderResponse.ts | 25 +++++++++++++---- .../checkout/checkoutDonationAction.ts | 25 +++++++++++++---- .../checkout/checkoutOneTimePasscodeAction.ts | 25 +++++++++++++---- src/typings/checkout/checkoutOrder.ts | 25 +++++++++++++---- src/typings/checkout/checkoutOrderResponse.ts | 25 +++++++++++++---- src/typings/checkout/checkoutQrCodeAction.ts | 25 +++++++++++++---- .../checkout/checkoutRedirectAction.ts | 25 +++++++++++++---- src/typings/checkout/checkoutSDKAction.ts | 25 +++++++++++++---- .../checkout/checkoutThreeDS2Action.ts | 25 +++++++++++++---- .../checkout/checkoutUtilityRequest.ts | 25 +++++++++++++---- .../checkout/checkoutUtilityResponse.ts | 25 +++++++++++++---- src/typings/checkout/checkoutVoucherAction.ts | 25 +++++++++++++---- src/typings/checkout/commonField.ts | 25 +++++++++++++---- src/typings/checkout/company.ts | 25 +++++++++++++---- src/typings/checkout/configuration.ts | 25 +++++++++++++---- .../checkout/createCheckoutSessionRequest.ts | 25 +++++++++++++---- .../checkout/createCheckoutSessionResponse.ts | 25 +++++++++++++---- .../createPaymentAmountUpdateRequest.ts | 25 +++++++++++++---- .../checkout/createPaymentCancelRequest.ts | 25 +++++++++++++---- .../checkout/createPaymentCaptureRequest.ts | 25 +++++++++++++---- .../checkout/createPaymentLinkRequest.ts | 25 +++++++++++++---- .../checkout/createPaymentRefundRequest.ts | 25 +++++++++++++---- .../checkout/createPaymentReversalRequest.ts | 25 +++++++++++++---- .../createStandalonePaymentCancelRequest.ts | 25 +++++++++++++---- src/typings/checkout/detailsRequest.ts | 25 +++++++++++++---- src/typings/checkout/deviceRenderOptions.ts | 25 +++++++++++++---- src/typings/checkout/dokuDetails.ts | 25 +++++++++++++---- src/typings/checkout/donationResponse.ts | 25 +++++++++++++---- src/typings/checkout/dotpayDetails.ts | 25 +++++++++++++---- src/typings/checkout/dragonpayDetails.ts | 25 +++++++++++++---- .../checkout/econtextVoucherDetails.ts | 25 +++++++++++++---- src/typings/checkout/externalPlatform.ts | 25 +++++++++++++---- src/typings/checkout/forexQuote.ts | 25 +++++++++++++---- src/typings/checkout/fraudCheckResult.ts | 25 +++++++++++++---- src/typings/checkout/fraudResult.ts | 25 +++++++++++++---- .../genericIssuerPaymentMethodDetails.ts | 25 +++++++++++++---- src/typings/checkout/giropayDetails.ts | 25 +++++++++++++---- src/typings/checkout/googlePayDetails.ts | 25 +++++++++++++---- src/typings/checkout/idealDetails.ts | 25 +++++++++++++---- src/typings/checkout/inputDetail.ts | 25 +++++++++++++---- src/typings/checkout/installmentOption.ts | 25 +++++++++++++---- src/typings/checkout/installments.ts | 25 +++++++++++++---- src/typings/checkout/installmentsNumber.ts | 25 +++++++++++++---- src/typings/checkout/item.ts | 25 +++++++++++++---- src/typings/checkout/klarnaDetails.ts | 25 +++++++++++++---- src/typings/checkout/lineItem.ts | 25 +++++++++++++---- src/typings/checkout/mandate.ts | 25 +++++++++++++---- src/typings/checkout/masterpassDetails.ts | 25 +++++++++++++---- src/typings/checkout/mbwayDetails.ts | 25 +++++++++++++---- src/typings/checkout/merchantDevice.ts | 25 +++++++++++++---- src/typings/checkout/merchantRiskIndicator.ts | 25 +++++++++++++---- src/typings/checkout/mobilePayDetails.ts | 25 +++++++++++++---- src/typings/checkout/molPayDetails.ts | 25 +++++++++++++---- src/typings/checkout/name.ts | 25 +++++++++++++---- src/typings/checkout/openInvoiceDetails.ts | 25 +++++++++++++---- src/typings/checkout/payPalDetails.ts | 25 +++++++++++++---- src/typings/checkout/payUUpiDetails.ts | 25 +++++++++++++---- src/typings/checkout/payWithGoogleDetails.ts | 25 +++++++++++++---- .../checkout/paymentAmountUpdateResource.ts | 25 +++++++++++++---- src/typings/checkout/paymentCancelResource.ts | 25 +++++++++++++---- .../checkout/paymentCaptureResource.ts | 25 +++++++++++++---- .../checkout/paymentCompletionDetails.ts | 25 +++++++++++++---- src/typings/checkout/paymentDetails.ts | 25 +++++++++++++---- .../checkout/paymentDetailsResponse.ts | 25 +++++++++++++---- .../checkout/paymentDonationRequest.ts | 25 +++++++++++++---- src/typings/checkout/paymentLinkResponse.ts | 25 +++++++++++++---- src/typings/checkout/paymentMethod.ts | 25 +++++++++++++---- src/typings/checkout/paymentMethodGroup.ts | 25 +++++++++++++---- src/typings/checkout/paymentMethodIssuer.ts | 25 +++++++++++++---- src/typings/checkout/paymentMethodsRequest.ts | 25 +++++++++++++---- .../checkout/paymentMethodsResponse.ts | 25 +++++++++++++---- src/typings/checkout/paymentRefundResource.ts | 25 +++++++++++++---- src/typings/checkout/paymentRequest.ts | 25 +++++++++++++---- src/typings/checkout/paymentResponse.ts | 25 +++++++++++++---- .../checkout/paymentReversalResource.ts | 25 +++++++++++++---- src/typings/checkout/paymentSetupRequest.ts | 25 +++++++++++++---- src/typings/checkout/paymentSetupResponse.ts | 25 +++++++++++++---- .../checkout/paymentVerificationRequest.ts | 25 +++++++++++++---- .../checkout/paymentVerificationResponse.ts | 25 +++++++++++++---- src/typings/checkout/phone.ts | 25 +++++++++++++---- src/typings/checkout/ratepayDetails.ts | 25 +++++++++++++---- src/typings/checkout/recurring.ts | 25 +++++++++++++---- src/typings/checkout/recurringDetail.ts | 25 +++++++++++++---- src/typings/checkout/redirect.ts | 25 +++++++++++++---- .../responseAdditionalData3DSecure.ts | 25 +++++++++++++---- .../responseAdditionalDataBillingAddress.ts | 25 +++++++++++++---- .../checkout/responseAdditionalDataCard.ts | 25 +++++++++++++---- .../checkout/responseAdditionalDataCommon.ts | 25 +++++++++++++---- .../responseAdditionalDataInstallments.ts | 25 +++++++++++++---- .../responseAdditionalDataNetworkTokens.ts | 25 +++++++++++++---- .../checkout/responseAdditionalDataOpi.ts | 25 +++++++++++++---- .../checkout/responseAdditionalDataSepa.ts | 25 +++++++++++++---- src/typings/checkout/responsePaymentMethod.ts | 25 +++++++++++++---- src/typings/checkout/riskData.ts | 25 +++++++++++++---- src/typings/checkout/sDKEphemPubKey.ts | 25 +++++++++++++---- src/typings/checkout/samsungPayDetails.ts | 25 +++++++++++++---- .../checkout/sepaDirectDebitDetails.ts | 25 +++++++++++++---- src/typings/checkout/serviceError.ts | 25 +++++++++++++---- src/typings/checkout/serviceError2.ts | 25 +++++++++++++---- src/typings/checkout/shopperInput.ts | 25 +++++++++++++---- .../checkout/shopperInteractionDevice.ts | 25 +++++++++++++---- src/typings/checkout/split.ts | 25 +++++++++++++---- src/typings/checkout/splitAmount.ts | 25 +++++++++++++---- .../standalonePaymentCancelResource.ts | 25 +++++++++++++---- src/typings/checkout/storedDetails.ts | 25 +++++++++++++---- src/typings/checkout/storedPaymentMethod.ts | 25 +++++++++++++---- .../checkout/storedPaymentMethodDetails.ts | 25 +++++++++++++---- src/typings/checkout/subInputDetail.ts | 25 +++++++++++++---- src/typings/checkout/threeDS2RequestData.ts | 25 +++++++++++++---- src/typings/checkout/threeDS2ResponseData.ts | 25 +++++++++++++---- src/typings/checkout/threeDS2Result.ts | 25 +++++++++++++---- src/typings/checkout/threeDSRequestData.ts | 25 +++++++++++++---- .../threeDSRequestorAuthenticationInfo.ts | 25 +++++++++++++---- ...threeDSRequestorPriorAuthenticationInfo.ts | 25 +++++++++++++---- src/typings/checkout/threeDSecureData.ts | 25 +++++++++++++---- .../checkout/updatePaymentLinkRequest.ts | 25 +++++++++++++---- src/typings/checkout/upiCollectDetails.ts | 25 +++++++++++++---- src/typings/checkout/upiIntentDetails.ts | 25 +++++++++++++---- src/typings/checkout/vippsDetails.ts | 25 +++++++++++++---- src/typings/checkout/visaCheckoutDetails.ts | 25 +++++++++++++---- src/typings/checkout/weChatPayDetails.ts | 25 +++++++++++++---- .../checkout/weChatPayMiniProgramDetails.ts | 25 +++++++++++++---- src/typings/checkout/zipDetails.ts | 25 +++++++++++++---- 168 files changed, 3360 insertions(+), 842 deletions(-) diff --git a/src/typings/checkout/accountInfo.ts b/src/typings/checkout/accountInfo.ts index f1c212b..7550c3e 100644 --- a/src/typings/checkout/accountInfo.ts +++ b/src/typings/checkout/accountInfo.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AccountInfo { /** * Indicator for the length of time since this shopper account was created in the merchant\'s environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days diff --git a/src/typings/checkout/acctInfo.ts b/src/typings/checkout/acctInfo.ts index e872c15..b43771d 100644 --- a/src/typings/checkout/acctInfo.ts +++ b/src/typings/checkout/acctInfo.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AcctInfo { /** * Length of time that the cardholder has had the account with the 3DS Requestor. Allowed values: * **01** — No account * **02** — Created during this transaction * **03** — Less than 30 days * **04** — 30–60 days * **05** — More than 60 days diff --git a/src/typings/checkout/achDetails.ts b/src/typings/checkout/achDetails.ts index e58e79d..8cebe11 100644 --- a/src/typings/checkout/achDetails.ts +++ b/src/typings/checkout/achDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AchDetails { /** * The bank account number (without separators). diff --git a/src/typings/checkout/additionalData3DSecure.ts b/src/typings/checkout/additionalData3DSecure.ts index 09424ea..f433c8f 100644 --- a/src/typings/checkout/additionalData3DSecure.ts +++ b/src/typings/checkout/additionalData3DSecure.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalData3DSecure { /** * Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen still selects the version of 3D Secure based on configuration to optimize authorisation rates and improve the shopper\'s experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen will not offer 3D Secure 2 to your shopper regardless of your configuration. diff --git a/src/typings/checkout/additionalDataAirline.ts b/src/typings/checkout/additionalDataAirline.ts index b1b036f..b6c820c 100644 --- a/src/typings/checkout/additionalDataAirline.ts +++ b/src/typings/checkout/additionalDataAirline.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalDataAirline { /** * Reference number for the invoice, issued by the agency. * minLength: 1 * maxLength: 6 diff --git a/src/typings/checkout/additionalDataCarRental.ts b/src/typings/checkout/additionalDataCarRental.ts index e34382c..e16ed2a 100644 --- a/src/typings/checkout/additionalDataCarRental.ts +++ b/src/typings/checkout/additionalDataCarRental.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalDataCarRental { /** * Pick-up date. * Date format: `yyyyMMdd` diff --git a/src/typings/checkout/additionalDataCommon.ts b/src/typings/checkout/additionalDataCommon.ts index cc64c97..d8f83d4 100644 --- a/src/typings/checkout/additionalDataCommon.ts +++ b/src/typings/checkout/additionalDataCommon.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalDataCommon { /** * Triggers test scenarios that allow to replicate certain communication errors. Allowed values: * **NO_CONNECTION_AVAILABLE** – There wasn\'t a connection available to service the outgoing communication. This is a transient, retriable error since no messaging could be initiated to an issuing system (or third-party acquiring system). Therefore, the header Transient-Error: true is returned in the response. A subsequent request using the same idempotency key will be processed as if it was the first request. * **IOEXCEPTION_RECEIVED** – Something went wrong during transmission of the message or receiving the response. This is a classified as non-transient because the message could have been received by the issuing party and been acted upon. No transient error header is returned. If using idempotency, the (error) response is stored as the final result for the idempotency key. Subsequent messages with the same idempotency key not be processed beyond returning the stored response. diff --git a/src/typings/checkout/additionalDataLevel23.ts b/src/typings/checkout/additionalDataLevel23.ts index 5983a4d..f482bbf 100644 --- a/src/typings/checkout/additionalDataLevel23.ts +++ b/src/typings/checkout/additionalDataLevel23.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalDataLevel23 { /** * Customer code, if supplied by a customer. Encoding: ASCII. Max length: 25 characters. > Required for Level 2 and Level 3 data. diff --git a/src/typings/checkout/additionalDataLodging.ts b/src/typings/checkout/additionalDataLodging.ts index 61cdf32..7aba653 100644 --- a/src/typings/checkout/additionalDataLodging.ts +++ b/src/typings/checkout/additionalDataLodging.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalDataLodging { /** * The arrival date. * Date format: `yyyyMMdd` diff --git a/src/typings/checkout/additionalDataOpenInvoice.ts b/src/typings/checkout/additionalDataOpenInvoice.ts index 449ca89..062cd05 100644 --- a/src/typings/checkout/additionalDataOpenInvoice.ts +++ b/src/typings/checkout/additionalDataOpenInvoice.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalDataOpenInvoice { /** * Holds different merchant data points like product, purchase, customer, and so on. It takes data in a Base64 encoded string. The `merchantData` parameter needs to be added to the `openinvoicedata` signature at the end. Since the field is optional, if it\'s not included it does not impact computing the merchant signature. Applies only to Klarna. You can contact Klarna for the format and structure of the string. diff --git a/src/typings/checkout/additionalDataOpi.ts b/src/typings/checkout/additionalDataOpi.ts index a974c27..d4c12b6 100644 --- a/src/typings/checkout/additionalDataOpi.ts +++ b/src/typings/checkout/additionalDataOpi.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalDataOpi { /** * Optional boolean indicator. Set to **true** if you want an ecommerce transaction to return an `opi.transToken` as additional data in the response. You can store this Oracle Payment Interface token in your Oracle Opera database. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). diff --git a/src/typings/checkout/additionalDataRatepay.ts b/src/typings/checkout/additionalDataRatepay.ts index e37ec57..9629bbb 100644 --- a/src/typings/checkout/additionalDataRatepay.ts +++ b/src/typings/checkout/additionalDataRatepay.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalDataRatepay { /** * Amount the customer has to pay each month. diff --git a/src/typings/checkout/additionalDataRetry.ts b/src/typings/checkout/additionalDataRetry.ts index 1798187..d36ae7e 100644 --- a/src/typings/checkout/additionalDataRetry.ts +++ b/src/typings/checkout/additionalDataRetry.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalDataRetry { /** * The number of times the transaction (not order) has been retried between different payment service providers. For instance, the `chainAttemptNumber` set to 2 means that this transaction has been recently tried on another provider before being sent to Adyen. > If you submit `retry.chainAttemptNumber`, `retry.orderAttemptNumber`, and `retry.skipRetry` values, we also recommend you provide the `merchantOrderReference` to facilitate linking payment attempts together. diff --git a/src/typings/checkout/additionalDataRisk.ts b/src/typings/checkout/additionalDataRisk.ts index 7b08a3a..ae6bdd0 100644 --- a/src/typings/checkout/additionalDataRisk.ts +++ b/src/typings/checkout/additionalDataRisk.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalDataRisk { /** * The data for your custom risk field. For more information, refer to [Create custom risk fields](https://docs.adyen.com/risk-management/configure-custom-risk-rules#step-1-create-custom-risk-fields). diff --git a/src/typings/checkout/additionalDataRiskStandalone.ts b/src/typings/checkout/additionalDataRiskStandalone.ts index 69a99df..a8d52cd 100644 --- a/src/typings/checkout/additionalDataRiskStandalone.ts +++ b/src/typings/checkout/additionalDataRiskStandalone.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalDataRiskStandalone { /** * Shopper\'s country of residence in the form of ISO standard 3166 2-character country codes. diff --git a/src/typings/checkout/additionalDataSubMerchant.ts b/src/typings/checkout/additionalDataSubMerchant.ts index e4f0d12..7f61a75 100644 --- a/src/typings/checkout/additionalDataSubMerchant.ts +++ b/src/typings/checkout/additionalDataSubMerchant.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalDataSubMerchant { /** * Required for transactions performed by registered payment facilitators. Indicates the number of sub-merchants contained in the request. For example, **3**. diff --git a/src/typings/checkout/additionalDataTemporaryServices.ts b/src/typings/checkout/additionalDataTemporaryServices.ts index 60cb21c..0a03849 100644 --- a/src/typings/checkout/additionalDataTemporaryServices.ts +++ b/src/typings/checkout/additionalDataTemporaryServices.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalDataTemporaryServices { /** * Customer code, if supplied by a customer. * Encoding: ASCII * maxLength: 25 diff --git a/src/typings/checkout/additionalDataWallets.ts b/src/typings/checkout/additionalDataWallets.ts index ee6fb39..eb61af4 100644 --- a/src/typings/checkout/additionalDataWallets.ts +++ b/src/typings/checkout/additionalDataWallets.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AdditionalDataWallets { /** * The Android Pay token retrieved from the SDK. diff --git a/src/typings/checkout/address.ts b/src/typings/checkout/address.ts index bf1bd23..dba92e3 100644 --- a/src/typings/checkout/address.ts +++ b/src/typings/checkout/address.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class Address { /** * The name of the city. Maximum length: 3000 characters. diff --git a/src/typings/checkout/afterpayDetails.ts b/src/typings/checkout/afterpayDetails.ts index cd47c0d..bcb6416 100644 --- a/src/typings/checkout/afterpayDetails.ts +++ b/src/typings/checkout/afterpayDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AfterpayDetails { /** * The address where to send the invoice. diff --git a/src/typings/checkout/amazonPayDetails.ts b/src/typings/checkout/amazonPayDetails.ts index 489dad6..44dc6a9 100644 --- a/src/typings/checkout/amazonPayDetails.ts +++ b/src/typings/checkout/amazonPayDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AmazonPayDetails { /** * This is the `amazonPayToken` that you obtained from the [Get Checkout Session](https://amazon-pay-acquirer-guide.s3-eu-west-1.amazonaws.com/v1/amazon-pay-api-v2/checkout-session.html#get-checkout-session) response. diff --git a/src/typings/checkout/amount.ts b/src/typings/checkout/amount.ts index 79e24ca..49aa9d2 100644 --- a/src/typings/checkout/amount.ts +++ b/src/typings/checkout/amount.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class Amount { /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). diff --git a/src/typings/checkout/androidPayDetails.ts b/src/typings/checkout/androidPayDetails.ts index 2cc5018..8696095 100644 --- a/src/typings/checkout/androidPayDetails.ts +++ b/src/typings/checkout/androidPayDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class AndroidPayDetails { /** * **androidpay** diff --git a/src/typings/checkout/applePayDetails.ts b/src/typings/checkout/applePayDetails.ts index 23cda79..5833ee3 100644 --- a/src/typings/checkout/applePayDetails.ts +++ b/src/typings/checkout/applePayDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ApplePayDetails { /** * The stringified and base64 encoded `paymentData` you retrieved from the Apple framework. diff --git a/src/typings/checkout/applicationInfo.ts b/src/typings/checkout/applicationInfo.ts index 055f2d7..6dce7be 100644 --- a/src/typings/checkout/applicationInfo.ts +++ b/src/typings/checkout/applicationInfo.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { CommonField } from './commonField'; import { ExternalPlatform } from './externalPlatform'; import { MerchantDevice } from './merchantDevice'; diff --git a/src/typings/checkout/authenticationData.ts b/src/typings/checkout/authenticationData.ts index b52c634..9a2c42a 100644 --- a/src/typings/checkout/authenticationData.ts +++ b/src/typings/checkout/authenticationData.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { ThreeDSRequestData } from './threeDSRequestData'; export class AuthenticationData { diff --git a/src/typings/checkout/avs.ts b/src/typings/checkout/avs.ts index c0d31bd..d2543bb 100644 --- a/src/typings/checkout/avs.ts +++ b/src/typings/checkout/avs.ts @@ -1,10 +1,24 @@ -// @ts-ignore - -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -12,7 +26,6 @@ * Do not edit the class manually. */ - export class Avs { /** * Indicates whether the shopper is allowed to modify the billing address for the current payment request. diff --git a/src/typings/checkout/bacsDirectDebitDetails.ts b/src/typings/checkout/bacsDirectDebitDetails.ts index 516cad9..32da986 100644 --- a/src/typings/checkout/bacsDirectDebitDetails.ts +++ b/src/typings/checkout/bacsDirectDebitDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class BacsDirectDebitDetails { /** * The bank account number (without separators). diff --git a/src/typings/checkout/bankAccount.ts b/src/typings/checkout/bankAccount.ts index efcefc7..a7465ab 100644 --- a/src/typings/checkout/bankAccount.ts +++ b/src/typings/checkout/bankAccount.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class BankAccount { /** * The bank account number (without separators). diff --git a/src/typings/checkout/billDeskDetails.ts b/src/typings/checkout/billDeskDetails.ts index e56912c..b62b942 100644 --- a/src/typings/checkout/billDeskDetails.ts +++ b/src/typings/checkout/billDeskDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class BillDeskDetails { /** * The issuer id of the shopper\'s selected bank. diff --git a/src/typings/checkout/blikDetails.ts b/src/typings/checkout/blikDetails.ts index 3d644bc..d7b2e31 100644 --- a/src/typings/checkout/blikDetails.ts +++ b/src/typings/checkout/blikDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class BlikDetails { /** * BLIK code consisting of 6 digits. diff --git a/src/typings/checkout/browserInfo.ts b/src/typings/checkout/browserInfo.ts index 4222f00..76f806e 100644 --- a/src/typings/checkout/browserInfo.ts +++ b/src/typings/checkout/browserInfo.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class BrowserInfo { /** * The accept header value of the shopper\'s browser. diff --git a/src/typings/checkout/card.ts b/src/typings/checkout/card.ts index 499923b..680f39c 100644 --- a/src/typings/checkout/card.ts +++ b/src/typings/checkout/card.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class Card { /** * The [card verification code](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. diff --git a/src/typings/checkout/cardBrandDetails.ts b/src/typings/checkout/cardBrandDetails.ts index 57e7ed7..87b25e3 100644 --- a/src/typings/checkout/cardBrandDetails.ts +++ b/src/typings/checkout/cardBrandDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CardBrandDetails { /** * Indicates if you support the card brand. diff --git a/src/typings/checkout/cardDetails.ts b/src/typings/checkout/cardDetails.ts index 5cb5e25..543d959 100644 --- a/src/typings/checkout/cardDetails.ts +++ b/src/typings/checkout/cardDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CardDetails { /** * Secondary brand of the card. For example: **plastix**, **hmclub**. diff --git a/src/typings/checkout/cardDetailsRequest.ts b/src/typings/checkout/cardDetailsRequest.ts index d59d796..a7a607e 100644 --- a/src/typings/checkout/cardDetailsRequest.ts +++ b/src/typings/checkout/cardDetailsRequest.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CardDetailsRequest { /** * A minimum of the first 8 digits of the card number and a maximum of the full card number. 11 digits gives the best result. You must be [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide) to collect raw card data. diff --git a/src/typings/checkout/cardDetailsResponse.ts b/src/typings/checkout/cardDetailsResponse.ts index bb9728e..77c6bea 100644 --- a/src/typings/checkout/cardDetailsResponse.ts +++ b/src/typings/checkout/cardDetailsResponse.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { CardBrandDetails } from './cardBrandDetails'; export class CardDetailsResponse { diff --git a/src/typings/checkout/cellulantDetails.ts b/src/typings/checkout/cellulantDetails.ts index 2a6586a..33eed70 100644 --- a/src/typings/checkout/cellulantDetails.ts +++ b/src/typings/checkout/cellulantDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CellulantDetails { /** * The Cellulant issuer. diff --git a/src/typings/checkout/checkoutAwaitAction.ts b/src/typings/checkout/checkoutAwaitAction.ts index 0e9ffe8..1a1a263 100644 --- a/src/typings/checkout/checkoutAwaitAction.ts +++ b/src/typings/checkout/checkoutAwaitAction.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CheckoutAwaitAction { /** * A value that must be submitted to the `/payments/details` endpoint to verify this payment. diff --git a/src/typings/checkout/checkoutBalanceCheckRequest.ts b/src/typings/checkout/checkoutBalanceCheckRequest.ts index e6c7e41..5aeaad4 100644 --- a/src/typings/checkout/checkoutBalanceCheckRequest.ts +++ b/src/typings/checkout/checkoutBalanceCheckRequest.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { AccountInfo } from './accountInfo'; import { Address } from './address'; import { Amount } from './amount'; diff --git a/src/typings/checkout/checkoutBalanceCheckResponse.ts b/src/typings/checkout/checkoutBalanceCheckResponse.ts index e573c33..299cc75 100644 --- a/src/typings/checkout/checkoutBalanceCheckResponse.ts +++ b/src/typings/checkout/checkoutBalanceCheckResponse.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; import { FraudResult } from './fraudResult'; diff --git a/src/typings/checkout/checkoutBankTransferAction.ts b/src/typings/checkout/checkoutBankTransferAction.ts index 885e418..4aa1e3d 100644 --- a/src/typings/checkout/checkoutBankTransferAction.ts +++ b/src/typings/checkout/checkoutBankTransferAction.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; export class CheckoutBankTransferAction { diff --git a/src/typings/checkout/checkoutCancelOrderRequest.ts b/src/typings/checkout/checkoutCancelOrderRequest.ts index 11de3f9..5f4118b 100644 --- a/src/typings/checkout/checkoutCancelOrderRequest.ts +++ b/src/typings/checkout/checkoutCancelOrderRequest.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { CheckoutOrder } from './checkoutOrder'; export class CheckoutCancelOrderRequest { diff --git a/src/typings/checkout/checkoutCancelOrderResponse.ts b/src/typings/checkout/checkoutCancelOrderResponse.ts index 3cadd3b..68488fa 100644 --- a/src/typings/checkout/checkoutCancelOrderResponse.ts +++ b/src/typings/checkout/checkoutCancelOrderResponse.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CheckoutCancelOrderResponse { /** * A unique reference of the cancellation request. diff --git a/src/typings/checkout/checkoutCreateOrderRequest.ts b/src/typings/checkout/checkoutCreateOrderRequest.ts index 3b97a56..03c0be1 100644 --- a/src/typings/checkout/checkoutCreateOrderRequest.ts +++ b/src/typings/checkout/checkoutCreateOrderRequest.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; export class CheckoutCreateOrderRequest { diff --git a/src/typings/checkout/checkoutCreateOrderResponse.ts b/src/typings/checkout/checkoutCreateOrderResponse.ts index 2b22a5c..e9665ff 100644 --- a/src/typings/checkout/checkoutCreateOrderResponse.ts +++ b/src/typings/checkout/checkoutCreateOrderResponse.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; import { FraudResult } from './fraudResult'; diff --git a/src/typings/checkout/checkoutDonationAction.ts b/src/typings/checkout/checkoutDonationAction.ts index 75ee2b8..29f9a58 100644 --- a/src/typings/checkout/checkoutDonationAction.ts +++ b/src/typings/checkout/checkoutDonationAction.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CheckoutDonationAction { /** * A value that must be submitted to the `/payments/details` endpoint to verify this payment. diff --git a/src/typings/checkout/checkoutOneTimePasscodeAction.ts b/src/typings/checkout/checkoutOneTimePasscodeAction.ts index aed60e9..971717c 100644 --- a/src/typings/checkout/checkoutOneTimePasscodeAction.ts +++ b/src/typings/checkout/checkoutOneTimePasscodeAction.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Redirect } from './redirect'; export class CheckoutOneTimePasscodeAction { diff --git a/src/typings/checkout/checkoutOrder.ts b/src/typings/checkout/checkoutOrder.ts index 5002c67..2281085 100644 --- a/src/typings/checkout/checkoutOrder.ts +++ b/src/typings/checkout/checkoutOrder.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CheckoutOrder { /** * The encrypted order data. diff --git a/src/typings/checkout/checkoutOrderResponse.ts b/src/typings/checkout/checkoutOrderResponse.ts index 55578e8..b3fbfce 100644 --- a/src/typings/checkout/checkoutOrderResponse.ts +++ b/src/typings/checkout/checkoutOrderResponse.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; export class CheckoutOrderResponse { diff --git a/src/typings/checkout/checkoutQrCodeAction.ts b/src/typings/checkout/checkoutQrCodeAction.ts index fd9c8ad..6190f1f 100644 --- a/src/typings/checkout/checkoutQrCodeAction.ts +++ b/src/typings/checkout/checkoutQrCodeAction.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CheckoutQrCodeAction { /** * Expiry time of the QR code. diff --git a/src/typings/checkout/checkoutRedirectAction.ts b/src/typings/checkout/checkoutRedirectAction.ts index 7d560b2..18bcf0b 100644 --- a/src/typings/checkout/checkoutRedirectAction.ts +++ b/src/typings/checkout/checkoutRedirectAction.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CheckoutRedirectAction { /** * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. diff --git a/src/typings/checkout/checkoutSDKAction.ts b/src/typings/checkout/checkoutSDKAction.ts index 7368c2a..96a8524 100644 --- a/src/typings/checkout/checkoutSDKAction.ts +++ b/src/typings/checkout/checkoutSDKAction.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CheckoutSDKAction { /** * A value that must be submitted to the `/payments/details` endpoint to verify this payment. diff --git a/src/typings/checkout/checkoutThreeDS2Action.ts b/src/typings/checkout/checkoutThreeDS2Action.ts index ac3ed01..c09e893 100644 --- a/src/typings/checkout/checkoutThreeDS2Action.ts +++ b/src/typings/checkout/checkoutThreeDS2Action.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CheckoutThreeDS2Action { /** * A token needed to authorise a payment. diff --git a/src/typings/checkout/checkoutUtilityRequest.ts b/src/typings/checkout/checkoutUtilityRequest.ts index 4526bfd..2d4d8de 100644 --- a/src/typings/checkout/checkoutUtilityRequest.ts +++ b/src/typings/checkout/checkoutUtilityRequest.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CheckoutUtilityRequest { /** * The list of origin domains, for which origin keys are requested. diff --git a/src/typings/checkout/checkoutUtilityResponse.ts b/src/typings/checkout/checkoutUtilityResponse.ts index ba77886..337d8b2 100644 --- a/src/typings/checkout/checkoutUtilityResponse.ts +++ b/src/typings/checkout/checkoutUtilityResponse.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CheckoutUtilityResponse { /** * The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key. diff --git a/src/typings/checkout/checkoutVoucherAction.ts b/src/typings/checkout/checkoutVoucherAction.ts index 7d20df7..eccec3b 100644 --- a/src/typings/checkout/checkoutVoucherAction.ts +++ b/src/typings/checkout/checkoutVoucherAction.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; export class CheckoutVoucherAction { diff --git a/src/typings/checkout/commonField.ts b/src/typings/checkout/commonField.ts index c240813..4c49828 100644 --- a/src/typings/checkout/commonField.ts +++ b/src/typings/checkout/commonField.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CommonField { /** * Name of the field. For example, Name of External Platform. diff --git a/src/typings/checkout/company.ts b/src/typings/checkout/company.ts index 921f5e6..805b225 100644 --- a/src/typings/checkout/company.ts +++ b/src/typings/checkout/company.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class Company { /** * The company website\'s home page. diff --git a/src/typings/checkout/configuration.ts b/src/typings/checkout/configuration.ts index bb7e24e..635fcec 100644 --- a/src/typings/checkout/configuration.ts +++ b/src/typings/checkout/configuration.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Avs } from './avs'; import { InstallmentsNumber } from './installmentsNumber'; import { ShopperInput } from './shopperInput'; diff --git a/src/typings/checkout/createCheckoutSessionRequest.ts b/src/typings/checkout/createCheckoutSessionRequest.ts index b53a5a2..4cb3898 100644 --- a/src/typings/checkout/createCheckoutSessionRequest.ts +++ b/src/typings/checkout/createCheckoutSessionRequest.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { AccountInfo } from './accountInfo'; import { Address } from './address'; import { Amount } from './amount'; diff --git a/src/typings/checkout/createCheckoutSessionResponse.ts b/src/typings/checkout/createCheckoutSessionResponse.ts index 09decff..80c4c39 100644 --- a/src/typings/checkout/createCheckoutSessionResponse.ts +++ b/src/typings/checkout/createCheckoutSessionResponse.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { AccountInfo } from './accountInfo'; import { Address } from './address'; import { Amount } from './amount'; diff --git a/src/typings/checkout/createPaymentAmountUpdateRequest.ts b/src/typings/checkout/createPaymentAmountUpdateRequest.ts index 2f72bd4..7936b6c 100644 --- a/src/typings/checkout/createPaymentAmountUpdateRequest.ts +++ b/src/typings/checkout/createPaymentAmountUpdateRequest.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; import { Split } from './split'; diff --git a/src/typings/checkout/createPaymentCancelRequest.ts b/src/typings/checkout/createPaymentCancelRequest.ts index d1608d9..82f15a9 100644 --- a/src/typings/checkout/createPaymentCancelRequest.ts +++ b/src/typings/checkout/createPaymentCancelRequest.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CreatePaymentCancelRequest { /** * The merchant account that is used to process the payment. diff --git a/src/typings/checkout/createPaymentCaptureRequest.ts b/src/typings/checkout/createPaymentCaptureRequest.ts index c47be87..42fd74a 100644 --- a/src/typings/checkout/createPaymentCaptureRequest.ts +++ b/src/typings/checkout/createPaymentCaptureRequest.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; import { LineItem } from './lineItem'; import { Split } from './split'; diff --git a/src/typings/checkout/createPaymentLinkRequest.ts b/src/typings/checkout/createPaymentLinkRequest.ts index 3fd2cdd..8aaa7b7 100644 --- a/src/typings/checkout/createPaymentLinkRequest.ts +++ b/src/typings/checkout/createPaymentLinkRequest.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Address } from './address'; import { Amount } from './amount'; import { ApplicationInfo } from './applicationInfo'; diff --git a/src/typings/checkout/createPaymentRefundRequest.ts b/src/typings/checkout/createPaymentRefundRequest.ts index 3a4e01e..6ce2bc4 100644 --- a/src/typings/checkout/createPaymentRefundRequest.ts +++ b/src/typings/checkout/createPaymentRefundRequest.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; import { LineItem } from './lineItem'; import { Split } from './split'; diff --git a/src/typings/checkout/createPaymentReversalRequest.ts b/src/typings/checkout/createPaymentReversalRequest.ts index 2562126..d629798 100644 --- a/src/typings/checkout/createPaymentReversalRequest.ts +++ b/src/typings/checkout/createPaymentReversalRequest.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CreatePaymentReversalRequest { /** * The merchant account that is used to process the payment. diff --git a/src/typings/checkout/createStandalonePaymentCancelRequest.ts b/src/typings/checkout/createStandalonePaymentCancelRequest.ts index 3eb7148..be76f50 100644 --- a/src/typings/checkout/createStandalonePaymentCancelRequest.ts +++ b/src/typings/checkout/createStandalonePaymentCancelRequest.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class CreateStandalonePaymentCancelRequest { /** * The merchant account that is used to process the payment. diff --git a/src/typings/checkout/detailsRequest.ts b/src/typings/checkout/detailsRequest.ts index b89a283..e26c9e2 100644 --- a/src/typings/checkout/detailsRequest.ts +++ b/src/typings/checkout/detailsRequest.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { PaymentCompletionDetails } from './paymentCompletionDetails'; export class DetailsRequest { diff --git a/src/typings/checkout/deviceRenderOptions.ts b/src/typings/checkout/deviceRenderOptions.ts index c433edb..78b5b6e 100644 --- a/src/typings/checkout/deviceRenderOptions.ts +++ b/src/typings/checkout/deviceRenderOptions.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class DeviceRenderOptions { /** * Supported SDK interface types. Allowed values: * native * html * both diff --git a/src/typings/checkout/dokuDetails.ts b/src/typings/checkout/dokuDetails.ts index 0fe4521..72c2cba 100644 --- a/src/typings/checkout/dokuDetails.ts +++ b/src/typings/checkout/dokuDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class DokuDetails { /** * The shopper\'s first name. diff --git a/src/typings/checkout/donationResponse.ts b/src/typings/checkout/donationResponse.ts index 8d2b16c..f5226f2 100644 --- a/src/typings/checkout/donationResponse.ts +++ b/src/typings/checkout/donationResponse.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; import { PaymentResponse } from './paymentResponse'; diff --git a/src/typings/checkout/dotpayDetails.ts b/src/typings/checkout/dotpayDetails.ts index 168836c..df7a3a9 100644 --- a/src/typings/checkout/dotpayDetails.ts +++ b/src/typings/checkout/dotpayDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class DotpayDetails { /** * The Dotpay issuer value of the shopper\'s selected bank. Set this to an **id** of a Dotpay issuer to preselect it. diff --git a/src/typings/checkout/dragonpayDetails.ts b/src/typings/checkout/dragonpayDetails.ts index 2c5931c..e6afaf9 100644 --- a/src/typings/checkout/dragonpayDetails.ts +++ b/src/typings/checkout/dragonpayDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class DragonpayDetails { /** * The Dragonpay issuer value of the shopper\'s selected bank. Set this to an **id** of a Dragonpay issuer to preselect it. diff --git a/src/typings/checkout/econtextVoucherDetails.ts b/src/typings/checkout/econtextVoucherDetails.ts index 3a92e83..7a88e78 100644 --- a/src/typings/checkout/econtextVoucherDetails.ts +++ b/src/typings/checkout/econtextVoucherDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class EcontextVoucherDetails { /** * The shopper\'s first name. diff --git a/src/typings/checkout/externalPlatform.ts b/src/typings/checkout/externalPlatform.ts index 87f764f..6120dcb 100644 --- a/src/typings/checkout/externalPlatform.ts +++ b/src/typings/checkout/externalPlatform.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ExternalPlatform { /** * External platform integrator. diff --git a/src/typings/checkout/forexQuote.ts b/src/typings/checkout/forexQuote.ts index b230662..c0dc06d 100644 --- a/src/typings/checkout/forexQuote.ts +++ b/src/typings/checkout/forexQuote.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; export class ForexQuote { diff --git a/src/typings/checkout/fraudCheckResult.ts b/src/typings/checkout/fraudCheckResult.ts index 47b6ffd..ebf34dd 100644 --- a/src/typings/checkout/fraudCheckResult.ts +++ b/src/typings/checkout/fraudCheckResult.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class FraudCheckResult { /** * The fraud score generated by the risk check. diff --git a/src/typings/checkout/fraudResult.ts b/src/typings/checkout/fraudResult.ts index a0a38b6..5d2d715 100644 --- a/src/typings/checkout/fraudResult.ts +++ b/src/typings/checkout/fraudResult.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { FraudCheckResult } from './fraudCheckResult'; export class FraudResult { diff --git a/src/typings/checkout/genericIssuerPaymentMethodDetails.ts b/src/typings/checkout/genericIssuerPaymentMethodDetails.ts index e78058a..80e293b 100644 --- a/src/typings/checkout/genericIssuerPaymentMethodDetails.ts +++ b/src/typings/checkout/genericIssuerPaymentMethodDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class GenericIssuerPaymentMethodDetails { /** * The issuer id of the shopper\'s selected bank. diff --git a/src/typings/checkout/giropayDetails.ts b/src/typings/checkout/giropayDetails.ts index 444861f..e13a141 100644 --- a/src/typings/checkout/giropayDetails.ts +++ b/src/typings/checkout/giropayDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class GiropayDetails { /** * This is the `recurringDetailReference` returned in the response when you created the token. diff --git a/src/typings/checkout/googlePayDetails.ts b/src/typings/checkout/googlePayDetails.ts index 6315864..0a4ff32 100644 --- a/src/typings/checkout/googlePayDetails.ts +++ b/src/typings/checkout/googlePayDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class GooglePayDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. diff --git a/src/typings/checkout/idealDetails.ts b/src/typings/checkout/idealDetails.ts index a511d17..d86f857 100644 --- a/src/typings/checkout/idealDetails.ts +++ b/src/typings/checkout/idealDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class IdealDetails { /** * The iDEAL issuer value of the shopper\'s selected bank. Set this to an **id** of an iDEAL issuer to preselect it. diff --git a/src/typings/checkout/inputDetail.ts b/src/typings/checkout/inputDetail.ts index 68ae939..17e3691 100644 --- a/src/typings/checkout/inputDetail.ts +++ b/src/typings/checkout/inputDetail.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Item } from './item'; import { SubInputDetail } from './subInputDetail'; diff --git a/src/typings/checkout/installmentOption.ts b/src/typings/checkout/installmentOption.ts index 78b4f48..a2ebf4f 100644 --- a/src/typings/checkout/installmentOption.ts +++ b/src/typings/checkout/installmentOption.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class InstallmentOption { /** * The maximum number of installments offered for this payment method. diff --git a/src/typings/checkout/installments.ts b/src/typings/checkout/installments.ts index d9749c6..3cbbc94 100644 --- a/src/typings/checkout/installments.ts +++ b/src/typings/checkout/installments.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class Installments { /** * The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). By default, this is set to **regular**. Possible values: * **regular** * **revolving** diff --git a/src/typings/checkout/installmentsNumber.ts b/src/typings/checkout/installmentsNumber.ts index 4cc893f..af6530e 100644 --- a/src/typings/checkout/installmentsNumber.ts +++ b/src/typings/checkout/installmentsNumber.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class InstallmentsNumber { /** * Maximum number of installments diff --git a/src/typings/checkout/item.ts b/src/typings/checkout/item.ts index ccbc229..6773e11 100644 --- a/src/typings/checkout/item.ts +++ b/src/typings/checkout/item.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class Item { /** * The value to provide in the result. diff --git a/src/typings/checkout/klarnaDetails.ts b/src/typings/checkout/klarnaDetails.ts index 1eb32e6..aeec107 100644 --- a/src/typings/checkout/klarnaDetails.ts +++ b/src/typings/checkout/klarnaDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class KlarnaDetails { /** * The address where to send the invoice. diff --git a/src/typings/checkout/lineItem.ts b/src/typings/checkout/lineItem.ts index 83ef5cb..c9fa241 100644 --- a/src/typings/checkout/lineItem.ts +++ b/src/typings/checkout/lineItem.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class LineItem { /** * Item amount excluding the tax, in minor units. diff --git a/src/typings/checkout/mandate.ts b/src/typings/checkout/mandate.ts index 73cf507..1a00afb 100644 --- a/src/typings/checkout/mandate.ts +++ b/src/typings/checkout/mandate.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class Mandate { /** * The billing amount (in minor units) of the recurring transactions. diff --git a/src/typings/checkout/masterpassDetails.ts b/src/typings/checkout/masterpassDetails.ts index 77471e8..4a249e8 100644 --- a/src/typings/checkout/masterpassDetails.ts +++ b/src/typings/checkout/masterpassDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class MasterpassDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. diff --git a/src/typings/checkout/mbwayDetails.ts b/src/typings/checkout/mbwayDetails.ts index 8e44438..d0f8aa5 100644 --- a/src/typings/checkout/mbwayDetails.ts +++ b/src/typings/checkout/mbwayDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class MbwayDetails { 'shopperEmail': string; 'telephoneNumber': string; diff --git a/src/typings/checkout/merchantDevice.ts b/src/typings/checkout/merchantDevice.ts index 56b2b6c..61a1cce 100644 --- a/src/typings/checkout/merchantDevice.ts +++ b/src/typings/checkout/merchantDevice.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class MerchantDevice { /** * Operating system running on the merchant device. diff --git a/src/typings/checkout/merchantRiskIndicator.ts b/src/typings/checkout/merchantRiskIndicator.ts index e5983c0..95bf947 100644 --- a/src/typings/checkout/merchantRiskIndicator.ts +++ b/src/typings/checkout/merchantRiskIndicator.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; export class MerchantRiskIndicator { diff --git a/src/typings/checkout/mobilePayDetails.ts b/src/typings/checkout/mobilePayDetails.ts index 081c7e6..d60786e 100644 --- a/src/typings/checkout/mobilePayDetails.ts +++ b/src/typings/checkout/mobilePayDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class MobilePayDetails { /** * **mobilepay** diff --git a/src/typings/checkout/molPayDetails.ts b/src/typings/checkout/molPayDetails.ts index 58cc642..2d0f9e8 100644 --- a/src/typings/checkout/molPayDetails.ts +++ b/src/typings/checkout/molPayDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class MolPayDetails { /** * The shopper\'s bank. Specify this with the issuer value that corresponds to this bank. diff --git a/src/typings/checkout/name.ts b/src/typings/checkout/name.ts index a207c79..2c5449e 100644 --- a/src/typings/checkout/name.ts +++ b/src/typings/checkout/name.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class Name { /** * The first name. diff --git a/src/typings/checkout/openInvoiceDetails.ts b/src/typings/checkout/openInvoiceDetails.ts index e75dda8..75edaef 100644 --- a/src/typings/checkout/openInvoiceDetails.ts +++ b/src/typings/checkout/openInvoiceDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class OpenInvoiceDetails { /** * The address where to send the invoice. diff --git a/src/typings/checkout/payPalDetails.ts b/src/typings/checkout/payPalDetails.ts index d9326b3..43d4981 100644 --- a/src/typings/checkout/payPalDetails.ts +++ b/src/typings/checkout/payPalDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class PayPalDetails { /** * The unique ID associated with the order. diff --git a/src/typings/checkout/payUUpiDetails.ts b/src/typings/checkout/payUUpiDetails.ts index 315bf39..f942516 100644 --- a/src/typings/checkout/payUUpiDetails.ts +++ b/src/typings/checkout/payUUpiDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class PayUUpiDetails { /** * This is the `recurringDetailReference` returned in the response when you created the token. diff --git a/src/typings/checkout/payWithGoogleDetails.ts b/src/typings/checkout/payWithGoogleDetails.ts index 86b24c6..1aa3f09 100644 --- a/src/typings/checkout/payWithGoogleDetails.ts +++ b/src/typings/checkout/payWithGoogleDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class PayWithGoogleDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. diff --git a/src/typings/checkout/paymentAmountUpdateResource.ts b/src/typings/checkout/paymentAmountUpdateResource.ts index 83e066a..2981dc0 100644 --- a/src/typings/checkout/paymentAmountUpdateResource.ts +++ b/src/typings/checkout/paymentAmountUpdateResource.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; import { Split } from './split'; diff --git a/src/typings/checkout/paymentCancelResource.ts b/src/typings/checkout/paymentCancelResource.ts index 6807f7b..53d2c5e 100644 --- a/src/typings/checkout/paymentCancelResource.ts +++ b/src/typings/checkout/paymentCancelResource.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class PaymentCancelResource { /** * The merchant account that is used to process the payment. diff --git a/src/typings/checkout/paymentCaptureResource.ts b/src/typings/checkout/paymentCaptureResource.ts index c91face..2ccb9e7 100644 --- a/src/typings/checkout/paymentCaptureResource.ts +++ b/src/typings/checkout/paymentCaptureResource.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; import { LineItem } from './lineItem'; import { Split } from './split'; diff --git a/src/typings/checkout/paymentCompletionDetails.ts b/src/typings/checkout/paymentCompletionDetails.ts index e346108..6318856 100644 --- a/src/typings/checkout/paymentCompletionDetails.ts +++ b/src/typings/checkout/paymentCompletionDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class PaymentCompletionDetails { /** * A payment session identifier returned by the card issuer. diff --git a/src/typings/checkout/paymentDetails.ts b/src/typings/checkout/paymentDetails.ts index 971c04b..6b2ebbf 100644 --- a/src/typings/checkout/paymentDetails.ts +++ b/src/typings/checkout/paymentDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class PaymentDetails { /** * The payment method type. diff --git a/src/typings/checkout/paymentDetailsResponse.ts b/src/typings/checkout/paymentDetailsResponse.ts index 9639ff2..be94ee0 100644 --- a/src/typings/checkout/paymentDetailsResponse.ts +++ b/src/typings/checkout/paymentDetailsResponse.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; import { CheckoutOrderResponse } from './checkoutOrderResponse'; import { FraudResult } from './fraudResult'; diff --git a/src/typings/checkout/paymentDonationRequest.ts b/src/typings/checkout/paymentDonationRequest.ts index 6dbd9f2..1e54c78 100644 --- a/src/typings/checkout/paymentDonationRequest.ts +++ b/src/typings/checkout/paymentDonationRequest.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { AccountInfo } from './accountInfo'; import { AchDetails } from './achDetails'; import { Address } from './address'; diff --git a/src/typings/checkout/paymentLinkResponse.ts b/src/typings/checkout/paymentLinkResponse.ts index d35c13b..9b9ca0d 100644 --- a/src/typings/checkout/paymentLinkResponse.ts +++ b/src/typings/checkout/paymentLinkResponse.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Address } from './address'; import { Amount } from './amount'; import { ApplicationInfo } from './applicationInfo'; diff --git a/src/typings/checkout/paymentMethod.ts b/src/typings/checkout/paymentMethod.ts index 726d555..0077658 100644 --- a/src/typings/checkout/paymentMethod.ts +++ b/src/typings/checkout/paymentMethod.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { InputDetail } from './inputDetail'; import { PaymentMethodGroup } from './paymentMethodGroup'; import { PaymentMethodIssuer } from './paymentMethodIssuer'; diff --git a/src/typings/checkout/paymentMethodGroup.ts b/src/typings/checkout/paymentMethodGroup.ts index 266cb2a..f3b5d9f 100644 --- a/src/typings/checkout/paymentMethodGroup.ts +++ b/src/typings/checkout/paymentMethodGroup.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class PaymentMethodGroup { /** * The name of the group. diff --git a/src/typings/checkout/paymentMethodIssuer.ts b/src/typings/checkout/paymentMethodIssuer.ts index 337967f..614c058 100644 --- a/src/typings/checkout/paymentMethodIssuer.ts +++ b/src/typings/checkout/paymentMethodIssuer.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class PaymentMethodIssuer { /** * A boolean value indicating whether this issuer is unavailable. Can be `true` whenever the issuer is offline. diff --git a/src/typings/checkout/paymentMethodsRequest.ts b/src/typings/checkout/paymentMethodsRequest.ts index dbcded1..2a1e50a 100644 --- a/src/typings/checkout/paymentMethodsRequest.ts +++ b/src/typings/checkout/paymentMethodsRequest.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; import { CheckoutOrder } from './checkoutOrder'; diff --git a/src/typings/checkout/paymentMethodsResponse.ts b/src/typings/checkout/paymentMethodsResponse.ts index eed18b7..8317fd7 100644 --- a/src/typings/checkout/paymentMethodsResponse.ts +++ b/src/typings/checkout/paymentMethodsResponse.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { PaymentMethod } from './paymentMethod'; import { StoredPaymentMethod } from './storedPaymentMethod'; diff --git a/src/typings/checkout/paymentRefundResource.ts b/src/typings/checkout/paymentRefundResource.ts index af1d007..c3589b2 100644 --- a/src/typings/checkout/paymentRefundResource.ts +++ b/src/typings/checkout/paymentRefundResource.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; import { LineItem } from './lineItem'; import { Split } from './split'; diff --git a/src/typings/checkout/paymentRequest.ts b/src/typings/checkout/paymentRequest.ts index 8e64891..f1b6138 100644 --- a/src/typings/checkout/paymentRequest.ts +++ b/src/typings/checkout/paymentRequest.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { AccountInfo } from './accountInfo'; import { AchDetails } from './achDetails'; import { Address } from './address'; diff --git a/src/typings/checkout/paymentResponse.ts b/src/typings/checkout/paymentResponse.ts index 709acab..986fe91 100644 --- a/src/typings/checkout/paymentResponse.ts +++ b/src/typings/checkout/paymentResponse.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Amount } from './amount'; import { CheckoutAwaitAction } from './checkoutAwaitAction'; import { CheckoutBankTransferAction } from './checkoutBankTransferAction'; diff --git a/src/typings/checkout/paymentReversalResource.ts b/src/typings/checkout/paymentReversalResource.ts index 2634d9d..eaeb5aa 100644 --- a/src/typings/checkout/paymentReversalResource.ts +++ b/src/typings/checkout/paymentReversalResource.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class PaymentReversalResource { /** * The merchant account that is used to process the payment. diff --git a/src/typings/checkout/paymentSetupRequest.ts b/src/typings/checkout/paymentSetupRequest.ts index 82f477f..d849848 100644 --- a/src/typings/checkout/paymentSetupRequest.ts +++ b/src/typings/checkout/paymentSetupRequest.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Address } from './address'; import { Amount } from './amount'; import { ApplicationInfo } from './applicationInfo'; diff --git a/src/typings/checkout/paymentSetupResponse.ts b/src/typings/checkout/paymentSetupResponse.ts index 3bf795b..4fb3011 100644 --- a/src/typings/checkout/paymentSetupResponse.ts +++ b/src/typings/checkout/paymentSetupResponse.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { RecurringDetail } from './recurringDetail'; export class PaymentSetupResponse { diff --git a/src/typings/checkout/paymentVerificationRequest.ts b/src/typings/checkout/paymentVerificationRequest.ts index b3fed4a..85b23fc 100644 --- a/src/typings/checkout/paymentVerificationRequest.ts +++ b/src/typings/checkout/paymentVerificationRequest.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class PaymentVerificationRequest { /** * Encrypted and signed payment result data. You should receive this value from the Checkout SDK after the shopper completes the payment. diff --git a/src/typings/checkout/paymentVerificationResponse.ts b/src/typings/checkout/paymentVerificationResponse.ts index f49c46e..5b65a4b 100644 --- a/src/typings/checkout/paymentVerificationResponse.ts +++ b/src/typings/checkout/paymentVerificationResponse.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { CheckoutOrderResponse } from './checkoutOrderResponse'; import { FraudResult } from './fraudResult'; import { ServiceError2 } from './serviceError2'; diff --git a/src/typings/checkout/phone.ts b/src/typings/checkout/phone.ts index 753ca28..271915d 100644 --- a/src/typings/checkout/phone.ts +++ b/src/typings/checkout/phone.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class Phone { /** * Country code. Length: 1–3 characters. diff --git a/src/typings/checkout/ratepayDetails.ts b/src/typings/checkout/ratepayDetails.ts index 36d4b3d..cbff8ee 100644 --- a/src/typings/checkout/ratepayDetails.ts +++ b/src/typings/checkout/ratepayDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class RatepayDetails { /** * The address where to send the invoice. diff --git a/src/typings/checkout/recurring.ts b/src/typings/checkout/recurring.ts index a650f04..f5a11d2 100644 --- a/src/typings/checkout/recurring.ts +++ b/src/typings/checkout/recurring.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class Recurring { /** * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). diff --git a/src/typings/checkout/recurringDetail.ts b/src/typings/checkout/recurringDetail.ts index eea633f..54ddbcb 100644 --- a/src/typings/checkout/recurringDetail.ts +++ b/src/typings/checkout/recurringDetail.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { InputDetail } from './inputDetail'; import { PaymentMethodGroup } from './paymentMethodGroup'; import { PaymentMethodIssuer } from './paymentMethodIssuer'; diff --git a/src/typings/checkout/redirect.ts b/src/typings/checkout/redirect.ts index 28d2693..17ddfdd 100644 --- a/src/typings/checkout/redirect.ts +++ b/src/typings/checkout/redirect.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class Redirect { /** * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. diff --git a/src/typings/checkout/responseAdditionalData3DSecure.ts b/src/typings/checkout/responseAdditionalData3DSecure.ts index 193e47e..5258452 100644 --- a/src/typings/checkout/responseAdditionalData3DSecure.ts +++ b/src/typings/checkout/responseAdditionalData3DSecure.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ResponseAdditionalData3DSecure { /** * Information provided by the issuer to the cardholder. If this field is present, you need to display this information to the cardholder. diff --git a/src/typings/checkout/responseAdditionalDataBillingAddress.ts b/src/typings/checkout/responseAdditionalDataBillingAddress.ts index e656c09..2e2c5c0 100644 --- a/src/typings/checkout/responseAdditionalDataBillingAddress.ts +++ b/src/typings/checkout/responseAdditionalDataBillingAddress.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ResponseAdditionalDataBillingAddress { /** * The billing address city passed in the payment request. diff --git a/src/typings/checkout/responseAdditionalDataCard.ts b/src/typings/checkout/responseAdditionalDataCard.ts index af4d1e1..a00cfe1 100644 --- a/src/typings/checkout/responseAdditionalDataCard.ts +++ b/src/typings/checkout/responseAdditionalDataCard.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ResponseAdditionalDataCard { /** * The first six digits of the card number. This is the [Bank Identification Number (BIN)](https://docs.adyen.com/get-started-with-adyen/payment-glossary#bank-identification-number-bin) for card numbers with a six-digit BIN. Example: 521234 diff --git a/src/typings/checkout/responseAdditionalDataCommon.ts b/src/typings/checkout/responseAdditionalDataCommon.ts index 5ed1ae9..3c0477d 100644 --- a/src/typings/checkout/responseAdditionalDataCommon.ts +++ b/src/typings/checkout/responseAdditionalDataCommon.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ResponseAdditionalDataCommon { /** * The name of the Adyen acquirer account. Example: PayPalSandbox_TestAcquirer > Only relevant for PayPal transactions. diff --git a/src/typings/checkout/responseAdditionalDataInstallments.ts b/src/typings/checkout/responseAdditionalDataInstallments.ts index 638e89a..e5329d7 100644 --- a/src/typings/checkout/responseAdditionalDataInstallments.ts +++ b/src/typings/checkout/responseAdditionalDataInstallments.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ResponseAdditionalDataInstallments { /** * Type of installment. The value of `installmentType` should be **IssuerFinanced**. diff --git a/src/typings/checkout/responseAdditionalDataNetworkTokens.ts b/src/typings/checkout/responseAdditionalDataNetworkTokens.ts index 803dc87..1f61f45 100644 --- a/src/typings/checkout/responseAdditionalDataNetworkTokens.ts +++ b/src/typings/checkout/responseAdditionalDataNetworkTokens.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ResponseAdditionalDataNetworkTokens { /** * Indicates whether a network token is available for the specified card. diff --git a/src/typings/checkout/responseAdditionalDataOpi.ts b/src/typings/checkout/responseAdditionalDataOpi.ts index 3006397..800cb05 100644 --- a/src/typings/checkout/responseAdditionalDataOpi.ts +++ b/src/typings/checkout/responseAdditionalDataOpi.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ResponseAdditionalDataOpi { /** * Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce). diff --git a/src/typings/checkout/responseAdditionalDataSepa.ts b/src/typings/checkout/responseAdditionalDataSepa.ts index 56a2b9e..183657a 100644 --- a/src/typings/checkout/responseAdditionalDataSepa.ts +++ b/src/typings/checkout/responseAdditionalDataSepa.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ResponseAdditionalDataSepa { /** * The transaction signature date. Format: yyyy-MM-dd diff --git a/src/typings/checkout/responsePaymentMethod.ts b/src/typings/checkout/responsePaymentMethod.ts index 0d24456..9f51c1a 100644 --- a/src/typings/checkout/responsePaymentMethod.ts +++ b/src/typings/checkout/responsePaymentMethod.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ResponsePaymentMethod { /** * The payment method brand. diff --git a/src/typings/checkout/riskData.ts b/src/typings/checkout/riskData.ts index de825f7..d7e610b 100644 --- a/src/typings/checkout/riskData.ts +++ b/src/typings/checkout/riskData.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class RiskData { /** * Contains client-side data, like the device fingerprint, cookies, and specific browser settings. diff --git a/src/typings/checkout/sDKEphemPubKey.ts b/src/typings/checkout/sDKEphemPubKey.ts index d68dfb5..16f1678 100644 --- a/src/typings/checkout/sDKEphemPubKey.ts +++ b/src/typings/checkout/sDKEphemPubKey.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class SDKEphemPubKey { /** * The `crv` value as received from the 3D Secure 2 SDK. diff --git a/src/typings/checkout/samsungPayDetails.ts b/src/typings/checkout/samsungPayDetails.ts index 39475c4..0bc6ae1 100644 --- a/src/typings/checkout/samsungPayDetails.ts +++ b/src/typings/checkout/samsungPayDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class SamsungPayDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. diff --git a/src/typings/checkout/sepaDirectDebitDetails.ts b/src/typings/checkout/sepaDirectDebitDetails.ts index c4d9aea..e5cf61f 100644 --- a/src/typings/checkout/sepaDirectDebitDetails.ts +++ b/src/typings/checkout/sepaDirectDebitDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class SepaDirectDebitDetails { /** * The International Bank Account Number (IBAN). diff --git a/src/typings/checkout/serviceError.ts b/src/typings/checkout/serviceError.ts index f7ff535..497ddda 100644 --- a/src/typings/checkout/serviceError.ts +++ b/src/typings/checkout/serviceError.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ServiceError { /** * Contains additional information about the payment. Some data fields are included only if you select them first: Go to **Customer Area** > **Account** > **API URLs**. diff --git a/src/typings/checkout/serviceError2.ts b/src/typings/checkout/serviceError2.ts index c798657..0285d28 100644 --- a/src/typings/checkout/serviceError2.ts +++ b/src/typings/checkout/serviceError2.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ServiceError2 { 'errorCode'?: string; 'errorType'?: string; diff --git a/src/typings/checkout/shopperInput.ts b/src/typings/checkout/shopperInput.ts index d0d3308..0541642 100644 --- a/src/typings/checkout/shopperInput.ts +++ b/src/typings/checkout/shopperInput.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ShopperInput { /** * Specifies visibility of billing address fields. Permitted values: * editable * hidden * readOnly diff --git a/src/typings/checkout/shopperInteractionDevice.ts b/src/typings/checkout/shopperInteractionDevice.ts index f21ee09..400c074 100644 --- a/src/typings/checkout/shopperInteractionDevice.ts +++ b/src/typings/checkout/shopperInteractionDevice.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ShopperInteractionDevice { /** * Locale on the shopper interaction device. diff --git a/src/typings/checkout/split.ts b/src/typings/checkout/split.ts index 82c0587..ce9e0da 100644 --- a/src/typings/checkout/split.ts +++ b/src/typings/checkout/split.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { SplitAmount } from './splitAmount'; export class Split { diff --git a/src/typings/checkout/splitAmount.ts b/src/typings/checkout/splitAmount.ts index 1e0bbae..45cfd57 100644 --- a/src/typings/checkout/splitAmount.ts +++ b/src/typings/checkout/splitAmount.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class SplitAmount { /** * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). If this value is not provided, the currency in which the payment is made will be used. diff --git a/src/typings/checkout/standalonePaymentCancelResource.ts b/src/typings/checkout/standalonePaymentCancelResource.ts index a3fa0e6..fea328c 100644 --- a/src/typings/checkout/standalonePaymentCancelResource.ts +++ b/src/typings/checkout/standalonePaymentCancelResource.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class StandalonePaymentCancelResource { /** * The merchant account that is used to process the payment. diff --git a/src/typings/checkout/storedDetails.ts b/src/typings/checkout/storedDetails.ts index cffa8a8..9aa082d 100644 --- a/src/typings/checkout/storedDetails.ts +++ b/src/typings/checkout/storedDetails.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { BankAccount } from './bankAccount'; import { Card } from './card'; diff --git a/src/typings/checkout/storedPaymentMethod.ts b/src/typings/checkout/storedPaymentMethod.ts index 1817e4e..84c3a0d 100644 --- a/src/typings/checkout/storedPaymentMethod.ts +++ b/src/typings/checkout/storedPaymentMethod.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class StoredPaymentMethod { /** * The brand of the card. diff --git a/src/typings/checkout/storedPaymentMethodDetails.ts b/src/typings/checkout/storedPaymentMethodDetails.ts index 833434a..124bcd7 100644 --- a/src/typings/checkout/storedPaymentMethodDetails.ts +++ b/src/typings/checkout/storedPaymentMethodDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class StoredPaymentMethodDetails { /** * This is the `recurringDetailReference` returned in the response when you created the token. diff --git a/src/typings/checkout/subInputDetail.ts b/src/typings/checkout/subInputDetail.ts index 97ea2c7..07a1f1c 100644 --- a/src/typings/checkout/subInputDetail.ts +++ b/src/typings/checkout/subInputDetail.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { Item } from './item'; export class SubInputDetail { diff --git a/src/typings/checkout/threeDS2RequestData.ts b/src/typings/checkout/threeDS2RequestData.ts index ec2b95f..84cf76b 100644 --- a/src/typings/checkout/threeDS2RequestData.ts +++ b/src/typings/checkout/threeDS2RequestData.ts @@ -1,15 +1,30 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ - import { AcctInfo } from './acctInfo'; import { DeviceRenderOptions } from './deviceRenderOptions'; import { Phone } from './phone'; diff --git a/src/typings/checkout/threeDS2ResponseData.ts b/src/typings/checkout/threeDS2ResponseData.ts index b0e0a28..f454267 100644 --- a/src/typings/checkout/threeDS2ResponseData.ts +++ b/src/typings/checkout/threeDS2ResponseData.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ThreeDS2ResponseData { 'acsChallengeMandated'?: string; 'acsOperatorID'?: string; diff --git a/src/typings/checkout/threeDS2Result.ts b/src/typings/checkout/threeDS2Result.ts index a6b518d..6815aa2 100644 --- a/src/typings/checkout/threeDS2Result.ts +++ b/src/typings/checkout/threeDS2Result.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ThreeDS2Result { /** * The `authenticationValue` value as defined in the 3D Secure 2 specification. diff --git a/src/typings/checkout/threeDSRequestData.ts b/src/typings/checkout/threeDSRequestData.ts index ebe4f68..b9f5b25 100644 --- a/src/typings/checkout/threeDSRequestData.ts +++ b/src/typings/checkout/threeDSRequestData.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ThreeDSRequestData { /** * Indicates if [native 3D Secure authentication](https://docs.adyen.com/online-payments/3d-secure/native-3ds2) should be used when available. Possible values: * **preferred**: Use native 3D Secure authentication when available. diff --git a/src/typings/checkout/threeDSRequestorAuthenticationInfo.ts b/src/typings/checkout/threeDSRequestorAuthenticationInfo.ts index ff06f8b..c7019b1 100644 --- a/src/typings/checkout/threeDSRequestorAuthenticationInfo.ts +++ b/src/typings/checkout/threeDSRequestorAuthenticationInfo.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ThreeDSRequestorAuthenticationInfo { /** * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. diff --git a/src/typings/checkout/threeDSRequestorPriorAuthenticationInfo.ts b/src/typings/checkout/threeDSRequestorPriorAuthenticationInfo.ts index 0dce311..139db88 100644 --- a/src/typings/checkout/threeDSRequestorPriorAuthenticationInfo.ts +++ b/src/typings/checkout/threeDSRequestorPriorAuthenticationInfo.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ThreeDSRequestorPriorAuthenticationInfo { /** * Data that documents and supports a specific authentication process. Maximum length: 2048 bytes. diff --git a/src/typings/checkout/threeDSecureData.ts b/src/typings/checkout/threeDSecureData.ts index e67d4a5..22ba1a0 100644 --- a/src/typings/checkout/threeDSecureData.ts +++ b/src/typings/checkout/threeDSecureData.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ThreeDSecureData { /** * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from the challenge result. If the transaction was frictionless, omit this parameter. diff --git a/src/typings/checkout/updatePaymentLinkRequest.ts b/src/typings/checkout/updatePaymentLinkRequest.ts index f4487dd..62a206c 100644 --- a/src/typings/checkout/updatePaymentLinkRequest.ts +++ b/src/typings/checkout/updatePaymentLinkRequest.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class UpdatePaymentLinkRequest { /** * Status of the payment link. Possible values: * **expired** diff --git a/src/typings/checkout/upiCollectDetails.ts b/src/typings/checkout/upiCollectDetails.ts index 6cc311d..73353ff 100644 --- a/src/typings/checkout/upiCollectDetails.ts +++ b/src/typings/checkout/upiCollectDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class UpiCollectDetails { /** * The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper. diff --git a/src/typings/checkout/upiIntentDetails.ts b/src/typings/checkout/upiIntentDetails.ts index e36f370..4bc395e 100644 --- a/src/typings/checkout/upiIntentDetails.ts +++ b/src/typings/checkout/upiIntentDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class UpiIntentDetails { /** * **upi_intent** diff --git a/src/typings/checkout/vippsDetails.ts b/src/typings/checkout/vippsDetails.ts index a0c5bac..bd4456e 100644 --- a/src/typings/checkout/vippsDetails.ts +++ b/src/typings/checkout/vippsDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class VippsDetails { /** * This is the `recurringDetailReference` returned in the response when you created the token. diff --git a/src/typings/checkout/visaCheckoutDetails.ts b/src/typings/checkout/visaCheckoutDetails.ts index 1125d27..11fc1be 100644 --- a/src/typings/checkout/visaCheckoutDetails.ts +++ b/src/typings/checkout/visaCheckoutDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class VisaCheckoutDetails { /** * The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**. diff --git a/src/typings/checkout/weChatPayDetails.ts b/src/typings/checkout/weChatPayDetails.ts index cde86b0..929f0a2 100644 --- a/src/typings/checkout/weChatPayDetails.ts +++ b/src/typings/checkout/weChatPayDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class WeChatPayDetails { /** * **wechatpay** diff --git a/src/typings/checkout/weChatPayMiniProgramDetails.ts b/src/typings/checkout/weChatPayMiniProgramDetails.ts index 4e78150..4b43db1 100644 --- a/src/typings/checkout/weChatPayMiniProgramDetails.ts +++ b/src/typings/checkout/weChatPayMiniProgramDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class WeChatPayMiniProgramDetails { 'appId'?: string; 'openid'?: string; diff --git a/src/typings/checkout/zipDetails.ts b/src/typings/checkout/zipDetails.ts index 5ca750c..7d479ee 100644 --- a/src/typings/checkout/zipDetails.ts +++ b/src/typings/checkout/zipDetails.ts @@ -1,8 +1,24 @@ -/** - * Adyen Checkout API - * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including 3D Secure), mobile wallets, and local payment methods (for example, iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/online-payments). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/development-resources/api-credentials#generate-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports [versioning](https://docs.adyen.com/development-resources/versioning) using a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v69/payments ``` ## Release notes Have a look at the [release notes](https://docs.adyen.com/online-payments/release-notes?integration_type=api&version=69) to find out what changed in this version! +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * Adyen NodeJS API Library + * Copyright (c) 2022 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. * - * The version of the OpenAPI document: 69 + * Adyen Checkout API + * + * The version of the OpenAPI document: v69 * Contact: developer-experience@adyen.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -10,7 +26,6 @@ * Do not edit the class manually. */ - export class ZipDetails { /** * Set this to **true** if the shopper would like to pick up and collect their order, instead of having the goods delivered to them. From 32adeb6dc0b43f5c87915329cf503e602187da7e Mon Sep 17 00:00:00 2001 From: zaid Date: Fri, 3 Jun 2022 10:52:25 +0200 Subject: [PATCH 3/6] attempt to resolve test errors on Github, object of type unknown error --- src/__tests__/checkout.spec.ts | 6 +++-- src/__tests__/httpClient.spec.ts | 4 ++-- src/__tests__/modification.spec.ts | 32 +++++++++++++------------- src/__tests__/recurring.spec.ts | 6 ++--- src/__tests__/terminalLocalAPI.spec.ts | 2 +- 5 files changed, 26 insertions(+), 24 deletions(-) diff --git a/src/__tests__/checkout.spec.ts b/src/__tests__/checkout.spec.ts index b41846f..771af18 100644 --- a/src/__tests__/checkout.spec.ts +++ b/src/__tests__/checkout.spec.ts @@ -190,7 +190,7 @@ describe("Checkout", (): void => { const paymentsRequest: PaymentRequest = createPaymentsCheckoutRequest(); await checkout.payments(paymentsRequest); - } catch (e: any) { + } catch (e) { expect(e instanceof HttpClientException).toBeTruthy(); } }); @@ -285,7 +285,9 @@ describe("Checkout", (): void => { 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."); + if (e instanceof Error) { + 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."); + } } }); diff --git a/src/__tests__/httpClient.spec.ts b/src/__tests__/httpClient.spec.ts index c399272..f8828f6 100644 --- a/src/__tests__/httpClient.spec.ts +++ b/src/__tests__/httpClient.spec.ts @@ -45,8 +45,8 @@ const getResponse = async ({apiKey , environment }: { apiKey: string; environmen fail("request should fail"); } catch (e) { expect(e instanceof ErrorException).toBeTruthy(); - if (errorMessageEquals) expect(e.message).toEqual(errorMessageEquals); - if (errorMessageContains) expect(e.message.toLowerCase()).toContain(errorMessageContains); + if (errorMessageEquals && e.message) expect(e.message).toEqual(errorMessageEquals); + if (errorMessageContains && e.message) expect(e.message.toLowerCase()).toContain(errorMessageContains); } }; diff --git a/src/__tests__/modification.spec.ts b/src/__tests__/modification.spec.ts index 3c2c8e7..e1652c9 100644 --- a/src/__tests__/modification.spec.ts +++ b/src/__tests__/modification.spec.ts @@ -197,7 +197,7 @@ describe("Modification", (): void => { const result = await modification.amountUpdates(paymentPspReference, request); expect(result).toBeTruthy(); } catch (e) { - fail(e.message); + if(e.message) fail(e.message); } }); @@ -211,8 +211,8 @@ describe("Modification", (): void => { try { await modification.amountUpdates(invalidPaymentPspReference, request); } catch (e) { - expect(e.statusCode).toBe(422); - expect(e.message).toContain("Original pspReference required for this operation"); + if(e.statusCode) expect(e.statusCode).toBe(422); + if(e.message) expect(e.message).toContain("Original pspReference required for this operation"); } }); @@ -225,7 +225,7 @@ describe("Modification", (): void => { const result = await modification.cancels(paymentPspReference, request); expect(result).toBeTruthy(); } catch (e) { - fail(e.message); + if(e.message) fail(e.message); } }); @@ -238,8 +238,8 @@ describe("Modification", (): void => { try { await modification.cancels(invalidPaymentPspReference, request); } catch (e) { - expect(e.statusCode).toBe(422); - expect(e.message).toContain("Original pspReference required for this operation"); + if(e.statusCode) expect(e.statusCode).toBe(422); + if(e.message) expect(e.message).toContain("Original pspReference required for this operation"); } }); @@ -252,7 +252,7 @@ describe("Modification", (): void => { const result = await modification.cancelsStandalone(request); expect(result).toBeTruthy(); } catch (e) { - fail(e.message); + if(e.message) fail(e.message); } }); @@ -265,7 +265,7 @@ describe("Modification", (): void => { const result = await modification.captures(paymentPspReference, request); expect(result).toBeTruthy(); } catch (e) { - fail(e.message); + if(e.message) fail(e.message); } }); @@ -278,8 +278,8 @@ describe("Modification", (): void => { try { await modification.captures(invalidPaymentPspReference, request); } catch (e) { - expect(e.statusCode).toBe(422); - expect(e.message).toContain("Original pspReference required for this operation"); + if(e.statusCode) expect(e.statusCode).toBe(422); + if(e.message) expect(e.message).toContain("Original pspReference required for this operation"); } }); @@ -292,7 +292,7 @@ describe("Modification", (): void => { const result = await modification.refunds(paymentPspReference, request); expect(result).toBeTruthy(); } catch (e) { - fail(e.message); + if(e.message) fail(e.message); } }); @@ -305,8 +305,8 @@ describe("Modification", (): void => { try { await modification.refunds(invalidPaymentPspReference, request); } catch (e) { - expect(e.statusCode).toBe(422); - expect(e.message).toContain("Original pspReference required for this operation"); + if(e.statusCode) expect(e.statusCode).toBe(422); + if(e.message) expect(e.message).toContain("Original pspReference required for this operation"); } }); @@ -319,7 +319,7 @@ describe("Modification", (): void => { const result = await modification.reversals(paymentPspReference, request); expect(result).toBeTruthy(); } catch (e) { - fail(e.message); + if(e.message) fail(e.message); } }); @@ -332,8 +332,8 @@ describe("Modification", (): void => { try { await modification.reversals(invalidPaymentPspReference, request); } catch (e) { - expect(e.statusCode).toBe(422); - expect(e.message).toContain("Original pspReference required for this operation"); + if(e.statusCode) expect(e.statusCode).toBe(422); + if(e.message) expect(e.message).toContain("Original pspReference required for this operation"); } }); }); diff --git a/src/__tests__/recurring.spec.ts b/src/__tests__/recurring.spec.ts index ce75af1..114b305 100644 --- a/src/__tests__/recurring.spec.ts +++ b/src/__tests__/recurring.spec.ts @@ -98,7 +98,7 @@ describe("Recurring", (): void => { const result = await recurring.disable(request); expect(result).toBeTruthy(); } catch (e) { - fail(e.message); + if(e.message) fail(e.message); } }); @@ -124,7 +124,7 @@ describe("Recurring", (): void => { const result = await recurring.notifyShopper(notifyShopperRequest); expect(result).toBeTruthy(); } catch (e) { - fail(e.message); + if(e.message) fail(e.message); } }); @@ -155,7 +155,7 @@ describe("Recurring", (): void => { const result = await recurring.scheduleAccountUpdater(request); expect(result).toBeTruthy(); } catch (e) { - fail(e.message); + if(e.message) fail(e.message); } }); }); diff --git a/src/__tests__/terminalLocalAPI.spec.ts b/src/__tests__/terminalLocalAPI.spec.ts index 0c2f047..a752af8 100644 --- a/src/__tests__/terminalLocalAPI.spec.ts +++ b/src/__tests__/terminalLocalAPI.spec.ts @@ -81,7 +81,7 @@ describe("Terminal Local API", (): void => { await terminalLocalAPI.request(terminalAPIPaymentRequest, securityKey); } catch (e) { expect(e instanceof NexoCryptoException); - expect(e.message).toEqual("Hmac validation failed"); + if(e.message) expect(e.message).toEqual("Hmac validation failed"); } }); }); From 65b2ed087561a87f8c7ec2f483d57bc6714d4b63 Mon Sep 17 00:00:00 2001 From: zaid Date: Fri, 3 Jun 2022 11:23:49 +0200 Subject: [PATCH 4/6] added any back to catch clauses --- src/__tests__/binLookup.spec.ts | 2 +- src/__tests__/checkout.spec.ts | 6 ++-- src/__tests__/hmacValidator.spec.ts | 2 +- src/__tests__/httpClient.spec.ts | 6 ++-- src/__tests__/modification.spec.ts | 42 +++++++++++------------ src/__tests__/platforms.spec.ts | 42 +++++++++++------------ src/__tests__/recurring.spec.ts | 12 +++---- src/__tests__/terminalLocalAPI.spec.ts | 4 +-- src/httpClient/httpURLConnectionClient.ts | 2 +- 9 files changed, 58 insertions(+), 60 deletions(-) diff --git a/src/__tests__/binLookup.spec.ts b/src/__tests__/binLookup.spec.ts index 508be28..aa970ee 100644 --- a/src/__tests__/binLookup.spec.ts +++ b/src/__tests__/binLookup.spec.ts @@ -79,7 +79,7 @@ describe("Bin Lookup", function (): void { try { await binLookup.get3dsAvailability(threeDSAvailabilityRequest as unknown as IBinLookup.ThreeDSAvailabilityRequest); fail("Expected request to fail"); - } catch (e) { + } catch (e: any) { expect(e instanceof HttpClientException).toBeTruthy(); } }); diff --git a/src/__tests__/checkout.spec.ts b/src/__tests__/checkout.spec.ts index 771af18..6039df1 100644 --- a/src/__tests__/checkout.spec.ts +++ b/src/__tests__/checkout.spec.ts @@ -190,7 +190,7 @@ describe("Checkout", (): void => { const paymentsRequest: PaymentRequest = createPaymentsCheckoutRequest(); await checkout.payments(paymentsRequest); - } catch (e) { + } catch (e: any) { expect(e instanceof HttpClientException).toBeTruthy(); } }); @@ -284,10 +284,8 @@ describe("Checkout", (): void => { try { new Checkout(client); fail(); - } catch (e) { - if (e instanceof Error) { + } catch (e: any) { 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."); - } } }); diff --git a/src/__tests__/hmacValidator.spec.ts b/src/__tests__/hmacValidator.spec.ts index 7d653f6..ad2352c 100644 --- a/src/__tests__/hmacValidator.spec.ts +++ b/src/__tests__/hmacValidator.spec.ts @@ -101,7 +101,7 @@ describe("HMAC Validator", function (): void { }; try { hmacValidator.validateHMAC(notificationRequestItemNoAdditionalData, key); - } catch(error) { + } catch(error: any) { expect(error.message).toEqual(`Missing ${ApiConstants.HMAC_SIGNATURE}`); } }); diff --git a/src/__tests__/httpClient.spec.ts b/src/__tests__/httpClient.spec.ts index f8828f6..b253b43 100644 --- a/src/__tests__/httpClient.spec.ts +++ b/src/__tests__/httpClient.spec.ts @@ -43,10 +43,10 @@ const getResponse = async ({apiKey , environment }: { apiKey: string; environmen try { await checkout.payments(createPaymentsCheckoutRequest()); fail("request should fail"); - } catch (e) { + } catch (e: any) { expect(e instanceof ErrorException).toBeTruthy(); - if (errorMessageEquals && e.message) expect(e.message).toEqual(errorMessageEquals); - if (errorMessageContains && e.message) expect(e.message.toLowerCase()).toContain(errorMessageContains); + if (errorMessageEquals) expect(e.message).toEqual(errorMessageEquals); + if (errorMessageContains) expect(e.message.toLowerCase()).toContain(errorMessageContains); } }; diff --git a/src/__tests__/modification.spec.ts b/src/__tests__/modification.spec.ts index e1652c9..02b7b2e 100644 --- a/src/__tests__/modification.spec.ts +++ b/src/__tests__/modification.spec.ts @@ -196,7 +196,7 @@ describe("Modification", (): void => { try { const result = await modification.amountUpdates(paymentPspReference, request); expect(result).toBeTruthy(); - } catch (e) { + } catch (e: any) { if(e.message) fail(e.message); } }); @@ -210,9 +210,9 @@ describe("Modification", (): void => { try { await modification.amountUpdates(invalidPaymentPspReference, request); - } catch (e) { - if(e.statusCode) expect(e.statusCode).toBe(422); - if(e.message) expect(e.message).toContain("Original pspReference required for this operation"); + } catch (e: any) { + expect(e.statusCode).toBe(422); + expect(e.message).toContain("Original pspReference required for this operation"); } }); @@ -224,8 +224,8 @@ describe("Modification", (): void => { try { const result = await modification.cancels(paymentPspReference, request); expect(result).toBeTruthy(); - } catch (e) { - if(e.message) fail(e.message); + } catch (e: any) { + fail(e.message); } }); @@ -237,9 +237,9 @@ describe("Modification", (): void => { .reply(422, invalidModificationResult); try { await modification.cancels(invalidPaymentPspReference, request); - } catch (e) { - if(e.statusCode) expect(e.statusCode).toBe(422); - if(e.message) expect(e.message).toContain("Original pspReference required for this operation"); + } catch (e: any) { + expect(e.statusCode).toBe(422); + expect(e.message).toContain("Original pspReference required for this operation"); } }); @@ -251,8 +251,8 @@ describe("Modification", (): void => { try { const result = await modification.cancelsStandalone(request); expect(result).toBeTruthy(); - } catch (e) { - if(e.message) fail(e.message); + } catch (e: any) { + fail(e.message); } }); @@ -264,8 +264,8 @@ describe("Modification", (): void => { try { const result = await modification.captures(paymentPspReference, request); expect(result).toBeTruthy(); - } catch (e) { - if(e.message) fail(e.message); + } catch (e: any) { + fail(e.message); } }); @@ -277,7 +277,7 @@ describe("Modification", (): void => { .reply(422, invalidModificationResult); try { await modification.captures(invalidPaymentPspReference, request); - } catch (e) { + } catch (e: any) { if(e.statusCode) expect(e.statusCode).toBe(422); if(e.message) expect(e.message).toContain("Original pspReference required for this operation"); } @@ -291,7 +291,7 @@ describe("Modification", (): void => { try { const result = await modification.refunds(paymentPspReference, request); expect(result).toBeTruthy(); - } catch (e) { + } catch (e: any) { if(e.message) fail(e.message); } }); @@ -304,9 +304,9 @@ describe("Modification", (): void => { .reply(422, invalidModificationResult); try { await modification.refunds(invalidPaymentPspReference, request); - } catch (e) { + } catch (e: any) { if(e.statusCode) expect(e.statusCode).toBe(422); - if(e.message) expect(e.message).toContain("Original pspReference required for this operation"); + expect(e.message).toContain("Original pspReference required for this operation"); } }); @@ -318,8 +318,8 @@ describe("Modification", (): void => { try { const result = await modification.reversals(paymentPspReference, request); expect(result).toBeTruthy(); - } catch (e) { - if(e.message) fail(e.message); + } catch (e: any) { + fail(e.message); } }); @@ -331,9 +331,9 @@ describe("Modification", (): void => { .reply(422, invalidModificationResult); try { await modification.reversals(invalidPaymentPspReference, request); - } catch (e) { + } catch (e: any) { if(e.statusCode) expect(e.statusCode).toBe(422); - if(e.message) expect(e.message).toContain("Original pspReference required for this operation"); + expect(e.message).toContain("Original pspReference required for this operation"); } }); }); diff --git a/src/__tests__/platforms.spec.ts b/src/__tests__/platforms.spec.ts index fffccd5..acd2f64 100644 --- a/src/__tests__/platforms.spec.ts +++ b/src/__tests__/platforms.spec.ts @@ -244,7 +244,7 @@ describe.skip("Platforms Test E2E", function(): void { nock.restore(); try { expect(accountHolder.pspReference).toBeDefined(); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -255,7 +255,7 @@ describe.skip("Platforms Test E2E", function(): void { accountHolderCode: accountHolder.accountHolderCode, }); expect(result.accountHolderDetails.email).toEqual("random_email@example.com"); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -273,7 +273,7 @@ describe.skip("Platforms Test E2E", function(): void { } }); expect(result.accountHolderDetails!.address?.country).toEqual("BE"); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -287,7 +287,7 @@ describe.skip("Platforms Test E2E", function(): void { tier: 2 }); expect(result.resultCode).toEqual("Success"); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -296,7 +296,7 @@ describe.skip("Platforms Test E2E", function(): void { nock.restore(); try { expect(account.pspReference).toBeDefined(); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -314,7 +314,7 @@ describe.skip("Platforms Test E2E", function(): void { } }); expect(result.pspReference).toBeDefined(); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -335,7 +335,7 @@ describe.skip("Platforms Test E2E", function(): void { accountHolderCode: account.accountHolderCode, }); expect(result.documentDetails![0].filename).toEqual("IDCardFront.png"); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -347,7 +347,7 @@ describe.skip("Platforms Test E2E", function(): void { accountCode: accountToClose.accountCode }); expect(result.status).toEqual("Closed"); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -359,7 +359,7 @@ describe.skip("Platforms Test E2E", function(): void { accountHolderCode: accountHolderToSuspend.accountHolderCode, }); expect(result.pspReference).toBeDefined(); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -369,7 +369,7 @@ describe.skip("Platforms Test E2E", function(): void { try { const result = await platforms.Account.unSuspendAccountHolder({ accountHolderCode: accountHolderToUnSuspend.accountHolderCode }); expect(result.pspReference).toBeDefined(); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -383,7 +383,7 @@ describe.skip("Platforms Test E2E", function(): void { stateType: A.UpdateAccountHolderStateRequest.StateTypeEnum.Payout }); expect(result.pspReference).toBeDefined(); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -395,7 +395,7 @@ describe.skip("Platforms Test E2E", function(): void { accountHolderCode: accountHolderToClose.accountHolderCode }); expect(result.pspReference).toBeDefined(); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -409,7 +409,7 @@ describe.skip("Platforms Test E2E", function(): void { year: 2020 }); expect(result.content).toBeDefined(); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -423,7 +423,7 @@ describe.skip("Platforms Test E2E", function(): void { accountHolderCode: generateRandomCode() }); expect(result.balancePerAccount![0].detailBalance).toBeDefined(); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -435,7 +435,7 @@ describe.skip("Platforms Test E2E", function(): void { accountHolderCode: generateRandomCode() }); expect(result.accountTransactionLists![0].transactions).toBeDefined(); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -453,7 +453,7 @@ describe.skip("Platforms Test E2E", function(): void { transferCode: "SUBSCRIPTION" }); expect(result.pspReference).toBeDefined(); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -468,7 +468,7 @@ describe.skip("Platforms Test E2E", function(): void { const result = await platforms.NotificationConfiguration.getNotificationConfigurationList({}); const resultStr = JSON.stringify(result); expect(resultStr.includes("pspReference")).toBeTruthy(); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -483,7 +483,7 @@ describe.skip("Platforms Test E2E", function(): void { } }); expect(result.configurationDetails.active).toBeTruthy(); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -496,7 +496,7 @@ describe.skip("Platforms Test E2E", function(): void { notificationId: configurationID }); expect(result.configurationDetails.notifyURL).toEqual("https://www.adyen.com/notification-handler"); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -522,7 +522,7 @@ describe.skip("Platforms Test E2E", function(): void { }); const accountHolderVerification = result.configurationDetails.eventConfigs.filter(event => event.eventType === "ACCOUNT_HOLDER_VERIFICATION")[0]; expect(accountHolderVerification.includeMode).toEqual("EXCLUDE"); - } catch (e) { + } catch (e: any) { assertError(e); } }); @@ -534,7 +534,7 @@ describe.skip("Platforms Test E2E", function(): void { try { const result = await platforms.NotificationConfiguration.deleteNotificationConfigurations({notificationIds}); expect(result.pspReference).toBeDefined(); - } catch (e) { + } catch (e: any) { assertError(e); } }); diff --git a/src/__tests__/recurring.spec.ts b/src/__tests__/recurring.spec.ts index 114b305..e00827d 100644 --- a/src/__tests__/recurring.spec.ts +++ b/src/__tests__/recurring.spec.ts @@ -97,8 +97,8 @@ describe("Recurring", (): void => { try { const result = await recurring.disable(request); expect(result).toBeTruthy(); - } catch (e) { - if(e.message) fail(e.message); + } catch (e: any) { + fail(e.message); } }); @@ -123,8 +123,8 @@ describe("Recurring", (): void => { try { const result = await recurring.notifyShopper(notifyShopperRequest); expect(result).toBeTruthy(); - } catch (e) { - if(e.message) fail(e.message); + } catch (e: any) { + fail(e.message); } }); @@ -154,8 +154,8 @@ describe("Recurring", (): void => { try { const result = await recurring.scheduleAccountUpdater(request); expect(result).toBeTruthy(); - } catch (e) { - if(e.message) fail(e.message); + } catch (e: any) { + fail(e.message); } }); }); diff --git a/src/__tests__/terminalLocalAPI.spec.ts b/src/__tests__/terminalLocalAPI.spec.ts index a752af8..b8bc038 100644 --- a/src/__tests__/terminalLocalAPI.spec.ts +++ b/src/__tests__/terminalLocalAPI.spec.ts @@ -79,9 +79,9 @@ describe("Terminal Local API", (): void => { try { await terminalLocalAPI.request(terminalAPIPaymentRequest, securityKey); - } catch (e) { + } catch (e: any) { expect(e instanceof NexoCryptoException); - if(e.message) expect(e.message).toEqual("Hmac validation failed"); + expect(e.message).toEqual("Hmac validation failed"); } }); }); diff --git a/src/httpClient/httpURLConnectionClient.ts b/src/httpClient/httpURLConnectionClient.ts index efa7b84..3ce1b18 100644 --- a/src/httpClient/httpURLConnectionClient.ts +++ b/src/httpClient/httpURLConnectionClient.ts @@ -195,7 +195,7 @@ class HttpURLConnectionClient implements ClientInterface { checkServerIdentity, }; - } catch (e) { + } catch (e: any) { return Promise.reject(new HttpClientException({ message: `Error loading certificate from path: ${e.message}` })); } From ad756cd558dafbf25b860a8b34c67061a261f932 Mon Sep 17 00:00:00 2001 From: zaid Date: Fri, 3 Jun 2022 12:16:48 +0200 Subject: [PATCH 5/6] test v14 --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 8b78a31..792814c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 13.x] + node-version: [14.x, 16.x] steps: - uses: actions/checkout@v2 From 9494be467514116da60676b5cdb96020d5a65908 Mon Sep 17 00:00:00 2001 From: zaid Date: Fri, 3 Jun 2022 12:19:25 +0200 Subject: [PATCH 6/6] test 12, 14, 16 --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 792814c..73e5532 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x] + node-version: [12.x, 14.x, 16.x] steps: - uses: actions/checkout@v2