Skip to content

Commit 23d8ac5

Browse files
committed
Added applicationForm create from existing application
1 parent 9a3ecbd commit 23d8ac5

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@unit-finance/unit-node-sdk",
3-
"version": "0.8.9",
3+
"version": "0.8.10",
44
"description": "",
55
"main": "dist/unit.js",
66
"types": "dist/unit.d.ts",

types/applicationForm.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ export interface CreateApplicationFormRequest {
2626
* Optional. Array of Individual, Business or SoleProprietorship. Restrict the available application type for this specific application.
2727
*/
2828
allowedApplicationTypes?: Array<"Individual" | "SoleProprietorship" | "Business">
29+
},
30+
relationships?: {
31+
/**
32+
* See [Create an Application Form from an existing Application](https://developers.unit.co/application-forms/#create-an-application-form-from-an-existing-application)
33+
*/
34+
application?: {
35+
data: {
36+
type: "application",
37+
id: string
38+
}
39+
}
2940
}
3041
}
3142

0 commit comments

Comments
 (0)