taxtank-core 2.0.109 → 2.0.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/taxtank-core.mjs +25 -32
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +7 -16
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1046,7 +1046,6 @@ interface BasiqTokenResponse {
|
|
|
1046
1046
|
}
|
|
1047
1047
|
|
|
1048
1048
|
declare class BasiqUser extends AbstractModel {
|
|
1049
|
-
name: string;
|
|
1050
1049
|
externalId: string;
|
|
1051
1050
|
consentId: string;
|
|
1052
1051
|
consentExpiryDate: Date;
|
|
@@ -1817,8 +1816,6 @@ declare class ClientDetails$1 extends AbstractModel {
|
|
|
1817
1816
|
workingHolidayMaker?: ClientDetailsWorkingHolidayMakerEnum;
|
|
1818
1817
|
dateOfBirth?: Date;
|
|
1819
1818
|
isGST?: boolean;
|
|
1820
|
-
basiqConsentId?: string;
|
|
1821
|
-
basiqConsentExpiryDate?: Date;
|
|
1822
1819
|
deletedAt?: Date;
|
|
1823
1820
|
createdAt?: Date;
|
|
1824
1821
|
updatedAt?: Date;
|
|
@@ -5992,6 +5989,7 @@ declare abstract class RestService$1<BaseModel, Model extends AbstractModel, Col
|
|
|
5992
5989
|
getBy(path: string, values: any): Observable<CollectionModel>;
|
|
5993
5990
|
getFirst(): Observable<Model>;
|
|
5994
5991
|
hasInCache(id: number): boolean;
|
|
5992
|
+
fromCache(id: number): Model;
|
|
5995
5993
|
getArray(): Observable<Model[]>;
|
|
5996
5994
|
getArrayBy(path: string, values: any): Observable<Model[]>;
|
|
5997
5995
|
/**
|
|
@@ -6151,6 +6149,11 @@ declare class BankConnectionService extends RestService$1<BankConnection, BankCo
|
|
|
6151
6149
|
* POST endpoint is using for create and for update.
|
|
6152
6150
|
*/
|
|
6153
6151
|
post(bankConnection: BankConnection$1): Observable<BankConnection$1>;
|
|
6152
|
+
/**
|
|
6153
|
+
* remove basiq connection to create a new one (because basiq has no update option),
|
|
6154
|
+
* used for upgrade to openBanking and manage shared bank accounts flow
|
|
6155
|
+
*/
|
|
6156
|
+
deleteBasiq(connection: BankConnection$1): Observable<any>;
|
|
6154
6157
|
activate(bankConnection: BankConnection$1): Observable<BankConnection$1>;
|
|
6155
6158
|
deactivate(bankConnection: BankConnection$1): Observable<BankConnection$1>;
|
|
6156
6159
|
private listenNotifications;
|
|
@@ -6252,11 +6255,6 @@ declare class BasiqService extends RestService$1<BankAccount, BankAccount$1, Ban
|
|
|
6252
6255
|
* Listen events from Event Dispatcher service
|
|
6253
6256
|
*/
|
|
6254
6257
|
listenEvents(): void;
|
|
6255
|
-
/**
|
|
6256
|
-
* remove basiq connection to create a new one (because basiq has no update option),
|
|
6257
|
-
* used for upgrade to openBanking and manage shared bank accounts flow
|
|
6258
|
-
*/
|
|
6259
|
-
deleteBasiq(connection: BankConnection$1): Observable<any>;
|
|
6260
6258
|
/**
|
|
6261
6259
|
* listen to notifications to update basiq accounts list
|
|
6262
6260
|
*/
|
|
@@ -6281,19 +6279,11 @@ declare class BasiqUserService extends RestService$1<AbstractModel, BasiqUser, C
|
|
|
6281
6279
|
basiqTokenService: BasiqTokenService;
|
|
6282
6280
|
revokeConsent(): Observable<any>;
|
|
6283
6281
|
post(basiqUser?: BasiqUser): Observable<BasiqUser>;
|
|
6284
|
-
protected getWithToken(basiqUserId: number): Observable<{
|
|
6285
|
-
token: string;
|
|
6286
|
-
user: BasiqUser;
|
|
6287
|
-
}>;
|
|
6288
6282
|
retrieveJob(jobId: string, basiqUserId: number): Observable<BasiqJobResponse>;
|
|
6289
6283
|
/**
|
|
6290
6284
|
* Open basiq consent ui to allow user to log in to bank
|
|
6291
6285
|
*/
|
|
6292
6286
|
redirectToBasiqConsent(bankId: string, basiqUserId: number): Observable<void>;
|
|
6293
|
-
/**
|
|
6294
|
-
* Open basiq consent ui to allow user to manage basiq access to his bank data
|
|
6295
|
-
*/
|
|
6296
|
-
redirectToBasiqRevoke(basiqUserId: number): Observable<void>;
|
|
6297
6287
|
/**
|
|
6298
6288
|
* redirect to basiq extend consent date to prolong it
|
|
6299
6289
|
*/
|
|
@@ -11020,6 +11010,7 @@ declare class User extends ObservableModel {
|
|
|
11020
11010
|
|
|
11021
11011
|
declare class BankConnection extends ObservableModel {
|
|
11022
11012
|
static className: string;
|
|
11013
|
+
name?: string;
|
|
11023
11014
|
externalId?: string;
|
|
11024
11015
|
status?: BankConnectionStatusEnum;
|
|
11025
11016
|
user?: User;
|