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
2 changes: 1 addition & 1 deletion openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Unit OpenAPI specifications",
"description": "An OpenAPI specifications for unit-sdk clients",
"version": "0.3.1"
"version": "0.3.2"
},
"servers": [
{
Expand Down
6 changes: 3 additions & 3 deletions schemas/application/createApplication.json
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@
"accountPurpose": {
"$ref": "#/components/schemas/ThreadIndividualAccountPurpose"
},
"accountPurposeDescription": {
"accountPurposeDetail": {
"type": "string"
},
"sourceOfFunds": {
Expand Down Expand Up @@ -1041,7 +1041,7 @@
"accountPurpose": {
"$ref": "#/components/schemas/ThreadBusinessAccountPurpose"
},
"accountPurposeDescription": {
"accountPurposeDetail": {
"type": "string"
},
"businessDescription": {
Expand Down Expand Up @@ -1167,7 +1167,7 @@
"accountPurpose": {
"$ref": "#/components/schemas/ThreadBusinessAccountPurpose"
},
"accountPurposeDescription": {
"accountPurposeDetail": {
"type": "string"
},
"transactionVolume": {
Expand Down
3 changes: 3 additions & 0 deletions unit/e2e_tests/java/TestHelpers.java
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ public static CreateApplicationRequest GenerateCreateIndividualThreadApplication

// Thread application specific fields
attr.setAccountPurpose(ThreadIndividualAccountPurpose.PAYROLL_OR_DIRECT_DEPOSIT);
attr.setAccountPurposeDetail("Receiving monthly salary payments");
attr.setSourceOfFunds(ThreadIndividualSourceOfFunds.SALARY_OR_WAGES);
attr.setTransactionVolume(ThreadIndividualTransactionVolume.BETWEEN1_K_AND5_K);
attr.setProfession(ThreadIndividualProfession.ENGINEER);
Expand Down Expand Up @@ -409,6 +410,7 @@ public static CreateApplicationRequest GenerateCreateBusinessThreadApplicationRe

// Thread-specific required fields
attr.setAccountPurpose(ThreadBusinessAccountPurpose.RETAIL_SALES_IN_PERSON);
attr.setAccountPurposeDetail("Processing customer payments for retail operations");
attr.setSourceOfFunds(ThreadBusinessSourceOfFunds.SALES_OF_SERVICES);
attr.setTransactionVolume(ThreadBusinessTransactionVolume.BETWEEN10_K_AND50_K);
attr.setBusinessIndustry(ThreadBusinessIndustry.CONSTRUCTION);
Expand Down Expand Up @@ -471,6 +473,7 @@ public static CreateApplicationRequest GenerateCreateSoleProprietorThreadApplica

// Thread-specific required fields
attr.setAccountPurpose(ThreadBusinessAccountPurpose.RETAIL_SALES_IN_PERSON);
attr.setAccountPurposeDetail("Managing consulting fees and client payments");
attr.setSourceOfFunds(ThreadBusinessSourceOfFunds.SALES_OF_SERVICES);
attr.setTransactionVolume(ThreadSoleProprietorshipTransactionVolume.BETWEEN5_K_AND20_K);
attr.setBusinessIndustry(ThreadBusinessIndustry.CONSTRUCTION);
Expand Down