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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
59 changes: 39 additions & 20 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
info:
description: An OpenAPI specifications for unit-sdk clients
title: Unit OpenAPI specifications
version: 0.2.1
version: 0.2.2
servers:
- url: https://api.s.unit.sh
security:
Expand Down Expand Up @@ -5029,7 +5029,7 @@ components:
type: string
percentage:
maximum: 100
minimum: 0
minimum: 25
type: integer
evaluationFlags:
items:
Expand Down Expand Up @@ -7131,13 +7131,9 @@ components:
title: ATM
type: object
RelatedTransactionRelationship:
additionalProperties: false
properties:
data:
$ref: '#/components/schemas/Receive_Payment_Transaction_Relationship_data'
required:
- data
title: Related Transaction Relationship
relatedTransaction:
$ref: '#/components/schemas/Related_Transaction_Relationship'
type: object
FeeTransactionRelationships:
allOf:
Expand All @@ -7162,16 +7158,16 @@ components:
type: object
title: Fee
type: object
CardReversalTransactionRelationships:
CardTransactionRelationships:
allOf:
- required:
- account
- authorization
- card
- relatedTransaction
type: object
- $ref: '#/components/schemas/DefaultTransactionRelationships'
- $ref: '#/components/schemas/AuthorizationRelationship'
- $ref: '#/components/schemas/CardRelationship'
- $ref: '#/components/schemas/RelatedTransactionRelationship'
CardTransaction:
allOf:
- $ref: '#/components/schemas/Transaction'
Expand All @@ -7180,7 +7176,7 @@ components:
attributes:
$ref: '#/components/schemas/CardTransaction_allOf_attributes'
relationships:
$ref: '#/components/schemas/CardReversalTransactionRelationships'
$ref: '#/components/schemas/CardTransactionRelationships'
required:
- attributes
- relationships
Expand Down Expand Up @@ -7699,6 +7695,16 @@ components:
type: object
title: Returned Check Payment Transaction
type: object
CardReversalTransactionRelationships:
allOf:
- required:
- account
- card
- relatedTransaction
type: object
- $ref: '#/components/schemas/DefaultTransactionRelationships'
- $ref: '#/components/schemas/CardRelationship'
- $ref: '#/components/schemas/RelatedTransactionRelationship'
CardReversalTransaction:
allOf:
- $ref: '#/components/schemas/Transaction'
Expand Down Expand Up @@ -11195,6 +11201,10 @@ components:
properties:
accountId:
type: string
accountIds:
items:
type: string
type: array
customerId:
type: string
query:
Expand Down Expand Up @@ -14530,7 +14540,7 @@ components:
- data
title: Card Relationship
type: object
Authorization_Relationship_data_inner:
Authorization_Relationship_data:
additionalProperties: false
properties:
type:
Expand All @@ -14539,17 +14549,18 @@ components:
id:
pattern: "^[1-9]\\d*$"
type: string
required:
- id
- type
type: object
Authorization_Relationship:
additionalProperties: false
properties:
data:
items:
$ref: '#/components/schemas/Authorization_Relationship_data_inner'
type: array
$ref: '#/components/schemas/Authorization_Relationship_data'
title: Authorization Relationship
type: object
Authorization_Request_Relationship_data_inner:
Authorization_Request_Relationship_data:
additionalProperties: false
properties:
type:
Expand All @@ -14558,14 +14569,15 @@ components:
id:
pattern: "^[1-9]\\d*$"
type: string
required:
- id
- type
type: object
Authorization_Request_Relationship:
additionalProperties: false
properties:
data:
items:
$ref: '#/components/schemas/Authorization_Request_Relationship_data_inner'
type: array
$ref: '#/components/schemas/Authorization_Request_Relationship_data'
title: Authorization Request Relationship
type: object
PurchaseTransaction_allOf_attributes:
Expand Down Expand Up @@ -14723,6 +14735,13 @@ components:
- summary
- surcharge
type: object
Related_Transaction_Relationship:
additionalProperties: false
properties:
data:
$ref: '#/components/schemas/Receive_Payment_Transaction_Relationship_data'
title: Related Transaction Relationship
type: object
FeeTransaction_allOf_attributes:
properties:
createdAt:
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'co.unit.sdk'
version = '0.2.2'
version = '0.2.3'

buildscript {
repositories {
Expand Down Expand Up @@ -91,7 +91,7 @@ if(hasProperty('target') && target == 'android') {
maven(MavenPublication) {
groupId = 'co.unit'
artifactId = 'java-sdk'
version = '0.2.2'
version = '0.2.3'
from components.java

pom {
Expand Down Expand Up @@ -175,7 +175,7 @@ test {
testLogging {
showStandardStreams = true
}

useJUnit()
}
// // Enable JUnit 5 (Gradle 4.6+).
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>openapi-java-client</artifactId>
<packaging>jar</packaging>
<name>openapi-java-client</name>
<version>0.2.2</version>
<version>0.2.3</version>
<url>https://github.com/openapitools/openapi-generator</url>
<description>OpenAPI Java</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/unit/java/sdk/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/unit/java/sdk/ApiException.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/unit/java/sdk/ApiResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/unit/java/sdk/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -15,7 +15,7 @@

@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0")
public class Configuration {
public static final String VERSION = "0.2.1";
public static final String VERSION = "0.2.2";

private static ApiClient defaultApiClient = new ApiClient();

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/unit/java/sdk/JSON.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/unit/java/sdk/Pair.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/unit/java/sdk/RFC3339DateFormat.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/unit/java/sdk/ServerConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/unit/java/sdk/ServerVariable.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/unit/java/sdk/api/UnitApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/unit/java/sdk/model/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/unit/java/sdk/model/AccountEndOfDay.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/unit/java/sdk/model/AccountRelationship.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Unit OpenAPI specifications
* An OpenAPI specifications for unit-sdk clients
*
* The version of the OpenAPI document: 0.2.1
* The version of the OpenAPI document: 0.2.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Loading
Loading