Skip to content

Commit

Permalink
Merge branch 'master' into mitch/add_user_route_verification_against_…
Browse files Browse the repository at this point in the history
…session_user
  • Loading branch information
mattnichols authored Oct 26, 2023
2 parents 32aa8a1 + f15cc96 commit bec2f7c
Show file tree
Hide file tree
Showing 40 changed files with 1,169 additions and 53 deletions.
Empty file added .clothesline.yaml
Empty file.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "4.2.1"
".": "4.7.3"
}
56 changes: 56 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,62 @@

* remove old term repository from base controller ([5402532](https://github.com/mxenabled/path-mdx-model/commit/5402532342b9c6b94f3c921ad025cc2b625a3b95))

## [4.7.3](https://github.com/mxenabled/path-mdx-model/compare/v4.7.2...v4.7.3) (2023-10-24)


### Bug Fixes

* get to enrollment and settings should not expect content-type header ([067cb7d](https://github.com/mxenabled/path-mdx-model/commit/067cb7d899bbf704c15bfbe6ae1830fdcfb18df5))

## [4.7.2](https://github.com/mxenabled/path-mdx-model/compare/v4.7.1...v4.7.2) (2023-10-21)


### Bug Fixes

* return 202 when challenge provided when fetching/updating payment settings ([6cced96](https://github.com/mxenabled/path-mdx-model/commit/6cced96fe2aa98ebe5af01832b477abd7b147119))

## [4.7.1](https://github.com/mxenabled/path-mdx-model/compare/v4.7.0...v4.7.1) (2023-10-11)


### Bug Fixes

* check for challenges in create account controller ([730c281](https://github.com/mxenabled/path-mdx-model/commit/730c2813b6e8d86b5c5306b61e0ddd7719a6fa27))

## [4.7.0](https://github.com/mxenabled/path-mdx-model/compare/v4.6.0...v4.7.0) (2023-10-06)


### Features

* adding update for MdxRealtimeMembersConnection ([9f163b8](https://github.com/mxenabled/path-mdx-model/commit/9f163b880d1d01b86e48f50a78389018a81ac43c))

## [4.6.0](https://github.com/mxenabled/path-mdx-model/compare/v4.5.0...v4.6.0) (2023-10-04)


### Features

* add account stop payment, overdraft, and details endpoints ([9558ce0](https://github.com/mxenabled/path-mdx-model/commit/9558ce056b9934e8f57f2484a2a2ec385b6bb81c))

## [4.5.0](https://github.com/mxenabled/path-mdx-model/compare/v4.4.0...v4.5.0) (2023-09-26)


### Features

* add payment enrollment and settings ([67a2f4f](https://github.com/mxenabled/path-mdx-model/commit/67a2f4f4ad15c864269d3cf4e66fab129ac8bb91))

## [4.4.0](https://github.com/mxenabled/path-mdx-model/compare/v4.3.0...v4.4.0) (2023-09-14)


### Features

* added remoteDepositEnrolled field to RemoteUser ([e7621cd](https://github.com/mxenabled/path-mdx-model/commit/e7621cd7428c383ad9c6a8ed65d526c77e64fed0))

## [4.3.0](https://github.com/mxenabled/path-mdx-model/compare/v4.2.1...v4.3.0) (2023-08-31)


### Features

* add new fields to the account model ([454d23f](https://github.com/mxenabled/path-mdx-model/commit/454d23f13db736e285667376457bd6af1e8c6ccf))

## [4.2.1](https://github.com/mxenabled/path-mdx-model/compare/v4.2.0...v4.2.1) (2023-08-12)


Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ _Gradle_
<!-- x-release-please-start-version -->
```groovy
dependencies {
api platform("com.mx.path-mdx-model:platform:4.2.1")
api platform("com.mx.path-mdx-model:platform:4.7.3")
implementation "com.mx.path-mdx-model:mdx-models"
implementation "com.mx.path-mdx-model:mdx-gateways"
Expand All @@ -53,9 +53,9 @@ _Gradle_
<!-- x-release-please-start-version -->
```groovy
dependencies {
implementation "com.mx.path-mdx-model:mdx-models:4.2.1"
implementation "com.mx.path-mdx-model:mdx-gateways:4.2.1"
implementation "com.mx.path-mdx-model:realtime:4.2.1"
implementation "com.mx.path-mdx-model:mdx-models:4.7.3"
implementation "com.mx.path-mdx-model:mdx-gateways:4.7.3"
implementation "com.mx.path-mdx-model:realtime:4.7.3"
}
```
<!-- x-release-please-end -->
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
id "io.github.gradle-nexus.publish-plugin" version "1.1.+"
}

version "4.2.1" // x-release-please-version
version "4.7.3" // x-release-please-version

def platformProject = "platform"
def publishedProjects = [
Expand Down
14 changes: 7 additions & 7 deletions mdx-gateway-generator/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ com.google.guava:guava:31.0.1-jre=runtimeClasspath,testRuntimeClasspath
com.google.guava:guava:31.1-jre=compileClasspath,testCompileClasspath
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.google.j2objc:j2objc-annotations:1.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:common:3.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:context:3.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:gateway-generator:3.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:gateway:3.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:messaging:3.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:platform:3.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:utilities:3.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:common:3.7.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:context:3.7.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:gateway-generator:3.7.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:gateway:3.7.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:messaging:3.7.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:platform:3.7.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:utilities:3.7.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.squareup:javapoet:1.13.0=runtimeClasspath,testRuntimeClasspath
com.sun.activation:jakarta.activation:1.2.2=runtimeClasspath,testRuntimeClasspath
com.sun.istack:istack-commons-runtime:3.0.12=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
Expand Down
14 changes: 7 additions & 7 deletions mdx-gateways/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ com.google.guava:guava:31.0.1-jre=annotationProcessor
com.google.guava:guava:31.1-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=annotationProcessor,checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.google.j2objc:j2objc-annotations:1.3=annotationProcessor,checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:common:3.5.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:context:3.5.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:gateway-generator:3.5.0=annotationProcessor
com.mx.path-core:gateway:3.5.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:messaging:3.5.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:platform:3.5.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:utilities:3.5.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:common:3.7.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:context:3.7.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:gateway-generator:3.7.0=annotationProcessor
com.mx.path-core:gateway:3.7.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:messaging:3.7.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:platform:3.7.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:utilities:3.7.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.puppycrawl.tools:checkstyle:8.29=checkstyle
com.squareup:javapoet:1.13.0=annotationProcessor
com.sun.activation:jakarta.activation:1.2.2=annotationProcessor,runtimeClasspath,testRuntimeClasspath
Expand Down
14 changes: 7 additions & 7 deletions mdx-models/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ com.google.guava:guava:28.2-jre=checkstyle
com.google.guava:guava:31.1-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.google.j2objc:j2objc-annotations:1.3=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:common:3.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:context:3.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:gateway:3.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:messaging:3.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:platform:3.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:testing:3.5.0=testCompileClasspath,testRuntimeClasspath
com.mx.path-core:utilities:3.5.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:common:3.7.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:context:3.7.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:gateway:3.7.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:messaging:3.7.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:platform:3.7.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.mx.path-core:testing:3.7.0=testCompileClasspath,testRuntimeClasspath
com.mx.path-core:utilities:3.7.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.puppycrawl.tools:checkstyle:8.29=checkstyle
com.sun.activation:jakarta.activation:1.2.2=runtimeClasspath,testRuntimeClasspath
com.sun.istack:istack-commons-runtime:3.0.12=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public class RemoteUser extends MdxBase<RemoteUser> {
private String lastName;
private String phone;
private Boolean remoteDepositEligible;
private Boolean remoteDepositEnrolled;
private String ssn;
private String state;
private String postalCode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,26 @@
@API(description = "Access to user accounts", specificationUrl = "https://developer.mx.com/drafts/mdx/accounts/#mdx-account")
public abstract class AccountBaseAccessor extends Accessor {

@GatewayAPI
@Getter(AccessLevel.PROTECTED)
private AccountDetailsBaseAccessor accountDetails;

@GatewayAPI
@Getter(AccessLevel.PROTECTED)
private AccountNumberBaseAccessor accountNumbers;

@GatewayAPI
@Getter(AccessLevel.PROTECTED)
private AccountOverdraftBaseAccessor accountOverdrafts;

@GatewayAPI
@Getter(AccessLevel.PROTECTED)
private AccountOwnerBaseAccessor accountOwners;

@GatewayAPI
@Getter(AccessLevel.PROTECTED)
private AccountStopPaymentsBaseAccessor accountStopPayments;

@GatewayAPI
@Getter(AccessLevel.PROTECTED)
private TransactionBaseAccessor transactions;
Expand All @@ -48,6 +60,20 @@ public AccountBaseAccessor(AccessorConfiguration configuration) {
super(configuration);
}

/**
* Account details accessor
*
* @return
*/
@API(description = "Access account details")
public AccountDetailsBaseAccessor accountDetails() {
if (accountDetails != null) {
return accountDetails;
}

throw new AccessorMethodNotImplementedException();
}

/**
* Account number accessor
*
Expand All @@ -62,6 +88,19 @@ public AccountNumberBaseAccessor accountNumbers() {
throw new AccessorMethodNotImplementedException();
}

/**
* Account stop payment accessor
* @return
*/
@API(description = "Access account stop payments")
public AccountStopPaymentsBaseAccessor accountStopPayments() {
if (accountStopPayments != null) {
return accountStopPayments;
}

throw new AccessorMethodNotImplementedException();
}

/**
* Account owner accessor
*
Expand All @@ -76,6 +115,19 @@ public AccountOwnerBaseAccessor accountOwners() {
throw new AccessorMethodNotImplementedException();
}

/**
* Account stop payment accessor
* @return
*/
@API(description = "Access account overdrafts")
public AccountOverdraftBaseAccessor accountOverdrafts() {
if (accountOverdrafts != null) {
return accountOverdrafts;
}

throw new AccessorMethodNotImplementedException();
}

/**
* Transaction accessor
*
Expand Down Expand Up @@ -104,6 +156,15 @@ public RepaymentBaseAccessor repayments() {
throw new AccessorMethodNotImplementedException();
}

/**
* Set account details accessor
*
* @param accountDetails
*/
public void setAccountDetails(AccountDetailsBaseAccessor accountDetails) {
this.accountDetails = accountDetails;
}

/**
* Set account number accessor
*
Expand All @@ -113,6 +174,15 @@ public void setAccountNumbers(AccountNumberBaseAccessor accountNumbers) {
this.accountNumbers = accountNumbers;
}

/**
* Set account overdrafts accessor
*
* @param accountOverdrafts
*/
public void setAccountOverdrafts(AccountOverdraftBaseAccessor accountOverdrafts) {
this.accountOverdrafts = accountOverdrafts;
}

/**
* Set account owner accessor
*
Expand All @@ -122,6 +192,15 @@ public void setAccountOwners(AccountOwnerBaseAccessor accountOwners) {
this.accountOwners = accountOwners;
}

/**
* Set account stop payments accessor
*
* @param accountStopPayments
*/
public void setAccountStopPayments(AccountStopPaymentsBaseAccessor accountStopPayments) {
this.accountStopPayments = accountStopPayments;
}

/**
* Set transaction accessor
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
package com.mx.path.model.mdx.accessor.account;

import com.mx.path.core.common.accessor.API;
import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException;
import com.mx.path.core.common.gateway.GatewayAPI;
import com.mx.path.core.common.gateway.GatewayClass;
import com.mx.path.gateway.accessor.Accessor;
import com.mx.path.gateway.accessor.AccessorConfiguration;
import com.mx.path.gateway.accessor.AccessorResponse;
import com.mx.path.model.mdx.model.account.AccountDetails;

/**
* Accessor base for account details operations
*/
@GatewayClass
@API(specificationUrl = "https://developer.mx.com/drafts/mdx/accounts/index.html#accounts-account-details-additional")
public abstract class AccountDetailsBaseAccessor extends Accessor {
public AccountDetailsBaseAccessor() {
}

/**
* @param configuration
* @deprecated Use the default constructor, the configuration is set by the accessor construction context code
*/
@Deprecated
public AccountDetailsBaseAccessor(AccessorConfiguration configuration) {
super(configuration);
}

/**
* Gets additional details for a given account
* @param id
* @return
*/
@GatewayAPI
@API(description = "Get additional details about an account that aren't supported by the MX platform")
public AccessorResponse<AccountDetails> get(String id) {
throw new AccessorMethodNotImplementedException();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
package com.mx.path.model.mdx.accessor.account;

import com.mx.path.core.common.accessor.API;
import com.mx.path.core.common.accessor.AccessorMethodNotImplementedException;
import com.mx.path.core.common.gateway.GatewayAPI;
import com.mx.path.core.common.gateway.GatewayClass;
import com.mx.path.gateway.accessor.Accessor;
import com.mx.path.gateway.accessor.AccessorConfiguration;
import com.mx.path.gateway.accessor.AccessorResponse;
import com.mx.path.model.mdx.model.account.Overdraft;

/**
* Accessor base for account overdraft operations
*/
@GatewayClass
@API(specificationUrl = "https://developer.mx.com/drafts/mdx/accounts/index.html#accounts-overdraft")
public abstract class AccountOverdraftBaseAccessor extends Accessor {
public AccountOverdraftBaseAccessor() {
}

/**
* @param configuration
* @deprecated Use the default constructor, the configuration is set by the accessor construction context code
*/
@Deprecated
public AccountOverdraftBaseAccessor(AccessorConfiguration configuration) {
super(configuration);
}

/**
* Gets overdraft values for a given account
* @param id
* @return
*/
@GatewayAPI
@API(description = "Retrieves overdraft values for a given account")
public AccessorResponse<Overdraft> get(String id) {
throw new AccessorMethodNotImplementedException();
}

/**
* Updates overdraft values for a given account
* @param id
* @param overdraft
* @return
*/
@GatewayAPI
@API(description = "Updates the overdraft values for a given account")
public AccessorResponse<Overdraft> update(String id, Overdraft overdraft) {
throw new AccessorMethodNotImplementedException();
}
}
Loading

0 comments on commit bec2f7c

Please sign in to comment.