taxtank-core 0.33.92 → 0.33.93
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/esm2022/src/lib/db/Models/depreciation/depreciation.mjs +7 -1
- package/esm2022/src/lib/forms/aussie/aussie-appointment.form.mjs +19 -0
- package/esm2022/src/lib/forms/aussie/aussie-confirmation.form.mjs +12 -0
- package/esm2022/src/lib/forms/aussie/aussie-store.form.mjs +1 -2
- package/esm2022/src/lib/forms/aussie/index.mjs +3 -1
- package/esm2022/src/lib/forms/bank/bank-account/bank-accounts-import.form.mjs +4 -4
- package/esm2022/src/lib/forms/depreciation/depreciation.form.mjs +16 -7
- package/esm2022/src/lib/forms/property/property-sale/property-sale-cost-base.form.mjs +2 -3
- package/esm2022/src/lib/forms/property/property-sale/property-sale-cost-sale.form.mjs +2 -2
- package/esm2022/src/lib/models/aussie/aussie-appointment.mjs +11 -1
- package/esm2022/src/lib/models/aussie/aussie-broker.mjs +6 -2
- package/esm2022/src/lib/models/date-range.mjs +10 -0
- package/esm2022/src/lib/models/depreciation/depreciation.mjs +4 -1
- package/esm2022/src/lib/models/holding/holding-trade-import.mjs +1 -1
- package/esm2022/src/lib/models/index.mjs +2 -1
- package/esm2022/src/lib/services/http/aussie/aussie.service.mjs +13 -6
- package/esm2022/src/lib/services/http/holding/holding-trade-import/holding-trade-import-messages.enum.mjs +1 -2
- package/esm2022/src/lib/services/http/holding/holding-trade-import/holding-trade-import.service.mjs +1 -9
- package/esm2022/src/lib/validators/phone-number.validator.mjs +1 -1
- package/fesm2022/taxtank-core.mjs +96 -34
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/db/Models/depreciation/depreciation.d.ts +1 -0
- package/src/lib/forms/aussie/aussie-appointment.form.d.ts +9 -0
- package/src/lib/forms/aussie/aussie-confirmation.form.d.ts +6 -0
- package/src/lib/forms/aussie/aussie-store.form.d.ts +0 -1
- package/src/lib/forms/aussie/index.d.ts +2 -0
- package/src/lib/forms/depreciation/depreciation.form.d.ts +1 -0
- package/src/lib/forms/property/property-sale/property-sale-cost-base.form.d.ts +1 -2
- package/src/lib/forms/property/property-sale/property-sale-cost-sale.form.d.ts +2 -3
- package/src/lib/models/aussie/aussie-appointment.d.ts +2 -2
- package/src/lib/models/aussie/aussie-broker.d.ts +2 -2
- package/src/lib/models/date-range.d.ts +8 -0
- package/src/lib/models/depreciation/depreciation.d.ts +1 -0
- package/src/lib/models/holding/holding-trade-import.d.ts +0 -1
- package/src/lib/models/index.d.ts +1 -0
- package/src/lib/services/http/aussie/aussie.service.d.ts +4 -0
- package/src/lib/services/http/holding/holding-trade-import/holding-trade-import-messages.enum.d.ts +1 -2
package/package.json
CHANGED
@@ -0,0 +1,9 @@
|
|
1
|
+
import { AbstractForm } from '../abstract.form';
|
2
|
+
import { AussieAppointment } from '../../models';
|
3
|
+
import { AussieService } from '../../services';
|
4
|
+
export declare class AussieAppointmentForm extends AbstractForm<AussieAppointment> {
|
5
|
+
private appointment;
|
6
|
+
private aussieService;
|
7
|
+
constructor(appointment: AussieAppointment, aussieService: AussieService);
|
8
|
+
submit(data?: object, includeDisabledFields?: boolean): AussieAppointment;
|
9
|
+
}
|
@@ -4,7 +4,6 @@ import { AussieService } from '../../services';
|
|
4
4
|
import { IEventListener } from '../../interfaces';
|
5
5
|
export declare class AussieStoreForm extends AbstractForm<AussieAppointment> implements IEventListener {
|
6
6
|
private aussieService;
|
7
|
-
excludeExtraneousValues: boolean;
|
8
7
|
constructor(appointment: AussieAppointment, aussieService: AussieService);
|
9
8
|
listenEvents(): void;
|
10
9
|
get store(): AussieStore;
|
@@ -2,5 +2,6 @@ import { TransactionBaseForm } from '../transaction';
|
|
2
2
|
import { Depreciation } from '../../models';
|
3
3
|
export declare class DepreciationForm extends TransactionBaseForm<Depreciation> {
|
4
4
|
constructor(depreciation: Depreciation, registeredForGst: boolean);
|
5
|
+
watchChartAccounts(): void;
|
5
6
|
submit(data?: object, includeDisabledFields?: boolean): Depreciation;
|
6
7
|
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { AbstractForm } from '../../abstract.form';
|
2
|
-
import { PropertySale, PropertySaleCostBase } from '../../../models
|
3
|
-
import { Property } from '../../../models/property/property';
|
2
|
+
import { Property, PropertySale, PropertySaleCostBase } from '../../../models';
|
4
3
|
/**
|
5
4
|
* @Todo TT-2143 remove Property stuff and use this form just for PropertySale
|
6
5
|
* @Todo TT-2143 create and extend from abstract PropertySale form
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { AbstractForm } from '../../abstract.form';
|
2
|
-
import { PropertySale } from '../../../models
|
3
|
-
import {
|
4
|
-
import { IEventListener } from '../../../interfaces/event-listener.interface';
|
2
|
+
import { Property, PropertySale } from '../../../models';
|
3
|
+
import { IEventListener } from '../../../interfaces';
|
5
4
|
/**
|
6
5
|
* @Todo TT-2143 Create and extend from abstract PropertySale form
|
7
6
|
*/
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { DateRange } from 'moment-range';
|
2
1
|
import { AussieStore } from './aussie-store';
|
3
2
|
import { AbstractModel } from '../../db/Models';
|
3
|
+
import { DateRange } from '../date-range';
|
4
4
|
export declare class AussieAppointment extends AbstractModel {
|
5
5
|
store: AussieStore;
|
6
|
-
|
6
|
+
phone: string;
|
7
7
|
timeslot: DateRange;
|
8
8
|
interactionType: 'Phone' | 'Video';
|
9
9
|
otp: number;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { AbstractModel } from '../../db/Models';
|
2
|
-
import { DateRange } from '
|
2
|
+
import { DateRange } from '../date-range';
|
3
3
|
export declare class AussieBroker extends AbstractModel {
|
4
4
|
name: string;
|
5
5
|
imageUrl: string;
|
6
6
|
availability: Date[];
|
7
|
-
timeslotsByDay: Record<string, DateRange>;
|
7
|
+
timeslotsByDay: Record<string, DateRange[]>;
|
8
8
|
getTimeslotsByDay(): Record<string, DateRange[]>;
|
9
9
|
}
|
@@ -14,6 +14,7 @@ export declare class Depreciation extends DepreciationBase implements Expense {
|
|
14
14
|
static lowValuePoolThreshold: number;
|
15
15
|
purchaseDate: Date;
|
16
16
|
date: Date;
|
17
|
+
claimStartDate: Date;
|
17
18
|
lowValuePoolDate: Date;
|
18
19
|
writeOffManualDate: Date;
|
19
20
|
writeOffDate: Date;
|
@@ -1,15 +1,19 @@
|
|
1
1
|
import { AussieStore, AussieStoreInterface } from '../../../models';
|
2
2
|
import { RestMethod, RestService } from '../rest';
|
3
3
|
import { Collection } from '../../../collections';
|
4
|
+
import { Observable } from 'rxjs';
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
/**
|
6
7
|
* Service that handling banks logic
|
7
8
|
*/
|
8
9
|
export declare class AussieService extends RestService<AussieStoreInterface, AussieStore, Collection<AussieStore>> {
|
10
|
+
protected environment: any;
|
9
11
|
modelClass: typeof AussieStore;
|
10
12
|
collectionClass: typeof Collection;
|
11
13
|
endpointUri: string;
|
12
14
|
disabledMethods: RestMethod[];
|
15
|
+
constructor(environment: any);
|
16
|
+
postAppointment(): Observable<any>;
|
13
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AussieService, never>;
|
14
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<AussieService>;
|
15
19
|
}
|
package/src/lib/services/http/holding/holding-trade-import/holding-trade-import-messages.enum.d.ts
CHANGED
@@ -3,6 +3,5 @@ export declare enum HoldingTradeImportMessagesEnum {
|
|
3
3
|
UPDATED = "Import updated successfully",
|
4
4
|
CONFIRM_DELETE = "Are you sure you want to delete this import?",
|
5
5
|
DELETED = "Import deleted successfully",
|
6
|
-
DELETE_ERROR = "Import including sold assets can not be deleted"
|
7
|
-
SKIPPED = "We were unable to match these tickers: %list%. Please check and try again, or contact support for assistance."
|
6
|
+
DELETE_ERROR = "Import including sold assets can not be deleted"
|
8
7
|
}
|