From d6ae5cafc897536363d0054aa69a044432a7cc26 Mon Sep 17 00:00:00 2001 From: Vildan Bina Date: Wed, 15 Nov 2023 09:21:16 +0100 Subject: [PATCH] fix nullable on transaction request interface --- src/Models/Response/TransactionResponse.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Models/Response/TransactionResponse.ts b/src/Models/Response/TransactionResponse.ts index a33c7a44..8dca5fab 100644 --- a/src/Models/Response/TransactionResponse.ts +++ b/src/Models/Response/TransactionResponse.ts @@ -151,7 +151,7 @@ export declare interface ITransactionResponse { name: string; typeDeprecated: number; }; - services: { + services?: { action: string; name: string; value: string; @@ -164,33 +164,33 @@ export declare interface ITransactionResponse { additionalParameters?: { additionalParameter: IFormattedParameter[]; }; - requestErrors: { - channelErrors: { + requestErrors?: { + channelErrors?: { service: string; action: string; name: string; error: string; errorMessage: string; }[]; - serviceErrors: { + serviceErrors?: { name: string; error: string; errorMessage: string; }[]; - actionErrors: { + actionErrors?: { service: string; name: string; error: string; errorMessage: string; }[]; - parameterErrors: { + parameterErrors?: { service: string; action: string; name: string; error: string; errorMessage: string; }[]; - customParameterErrors: { + customParameterErrors?: { name: string; error: string; errorMessage: string; @@ -204,11 +204,11 @@ export declare interface ITransactionResponse { amountCredit: number; transactionType: string; mutationType: number; - relatedTransactions: { + relatedTransactions?: { relationType: string; relatedTransactionKey: string; }[]; - consumerMessage: { + consumerMessage?: { mustRead: boolean; cultureName: string; title: string;