Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
3e97bdf
fix: small test updates
YegorZh Mar 11, 2025
c10eef7
Merge branch 'main' into feat/python-generation-and-test-updates
YegorZh Mar 11, 2025
7bf6144
temp
YegorZh May 13, 2025
0cbc4cd
feat: a script for python to fix deep object path queries
YegorZh May 19, 2025
29f0f0e
feat: webhook
YegorZh May 19, 2025
23e169d
feat: event
YegorZh May 19, 2025
27f58c1
feat: org api tokens
YegorZh May 19, 2025
e22bf6d
feat: customer token
YegorZh May 19, 2025
2b35c2f
fix: a batch of small changes
YegorZh May 19, 2025
2f12d24
feat: manage applications
YegorZh May 19, 2025
5e8a080
fix: description hyperlinks
YegorZh May 20, 2025
c3c8348
feat: application document
YegorZh May 20, 2025
1eadeee
feat: manage customers
YegorZh May 20, 2025
7b92a9f
feat: authorized users
YegorZh May 20, 2025
639d63d
feat: deposit account
YegorZh May 20, 2025
955b596
feat: credit account
YegorZh May 20, 2025
bdb53fb
feat: daca
YegorZh May 20, 2025
7892027
feat: wallet
YegorZh May 20, 2025
4ccedd3
feat: overview payments
YegorZh May 20, 2025
5758503
feat: ach originating
YegorZh May 20, 2025
4eca27d
feat: book payments
YegorZh May 20, 2025
0879230
feat: ach returns
YegorZh May 20, 2025
435ab82
feat: counterparties
YegorZh May 20, 2025
07ae0b2
feat: wire
YegorZh May 20, 2025
ab42686
feat: wire drawdowns
YegorZh May 20, 2025
44ce445
feat: batch
YegorZh May 20, 2025
68f5a10
feat: recurring payments
YegorZh May 20, 2025
5f5923c
feat: check deposits
YegorZh May 20, 2025
054e5ae
feat: card management
YegorZh May 20, 2025
765c75f
feat: card authorizations
YegorZh May 20, 2025
798452b
feat: auth requests
YegorZh May 20, 2025
1f06003
feat: disputes
YegorZh May 20, 2025
3f1886f
feat: mobile wallet payload
YegorZh May 21, 2025
9d79084
feat: atm locations
YegorZh May 21, 2025
030ef72
feat: cardholder token
YegorZh May 21, 2025
0f84702
feat: card fraud
YegorZh May 21, 2025
5beb9b6
feat: check deposit
YegorZh May 21, 2025
f0b462b
feat: check payment
YegorZh May 21, 2025
8356c00
feat: stop payment
YegorZh May 21, 2025
397dc9f
feat: fees
YegorZh May 21, 2025
5a3e8fa
feat: transactions
YegorZh May 21, 2025
fda8c03
feat: repayments
YegorZh May 21, 2025
24d341d
feat: recurring repayments
YegorZh May 21, 2025
2e09fb4
feat: credit applications
YegorZh May 21, 2025
0500e31
feat: credit decisions
YegorZh May 21, 2025
26725da
feat: lending program
YegorZh May 22, 2025
42c7ceb
feat: receivables balance
YegorZh May 22, 2025
645c5a2
feat: statement
YegorZh May 22, 2025
ee6217c
feat: tax forms
YegorZh May 22, 2025
0be21bb
feat: institutions
YegorZh May 22, 2025
963e2ea
feat: interest
YegorZh May 22, 2025
5d0680c
fix: errors
YegorZh May 22, 2025
aaa6295
fix: paths
YegorZh May 22, 2025
0c03e78
fix: minor fixes
YegorZh May 26, 2025
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
102 changes: 99 additions & 3 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@
"/customers/{customerId}/authorized-users": {
"$ref": "./schemas/customer/customerPaths.json#/authorizedUsers"
},
"/customers/{customerId}/authorized-users/{authorizedUserId}": {
"$ref": "./schemas/customer/customerPaths.json#/authorizedUser"
},
"/payments": {
"$ref": "./schemas/payment/paymentsPaths.json#/getAndCreatePayments"
},
Expand All @@ -110,6 +113,12 @@
"/payments/{paymentId}/cancel": {
"$ref": "./schemas/payment/paymentsPaths.json#/cancelPayment"
},
"/payments/{paymentId}/clear": {
"$ref": "./schemas/payment/paymentsPaths.json#/clearAchDebitPayment"
},
"/payments/bulk": {
"$ref": "./schemas/payment/paymentsPaths.json#/createBulkPayments"
},
"/store-locations": {
"$ref": "./schemas/cash-deposit/cashDepositPaths.json#/listCashDepositStoreLocations"
},
Expand All @@ -123,7 +132,7 @@
"$ref": "./schemas/payment/paymentsPaths.json#/listReceivedPayments"
},
"/returns/{transactionId}": {
"$ref": "./schemas/payment/paymentsPaths.json#/returnReceivedACHTransaction"
"$ref": "./schemas/payment/paymentsPaths.json#/returnReceivedAchTransaction"
},
"/received-payments/{paymentId}": {
"$ref": "./schemas/payment/paymentsPaths.json#/receivedPayments"
Expand All @@ -143,6 +152,9 @@
"/counterparties/{counterpartyId}/balance": {
"$ref": "./schemas/counterparty/counterpartyPaths.json#/counterpartyBalance"
},
"/batch-releases": {
"$ref": "./schemas/payment/batchReleasesPaths.json#/createBatchReleases"
},
"/recurring-payments": {
"$ref": "./schemas/payment/paymentsPaths.json#/recurringPayments"
},
Expand All @@ -155,6 +167,9 @@
"/recurring-payments/{paymentId}/enable": {
"$ref": "./schemas/payment/paymentsPaths.json#/enableRecurringPayment"
},
"/recurring-payments/{paymentId}/delete": {
"$ref": "./schemas/payment/paymentsPaths.json#/deleteRecurringPayment"
},
"/cards": {
"$ref": "./schemas/card/cardPaths.json#/cards"
},
Expand Down Expand Up @@ -185,6 +200,24 @@
"/cards/{cardId}/replace": {
"$ref": "./schemas/card/cardPaths.json#/replaceCard"
},
"/cards/{cardId}/mobile-wallet-payload": {
"$ref": "./schemas/card/cardPaths.json#/mobileWalletPayload"
},
"/cards/{cardId}/activate": {
"$ref": "./schemas/card/cardPaths.json#/activateCard"
},
"/cards/{cardId}/secure-data/pin/set": {
"$ref": "./schemas/card/cardPaths.json#/setPIN"
},
"/cards/{cardId}/secure-data/pin/change": {
"$ref": "./schemas/card/cardPaths.json#/changePIN"
},
"/cards/{cardId}/cardholder/token": {
"$ref": "./schemas/card/cardPaths.json#/cardholderToken"
},
"/cards/{cardId}/cardholder/token/verification": {
"$ref": "./schemas/card/cardPaths.json#/cardholderTokenVerification"
},
"/authorizations": {
"$ref": "./schemas/authorization/authorizationPaths.json#/authorizations"
},
Expand Down Expand Up @@ -246,10 +279,10 @@
"$ref": "./schemas/check/checkDepositPaths.json#/confirmCheckDeposit"
},
"/check-deposits/{checkDepositId}/front": {
"$ref": "./schemas/check/checkDepositPaths.json#/getFrontCheckDeposit"
"$ref": "./schemas/check/checkDepositPaths.json#/frontImageCheckDeposit"
},
"/check-deposits/{checkDepositId}/back": {
"$ref": "./schemas/check/checkDepositPaths.json#/getBackCheckDeposit"
"$ref": "./schemas/check/checkDepositPaths.json#/backImageCheckDeposit"
},
"/users/{userId}/api-tokens": {
"$ref": "./schemas/token/tokenPaths.json#/apiTokens"
Expand Down Expand Up @@ -284,6 +317,9 @@
"/transactions": {
"$ref": "./schemas/transaction/transactionPaths.json#/listTransactions"
},
"/transactions/{transactionId}": {
"$ref": "./schemas/transaction/transactionPaths.json#/transactionById"
},
"/disputes": {
"$ref": "./schemas/dispute/disputePaths.json#/listDisputes"
},
Expand Down Expand Up @@ -358,6 +394,66 @@
},
"/sandbox/received-ach-payment": {
"$ref": "./schemas/simulation/simulationPaths.json#/createIncomingAchPayment"
},
"/wire-drawdowns/{wireDrawdownId}": {
"$ref": "./schemas/payment/wireDrawdownPaths.json#/getWireDrawdown"
},
"/wire-drawdowns": {
"$ref": "./schemas/payment/wireDrawdownPaths.json#/listWireDrawdowns"
},
"/wire-drawdowns/{wireDrawdownId}/send": {
"$ref": "./schemas/payment/wireDrawdownPaths.json#/sendWireDrawdown"
},
"/card-fraud-cases/{id}": {
"$ref": "./schemas/card/cardFraudOutreachPaths.json#/cardFraudCase"
},
"/card-fraud-cases": {
"$ref": "./schemas/card/cardFraudOutreachPaths.json#/cardFraudCases"
},
"/card-fraud-cases/{id}/fraud": {
"$ref": "./schemas/card/cardFraudOutreachPaths.json#/markCardFraudCaseAsFraud"
},
"/card-fraud-cases/{id}/no-fraud": {
"$ref": "./schemas/card/cardFraudOutreachPaths.json#/markCardFraudCaseAsNoFraud"
},
"/fraud-outreach-policies": {
"$ref": "./schemas/card/cardFraudOutreachPaths.json#/createCardFraudOutreachPolicy"
},
"/fraud-outreach-policies/{policyId}": {
"$ref": "./schemas/card/cardFraudOutreachPaths.json#/fraudOutreachPolicy"
},
"/credit-applications": {
"$ref": "./schemas/credit-application/creditApplicationPaths.json#/creditApplications"
},
"/credit-applications/{creditApplicationId}": {
"$ref": "./schemas/credit-application/creditApplicationPaths.json#/creditApplication"
},
"/credit-decisions": {
"$ref": "./schemas/credit-decision/creditDecisionPaths.json#/creditDecisions"
},
"/credit-decisions/{id}": {
"$ref": "./schemas/credit-decision/creditDecisionPaths.json#/creditDecision"
},
"/lending-programs": {
"$ref": "./schemas/lending-program/lendingProgramPaths.json#/lendingPrograms"
},
"/lending-programs/{id}": {
"$ref": "./schemas/lending-program/lendingProgramPaths.json#/lendingProgram"
},
"/lending-programs/{id}/extended": {
"$ref": "./schemas/lending-program/lendingProgramPaths.json#/lendingProgramExtended"
},
"/receivables/{id}": {
"$ref": "./schemas/receivables/receivablesPaths.json#/receivable"
},
"/receivables": {
"$ref": "./schemas/receivables/receivablesPaths.json#/receivables"
},
"/receivablesreports/balance": {
"$ref": "./schemas/receivables/receivablesPaths.json#/receivablesBalance"
},
"/accrued-interest/total": {
"$ref": "./schemas/interest/interestPaths.json#/getTotalAccruedInterest"
}
},
"components": {
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
"bundle": "redocly bundle openapi.json -o dist/bundledSchema.json",
"fix-java-file-get-requests": "ts-node ./scripts/java/fixFileRelatedGetRequests.ts",
"add-version-header-to-java": "ts-node ./scripts/java/addVersionHeaderToApiClient.ts",
"fix-deep-object-query-params": "ts-node ./scripts/python/fixDeepObjectQueryParams.ts",
"generate-java": "rm -rf ./dist/java-sdk && npm run bundle && npx mkdirp dist/java-sdk/src/test/java/unit/java/sdk && cp -a ./unit/e2e_tests/java/. ./dist/java-sdk/src/test/java/unit/java/sdk && openapi-generator-cli generate -g java -i ./dist/bundledSchema.json -o ./dist/java-sdk -p hideGenerationTimestamp=true -p packageName=unit.java.sdk -p modelPackage=unit.java.sdk.model -p apiPackage=unit.java.sdk.api --library native -p useJakartaEe=true --openapi-normalizer REFACTOR_ALLOF_WITH_PROPERTIES_ONLY=true && npm run fix-java-file-get-requests -- --path=./dist/java-sdk/src/main/java/unit/java/sdk/api/UnitApi.java && npm run add-version-header-to-java -- --path=./dist/java-sdk/src/main/java/unit/java/sdk/ApiClient.java",
"generate-ruby": "rm -rf ./dist/ruby-sdk && npm run bundle && openapi-generator-cli generate -g ruby -i ./dist/bundledSchema.json -o ./dist/ruby-sdk -p gemName=unit_openapi_ruby_sdk && rm -rf ./dist/ruby-sdk/spec && npx mkdirp dist/ruby-sdk/spec && cp -a ./unit/e2e_tests/ruby/spec ./dist/ruby-sdk",
"generate-node": "rm -rf ./dist/node-sdk && npm run bundle && openapi-generator-cli generate -g typescript-axios -i ./dist/bundledSchema.json -o ./dist/node-sdk",
"generate-python": "rm -rf ./dist/python-sdk && npm run bundle && openapi-generator-cli generate -i ./dist/bundledSchema.json -g python -o ./dist/python-sdk -p packageName=unit_openapi_python_sdk",
"generate-python": "rm -rf ./dist/python-sdk && npm run bundle && openapi-generator-cli generate -i ./dist/bundledSchema.json -g python -o ./dist/python-sdk -p packageName=unit_openapi_python_sdk && npm run fix-deep-object-query-params -- --path=./dist/python-sdk/unit_openapi_python_sdk/api_client.py --schema=./dist/bundledSchema.json --unit-api=./dist/python-sdk/unit_openapi_python_sdk/api/unit_api.py",
"lint": "redocly lint --config .redocly.yaml openapi.json",
"format": "prettier ./schemas --write"
},
Expand All @@ -17,4 +18,4 @@
"prettier": "^3.2.5",
"ts-node": "^10.9.2"
}
}
}
Loading
Loading