diff --git a/package-lock.json b/package-lock.json index fa6ef89b..c04b28c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@unit-finance/unit-node-sdk", - "version": "1.3.4", + "version": "1.3.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@unit-finance/unit-node-sdk", - "version": "1.3.4", + "version": "1.3.5", "license": "MPLv2", "dependencies": { "axios": "^1.8.4" diff --git a/package.json b/package.json index 48d7e6dd..5e0facd5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@unit-finance/unit-node-sdk", - "version": "1.3.4", + "version": "1.3.5", "description": "", "main": "dist/unit.js", "types": "dist/unit.d.ts", diff --git a/tests/orgTokens.spec.ts b/tests/orgTokens.spec.ts index f3150ec4..28a274db 100644 --- a/tests/orgTokens.spec.ts +++ b/tests/orgTokens.spec.ts @@ -14,7 +14,7 @@ describe("Create API Tokens", () => { "attributes": { "description": "test token", "scope": "customers applications", - "expiration": "2025-09-01T13:47:17.000Z", + "expiration": "2026-09-01T13:47:17.000Z", "resources": [resource] } } diff --git a/types/applicationForm.ts b/types/applicationForm.ts index 56a31676..7a6e23c9 100644 --- a/types/applicationForm.ts +++ b/types/applicationForm.ts @@ -346,47 +346,47 @@ export interface ApplicationFormSettingsOverride { /** * URL that is presented to the user when an application has been submitted */ - redirectUrl: string + redirectUrl?: string /** * Privacy Policy */ - privacyPolicyUrl: string + privacyPolicyUrl?: string /** * Consent to Electronic Disclosures */ - electronicDisclosuresUrl: string + electronicDisclosuresUrl?: string /** * Deposit Terms & Conditions */ - depositTermsUrl: string + depositTermsUrl?: string /** * Client Terms of Service */ - clientTermsUrl: string + clientTermsUrl?: string /** * Cardholder Terms and Conditions */ - cardholderTermsUrl: string + cardholderTermsUrl?: string /** * Cash Advance Terms and Conditions */ - cashAdvancedTermsUrl: string + cashAdvancedTermsUrl?: string /** * Debit Card Disclosure */ - debitCardDisclosureUrl: string + debitCardDisclosureUrl?: string /** * Array of additional disclosures that were not covered by the above links */ - additionalDisclosures: Record[] + additionalDisclosures?: Record[] /** * Optional. If true, the applicant will be required to complete the selfie verification process when an ID document is required.