diff --git a/finicity.yaml b/finicity.yaml index d9d177e..d4fb3b3 100644 --- a/finicity.yaml +++ b/finicity.yaml @@ -10,7 +10,7 @@ info: name: Finicity email: business.development@finicity.com url: 'https://www.finicity.com/contact/' - version: 1.11.1 + version: 1.11.2 servers: - url: 'https://api.finicity.com' description: Production @@ -10411,10 +10411,7 @@ components: number: type: string deprecated: true - description: >- - Use the `accountNumberDisplay` field. Starting July 1, 2021 the - `number` field will sunset with limited support until April 1, 2022, - at which time it will be deprecated (no longer available). + description: The account number from the institution example: '2000004444' accountNumberDisplay: $ref: '#/components/schemas/AccountNumberDisplay' @@ -11392,7 +11389,7 @@ components: type: string description: The email address for the customer receiving the Connect email - example: alex.salido@finicity.com + example: bob@example.com from: type: string description: @@ -14166,7 +14163,7 @@ components: properties: accountId: $ref: '#/components/schemas/NumericAccountId' - index: + statementIndex: type: integer description: Index of the statement to retrieve format: int32 diff --git a/tests/src/test/java/com/mastercard/finicity/client/api/BankStatementsApiTest.java b/tests/src/test/java/com/mastercard/finicity/client/api/BankStatementsApiTest.java index 68da057..60ddd85 100644 --- a/tests/src/test/java/com/mastercard/finicity/client/api/BankStatementsApiTest.java +++ b/tests/src/test/java/com/mastercard/finicity/client/api/BankStatementsApiTest.java @@ -41,7 +41,7 @@ void generateStatementReportTest() { try { var constraints = new StatementReportConstraints() .statementReportData(new StatementData() - .index(1) + .statementIndex(1) .accountId(Long.valueOf(existingAccountId))); var reportAck = api.generateStatementReport(CUSTOMER_ID, constraints, null); assertEquals("inProgress", reportAck.getStatus()); diff --git a/tests/src/test/java/com/mastercard/finicity/client/api/ReportsApiTest.java b/tests/src/test/java/com/mastercard/finicity/client/api/ReportsApiTest.java index b94e4eb..7b8bfa0 100644 --- a/tests/src/test/java/com/mastercard/finicity/client/api/ReportsApiTest.java +++ b/tests/src/test/java/com/mastercard/finicity/client/api/ReportsApiTest.java @@ -208,7 +208,7 @@ void getStatementReportByConsumerOrCustomerTest() throws Exception { // Create a report the first time var constraints = new StatementReportConstraints() .statementReportData(new StatementData() - .index(1) + .statementIndex(1) .accountId(Long.valueOf(existingAccountId))); var reportAck = bankStatementsApi.generateStatementReport(CUSTOMER_ID, constraints, null); reportId = reportAck.getId();