Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Commit

Permalink
Updating api
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Dart Bot committed Nov 7, 2021
1 parent d38b9a9 commit e3e9383
Show file tree
Hide file tree
Showing 25 changed files with 43 additions and 42 deletions.
13 changes: 6 additions & 7 deletions generated/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1464,13 +1464,12 @@ components:
type: object
AccountV2StatusEnum:
enum:
- '{"DISCOVERED":"User has succesfully authenticated and account is discovered"}'
- '{"PROCESSING":"Account is being processed by the ASPSP"}'
- '{"ERROR":"An error was encountered when processing account"}'
- '{"EXPIRED":"Access to account has expired as set in End User Agreement"}'
- '{"READY":"Account has been successfully processed"}'
- '{"SUSPENDED":"Account has been suspended (more than 10 consecutive failed
attempts to access the account)"}'
- DISCOVERED
- PROCESSING
- ERROR
- EXPIRED
- READY
- SUSPENDED
type: string
Aspsp:
description: Represents an ASPSP.
Expand Down
16 changes: 9 additions & 7 deletions generated/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ version = '2.0.1'

buildscript {
repositories {
maven { url "https://repo1.maven.org/maven2" }
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.+'
Expand All @@ -16,7 +15,7 @@ buildscript {
}

repositories {
jcenter()
mavenCentral()
}


Expand Down Expand Up @@ -77,14 +76,17 @@ if(hasProperty('target') && target == 'android') {
} else {

apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

install {
repositories.mavenInstaller {
pom.artifactId = 'unofficial-nordigen-api-java'
publishing {
publications {
maven(MavenPublication) {
artifactId = 'unofficial-nordigen-api-java'
from components.java
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import com.github.simonhauck.unofficial.nordigen.ApiResponseDecoder;


@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class ApiClient {
private static final Logger log = Logger.getLogger(ApiClient.class.getName());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import java.util.Collection;
import java.util.Iterator;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import java.util.Map;
import feign.*;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public interface AccountsApi extends ApiClient.Api {


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import java.util.Map;
import feign.*;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public interface AgreementsApi extends ApiClient.Api {


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import java.util.Map;
import feign.*;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public interface InstitutionsApi extends ApiClient.Api {


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import java.util.Map;
import feign.*;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public interface RequisitionsApi extends ApiClient.Api {


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import java.util.Map;
import feign.*;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public interface TokenApi extends ApiClient.Api {


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import com.github.scribejava.core.oauth2.clientauthentication.ClientAuthentication;
import com.github.scribejava.core.oauth2.clientauthentication.RequestBodyAuthenticationScheme;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class DefaultApi20Impl extends DefaultApi20 {

private final String accessTokenEndpoint;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
AccountV2.JSON_PROPERTY_STATUS
})
@JsonTypeName("AccountV2")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class AccountV2 {
public static final String JSON_PROPERTY_ID = "id";
private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@
*/
public enum AccountV2StatusEnum {

DISCOVERED_USER_HAS_SUCCESFULLY_AUTHENTICATED_AND_ACCOUNT_IS_DISCOVERED_("{\"DISCOVERED\":\"User has succesfully authenticated and account is discovered\"}"),
DISCOVERED("DISCOVERED"),

PROCESSING_ACCOUNT_IS_BEING_PROCESSED_BY_THE_ASPSP_("{\"PROCESSING\":\"Account is being processed by the ASPSP\"}"),
PROCESSING("PROCESSING"),

ERROR_AN_ERROR_WAS_ENCOUNTERED_WHEN_PROCESSING_ACCOUNT_("{\"ERROR\":\"An error was encountered when processing account\"}"),
ERROR("ERROR"),

EXPIRED_ACCESS_TO_ACCOUNT_HAS_EXPIRED_AS_SET_IN_END_USER_AGREEMENT_("{\"EXPIRED\":\"Access to account has expired as set in End User Agreement\"}"),
EXPIRED("EXPIRED"),

READY_ACCOUNT_HAS_BEEN_SUCCESSFULLY_PROCESSED_("{\"READY\":\"Account has been successfully processed\"}"),
READY("READY"),

SUSPENDED_ACCOUNT_HAS_BEEN_SUSPENDED_MORE_THAN_10_CONSECUTIVE_FAILED_ATTEMPTS_TO_ACCESS_THE_ACCOUNT_("{\"SUSPENDED\":\"Account has been suspended (more than 10 consecutive failed attempts to access the account)\"}");
SUSPENDED("SUSPENDED");

private String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
Aspsp.JSON_PROPERTY_LOGO
})
@JsonTypeName("Aspsp")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class Aspsp {
public static final String JSON_PROPERTY_ID = "id";
private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
EndUserAgreement.JSON_PROPERTY_INSTITUTION_ID
})
@JsonTypeName("EndUserAgreement")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class EndUserAgreement {
public static final String JSON_PROPERTY_ID = "id";
private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
EnduserAcceptanceDetails.JSON_PROPERTY_IP_ADDRESS
})
@JsonTypeName("EnduserAcceptanceDetails")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class EnduserAcceptanceDetails {
public static final String JSON_PROPERTY_USER_AGENT = "user_agent";
private String userAgent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
JWTObtainPair.JSON_PROPERTY_SECRET_KEY
})
@JsonTypeName("JWTObtainPair")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class JWTObtainPair {
public static final String JSON_PROPERTY_SECRET_ID = "secret_id";
private String secretId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
JWTRefresh.JSON_PROPERTY_ACCESS
})
@JsonTypeName("JWTRefresh")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class JWTRefresh {
public static final String JSON_PROPERTY_REFRESH = "refresh";
private String refresh;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
PaginatedEndUserAgreementList.JSON_PROPERTY_RESULTS
})
@JsonTypeName("PaginatedEndUserAgreementList")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class PaginatedEndUserAgreementList {
public static final String JSON_PROPERTY_COUNT = "count";
private Integer count;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
PaginatedRequisitionV2List.JSON_PROPERTY_RESULTS
})
@JsonTypeName("PaginatedRequisitionV2List")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class PaginatedRequisitionV2List {
public static final String JSON_PROPERTY_COUNT = "count";
private Integer count;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
RequisitionLinkParams.JSON_PROPERTY_ASPSP_ID
})
@JsonTypeName("RequisitionLinkParams")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class RequisitionLinkParams {
public static final String JSON_PROPERTY_ASPSP_ID = "aspsp_id";
private String aspspId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
RequisitionLinks.JSON_PROPERTY_INITIATE
})
@JsonTypeName("RequisitionLinks")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class RequisitionLinks {
public static final String JSON_PROPERTY_INITIATE = "initiate";
private String initiate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
RequisitionV2.JSON_PROPERTY_LINK
})
@JsonTypeName("RequisitionV2")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class RequisitionV2 {
public static final String JSON_PROPERTY_ID = "id";
private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
SpectacularJWTObtain.JSON_PROPERTY_REFRESH_EXPIRES
})
@JsonTypeName("SpectacularJWTObtain")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class SpectacularJWTObtain {
public static final String JSON_PROPERTY_PASSWORD = "password";
private String password;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
SpectacularJWTRefresh.JSON_PROPERTY_ACCESS_EXPIRES
})
@JsonTypeName("SpectacularJWTRefresh")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class SpectacularJWTRefresh {
public static final String JSON_PROPERTY_ACCESS = "access";
private String access;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
SpectacularRequisitionV2.JSON_PROPERTY_LINK
})
@JsonTypeName("SpectacularRequisitionV2")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-10-26T21:29:23.050133Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-11-07T16:52:58.053385Z[Etc/UTC]")
public class SpectacularRequisitionV2 {
public static final String JSON_PROPERTY_ID = "id";
private String id;
Expand Down

0 comments on commit e3e9383

Please sign in to comment.