Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions mdx-gateway-generator/gradle.lockfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
com.auth0:java-jwt:4.6.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.auth0:java-jwt:4.6.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.datadoghq:dd-trace-api:1.38.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-annotations:2.22=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-core:2.22.0=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-databind:2.22.0=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson:jackson-bom:2.22.0=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-core:2.22.2=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-databind:2.22.2=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson:jackson-bom:2.22.2=runtimeClasspath,testRuntimeClasspath
com.fasterxml.woodstox:woodstox-core:7.2.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.github.rholder:guava-retrying:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.github.spotbugs:spotbugs-annotations:4.10.2=annotationProcessor,testAnnotationProcessor
Expand Down
8 changes: 4 additions & 4 deletions mdx-gateways/gradle.lockfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
com.auth0:java-jwt:4.6.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.auth0:java-jwt:4.6.1=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.datadoghq:dd-trace-api:1.38.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-annotations:2.22=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-core:2.22.0=annotationProcessor,runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-databind:2.22.0=annotationProcessor,runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson:jackson-bom:2.22.0=annotationProcessor,runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-core:2.22.2=annotationProcessor,runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-databind:2.22.2=annotationProcessor,runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson:jackson-bom:2.22.2=annotationProcessor,runtimeClasspath,testRuntimeClasspath
com.fasterxml.woodstox:woodstox-core:7.2.1=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.github.oowekyala.ooxml:nice-xml-messages:3.1=pmd
com.github.rholder:guava-retrying:2.0.0=annotationProcessor,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
Expand Down
8 changes: 4 additions & 4 deletions mdx-models/gradle.lockfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
com.auth0:java-jwt:4.6.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.auth0:java-jwt:4.6.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.datadoghq:dd-trace-api:1.38.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-annotations:2.22=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-core:2.22.0=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-databind:2.22.0=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson:jackson-bom:2.22.0=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-core:2.22.2=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-databind:2.22.2=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson:jackson-bom:2.22.2=runtimeClasspath,testRuntimeClasspath
com.fasterxml.woodstox:woodstox-core:7.2.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.github.oowekyala.ooxml:nice-xml-messages:3.1=pmd
com.github.rholder:guava-retrying:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,17 @@ public AccessorResponse<MdxList<CrossAccountRecurringTransfer>> list() {
throw new AccessorMethodNotImplementedException();
}

/**
* List all recurring cross account transfers - Version 20260427
*
* @return
*/
@GatewayAPI
@API(description = "List all recurring cross account transfers version 20260427")
public AccessorResponse<MdxList<CrossAccountRecurringTransfer>> list20260427() {
throw new AccessorMethodNotImplementedException();
}

/**
* Skip next payment of recurring cross account transfer
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,17 @@ public AccessorResponse<MdxList<CrossAccountTransfer>> list() {
throw new AccessorMethodNotImplementedException();
}

/**
* List all cross-account transfers - Version 20260427
*
* @return list of cross account transfers
*/
@GatewayAPI
@API(description = "List all cross-account transfers version 20260427")
public AccessorResponse<MdxList<CrossAccountTransfer>> list20260427() {
throw new AccessorMethodNotImplementedException();
}

/**
* Update a scheduled cross account transfer
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,18 @@ public AccessorResponse<MdxList<Transfer>> list(TransferListOptions options) {
throw new AccessorMethodNotImplementedException();
}

/**
* List all transfers - Version 20260427
*
* @param options
* @return
*/
@GatewayAPI
@API(description = "List all transfers version 20260427")
public AccessorResponse<MdxList<Transfer>> list20260427(TransferListOptions options) {
throw new AccessorMethodNotImplementedException();
}

/**
* Update a transfer
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,18 @@ public AccessorResponse<MdxList<RecurringTransfer>> list(RecurringTransferListOp
throw new AccessorMethodNotImplementedException();
}

/**
* List recurring transfers - Version 20260427
*
* @param options
* @return
*/
@GatewayAPI
@API(description = "List recurring transfers version 20260427")
public AccessorResponse<MdxList<RecurringTransfer>> list20260427(RecurringTransferListOptions options) {
throw new AccessorMethodNotImplementedException();
}

/**
* Skip next payment of recurring transfer
*
Expand Down
11 changes: 6 additions & 5 deletions mdx-web/gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
biz.aQute.bnd:biz.aQute.bnd.annotation:7.1.0=compileClasspath,testCompileClasspath
ch.qos.logback:logback-classic:1.5.34=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
ch.qos.logback:logback-core:1.5.34=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.auth0:java-jwt:4.6.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.auth0:java-jwt:4.6.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.datadoghq:dd-trace-api:1.38.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-annotations:2.21=compileClasspath,testCompileClasspath
com.fasterxml.jackson.core:jackson-annotations:2.22=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-core:2.22.0=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-databind:2.22.0=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson:jackson-bom:2.22.0=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-core:2.22.2=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-databind:2.22.2=runtimeClasspath,testRuntimeClasspath
com.fasterxml.jackson:jackson-bom:2.22.2=runtimeClasspath,testRuntimeClasspath
com.fasterxml.woodstox:woodstox-core:7.1.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.github.oowekyala.ooxml:nice-xml-messages:3.1=pmd
com.github.rholder:guava-retrying:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
Expand Down Expand Up @@ -147,7 +147,8 @@ org.ow2.asm:asm:9.7.1=testCompileClasspath,testRuntimeClasspath
org.ow2.asm:asm:9.9=jacocoAnt
org.ow2.asm:asm:9.9.1=pmd
org.pcollections:pcollections:4.0.2=pmd
org.projectlombok:lombok:1.18.46=annotationProcessor,compileClasspath,testAnnotationProcessor,testCompileClasspath
org.projectlombok:lombok:1.18.46=compileClasspath,testCompileClasspath
org.projectlombok:lombok:1.18.48=annotationProcessor,testAnnotationProcessor
org.reflections:reflections:0.10.2=checkstyle,runtimeClasspath,testRuntimeClasspath
org.skyscreamer:jsonassert:1.5.3=testCompileClasspath,testRuntimeClasspath
org.slf4j:jul-to-slf4j:1.7.36=pmd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,27 @@
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import jakarta.servlet.http.HttpServletRequest;

@RestController
@RequestMapping(value = "{clientId}", produces = BaseController.MDX_MEDIA)
public class CrossAccountRecurringTransferController extends BaseController {
public CrossAccountRecurringTransferController() {
}

@SuppressWarnings({ "MagicNumber", "unchecked" })
@RequestMapping(value = "/users/{userId}/cross_account_transfers/recurring_cross_account_transfers", method = RequestMethod.GET)
public final ResponseEntity<MdxList<CrossAccountRecurringTransfer>> getCrossAccountRecurringTransfers() {
AccessorResponse<MdxList<CrossAccountRecurringTransfer>> response = gateway().crossAccount().crossAccountRecurring().list();
return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.OK);
public final ResponseEntity<MdxList<CrossAccountRecurringTransfer>> getCrossAccountRecurringTransfers(HttpServletRequest request) {
return (ResponseEntity<MdxList<CrossAccountRecurringTransfer>>) versioned(request)
.defaultVersion(MdxList.class, MdxList.class, recurringTransfers -> {
AccessorResponse<MdxList<CrossAccountRecurringTransfer>> response = gateway().crossAccount().crossAccountRecurring().list();
return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.OK);
})
.version(20260427, MdxList.class, MdxList.class, recurringTransfers -> {
AccessorResponse<MdxList<CrossAccountRecurringTransfer>> response = gateway().crossAccount().crossAccountRecurring().list20260427();
return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.OK);
})
.execute();
}

@RequestMapping(value = "/users/{userId}/cross_account_transfers/recurring_cross_account_transfers/{id}", method = RequestMethod.GET)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import jakarta.servlet.http.HttpServletRequest;

@RestController
@RequestMapping(value = "{clientId}", produces = BaseController.MDX_MEDIA)
public class CrossAccountTransfersController extends BaseController {
Expand All @@ -35,10 +37,19 @@ public final ResponseEntity<CrossAccountTransfer> getCrossAccountTransfer(@PathV
return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.OK);
}

@SuppressWarnings({ "MagicNumber", "unchecked" })
@RequestMapping(value = "/users/{userId}/cross_account_transfers", method = RequestMethod.GET)
public final ResponseEntity<MdxList<CrossAccountTransfer>> listCrossAccountTransfers() {
AccessorResponse<MdxList<CrossAccountTransfer>> response = gateway().crossAccount().list();
return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.OK);
public final ResponseEntity<MdxList<CrossAccountTransfer>> listCrossAccountTransfers(HttpServletRequest request) {
return (ResponseEntity<MdxList<CrossAccountTransfer>>) versioned(request)
.defaultVersion(MdxList.class, MdxList.class, crossAccountTransfers -> {
AccessorResponse<MdxList<CrossAccountTransfer>> response = gateway().crossAccount().list();
return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.OK);
})
.version(20260427, MdxList.class, MdxList.class, crossAccountTransfers -> {
AccessorResponse<MdxList<CrossAccountTransfer>> response = gateway().crossAccount().list20260427();
return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.OK);
})
.execute();
}

@Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,27 @@
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import jakarta.servlet.http.HttpServletRequest;

@RestController
@RequestMapping(value = "{clientId}", produces = BaseController.MDX_MEDIA)
public class RecurringTransfersController extends BaseController {

@SuppressWarnings({ "MagicNumber", "unchecked" })
@RequestMapping(value = "/users/{userId}/recurring_transfers", method = RequestMethod.GET)
public final ResponseEntity<MdxList<RecurringTransfer>> list(RecurringTransferListQueryParameters queryParameters) {
public final ResponseEntity<MdxList<RecurringTransfer>> list(RecurringTransferListQueryParameters queryParameters, HttpServletRequest request) {
RecurringTransferListOptions options = new RecurringTransferListOptions();
options.setTransferType(queryParameters.getTransfer_type());
AccessorResponse<MdxList<RecurringTransfer>> response = gateway().transfers().recurring().list(options);
return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.OK);
return (ResponseEntity<MdxList<RecurringTransfer>>) versioned(request)
.defaultVersion(MdxList.class, MdxList.class, recurringTransfers -> {
AccessorResponse<MdxList<RecurringTransfer>> response = gateway().transfers().recurring().list(options);
return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.OK);
})
.version(20260427, MdxList.class, MdxList.class, recurringTransfers -> {
AccessorResponse<MdxList<RecurringTransfer>> response = gateway().transfers().recurring().list20260427(options);
return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.OK);
})
.execute();
}

@RequestMapping(value = "/users/{userId}/recurring_transfers", method = RequestMethod.POST, consumes = MDX_MEDIA)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,27 @@
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import jakarta.servlet.http.HttpServletRequest;

@RestController
@RequestMapping(value = "{clientId}", produces = BaseController.MDX_MEDIA)
public class TransfersController extends BaseController {

@SuppressWarnings({ "MagicNumber", "unchecked" })
@RequestMapping(value = "/users/{userId}/transfers", method = RequestMethod.GET)
public final ResponseEntity<MdxList<Transfer>> list(TransferListQueryParameters queryParameters) {
public final ResponseEntity<MdxList<Transfer>> list(TransferListQueryParameters queryParameters, HttpServletRequest request) {
TransferListOptions options = new TransferListOptions();
options.setTransferType(queryParameters.getTransfer_type());
AccessorResponse<MdxList<Transfer>> response = gateway().transfers().list(options);
return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.OK);
return (ResponseEntity<MdxList<Transfer>>) versioned(request)
.defaultVersion(MdxList.class, MdxList.class, transfers -> {
AccessorResponse<MdxList<Transfer>> response = gateway().transfers().list(options);
return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.OK);
})
.version(20260427, MdxList.class, MdxList.class, transfers -> {
AccessorResponse<MdxList<Transfer>> response = gateway().transfers().list20260427(options);
return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.OK);
})
.execute();
}

@RequestMapping(value = "/users/{user_id}/transfers/{id}", method = RequestMethod.GET)
Expand Down
Loading
Loading