Skip to content

Commit d23fa25

Browse files
committed
Generate Transaction webhooks
1 parent d0584d0 commit d23fa25

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/typings/transactionWebhooks/issuedCard.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class IssuedCard {
2424
* Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments.
2525
*/
2626
"processingType"?: IssuedCard.ProcessingTypeEnum;
27-
"relayedAuthorisationData"?: RelayedAuthorisationData;
27+
"relayedAuthorisationData"?: RelayedAuthorisationData | null;
2828
/**
2929
* The identifier of the original payment. This ID is provided by the scheme and can be alphanumeric or numeric, depending on the scheme. The `schemeTraceID` should refer to an original `schemeUniqueTransactionID` provided in an earlier payment (not necessarily processed by Adyen). A `schemeTraceId` is typically available for authorization adjustments or recurring payments.
3030
*/
@@ -68,7 +68,7 @@ export class IssuedCard {
6868
{
6969
"name": "relayedAuthorisationData",
7070
"baseName": "relayedAuthorisationData",
71-
"type": "RelayedAuthorisationData",
71+
"type": "RelayedAuthorisationData | null",
7272
"format": ""
7373
},
7474
{

src/typings/transactionWebhooks/transaction.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class Transaction {
3737
* The unique identifier of the transaction.
3838
*/
3939
"id": string;
40-
"paymentInstrument"?: PaymentInstrument;
40+
"paymentInstrument"?: PaymentInstrument | null;
4141
/**
4242
* The reference sent to or received from the counterparty. * For outgoing funds, this is the [`referenceForBeneficiary`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__resParam_referenceForBeneficiary) from the [`/transfers`](https://docs.adyen.com/api-explorer/#/transfers/latest/post/transfers__reqParam_referenceForBeneficiary) request. * For incoming funds, this is the reference from the sender.
4343
*/
@@ -46,7 +46,7 @@ export class Transaction {
4646
* The status of the transaction. Possible values: * **pending**: The transaction is still pending. * **booked**: The transaction has been booked to the balance account.
4747
*/
4848
"status": Transaction.StatusEnum;
49-
"transfer"?: TransferView;
49+
"transfer"?: TransferView | null;
5050
/**
5151
* The date the transfer amount becomes available in the balance account.
5252
*/
@@ -108,7 +108,7 @@ export class Transaction {
108108
{
109109
"name": "paymentInstrument",
110110
"baseName": "paymentInstrument",
111-
"type": "PaymentInstrument",
111+
"type": "PaymentInstrument | null",
112112
"format": ""
113113
},
114114
{
@@ -126,7 +126,7 @@ export class Transaction {
126126
{
127127
"name": "transfer",
128128
"baseName": "transfer",
129-
"type": "TransferView",
129+
"type": "TransferView | null",
130130
"format": ""
131131
},
132132
{

src/typings/transactionWebhooks/transferView.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { TransferViewCategoryData } from "./transferViewCategoryData";
1111

1212

1313
export class TransferView {
14-
"categoryData"?: TransferViewCategoryData;
14+
"categoryData"?: TransferViewCategoryData | null;
1515
/**
1616
* The ID of the resource.
1717
*/
@@ -29,7 +29,7 @@ export class TransferView {
2929
{
3030
"name": "categoryData",
3131
"baseName": "categoryData",
32-
"type": "TransferViewCategoryData",
32+
"type": "TransferViewCategoryData | null",
3333
"format": ""
3434
},
3535
{

0 commit comments

Comments
 (0)