Skip to content

Commit

Permalink
update collection payload
Browse files Browse the repository at this point in the history
  • Loading branch information
Mujhtech committed Sep 4, 2024
1 parent 5d94c66 commit c820e63
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swervpaydev/sdk",
"version": "0.0.21",
"version": "0.0.22",
"description": "Official Swervpay Node.JS SDK",
"license": "MIT",
"main": "./dist/index.js",
Expand Down
31 changes: 31 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,37 @@ export const CreateCollectionBodySchema = z
utility_bill: z.string(),
tax_number: z.string(),
bank_statement: z.string(),
source_of_income: z.enum([
"SALARY",
"SAVINGS",
"GIFTS",
"BUSINESS",
"INVESTMENT",
"REMITTANCE",
"OTHER",
]),
income_band: z.enum([
"UNDER_5000",
"UNDER_10000",
"UNDER_20000",
"UNDER_50000",
"ABOVE_50000",
]),
account_designation: z.enum([
"PERSONAL",
"DONATION",
"GOODS_PURCHASE",
"BUSINESS",
"INVESTMENT",
"REMITTANCE",
]),
employment_status: z.enum([
"EMPLOYED",
"SELF_EMPLOYED",
"UNEMPLOYED",
"RETIRED",
"STUDENT",
]),
address: z.object({
street: z.string(),
city: z.string(),
Expand Down

0 comments on commit c820e63

Please sign in to comment.