taxtank-core 0.32.117 → 0.32.119
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/lib/collections/holding/holding-sale.collection.mjs +2 -2
- package/esm2022/lib/db/Models/sole/sole-business.mjs +3 -3
- package/esm2022/lib/models/event/app-event-type.enum.mjs +20 -21
- package/esm2022/lib/models/vehicle/vehicle-claim-details.mjs +3 -3
- package/esm2022/lib/services/account-setup/account-setup.service.mjs +2 -2
- package/esm2022/lib/services/http/holding/holding-sale.service.mjs +1 -1
- package/esm2022/lib/services/http/holding/holding.service.mjs +2 -2
- package/esm2022/lib/services/http/income-source/income-source.service.mjs +3 -3
- package/esm2022/lib/services/http/income-source/sole-forecast/sole-forecast.service.mjs +3 -3
- package/esm2022/lib/services/http/sole/sole-business/sole-business.service.mjs +7 -11
- package/esm2022/lib/services/http/sole/sole-business-loss/sole-business-loss.service.mjs +3 -4
- package/esm2022/lib/services/http/vehicle/vehicle-claim.service.mjs +3 -2
- package/fesm2022/taxtank-core.mjs +31 -35
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/lib/db/Models/sole/sole-business.d.ts +2 -2
- package/lib/models/event/app-event-type.enum.d.ts +19 -20
- package/lib/models/vehicle/vehicle-claim-details.d.ts +1 -1
- package/lib/services/http/holding/holding-sale.service.d.ts +1 -2
- package/lib/services/http/sole/sole-business/sole-business.service.d.ts +7 -5
- package/package.json +1 -1
@@ -6,12 +6,12 @@ import { SoleInvoiceTemplate } from './sole-invoice-template';
|
|
6
6
|
import { VehicleClaim } from '../vehicle/vehicle-claim';
|
7
7
|
import { Transaction } from '../transaction/transaction';
|
8
8
|
import { Depreciation } from '../depreciation/depreciation';
|
9
|
-
import { AbstractModel } from '../abstract-model';
|
10
9
|
import { VehicleLogbook } from '../vehicle/vehicle-logbook';
|
11
10
|
import { SoleBusinessActivity } from './sole-business-activity';
|
12
11
|
import { IncomeSource } from '../incomeSource/income-source';
|
13
12
|
import { File } from '../file';
|
14
|
-
|
13
|
+
import { ObservableModel } from '../observable-model';
|
14
|
+
export declare class SoleBusiness extends ObservableModel {
|
15
15
|
name?: string;
|
16
16
|
description?: string;
|
17
17
|
website?: string;
|
@@ -41,24 +41,23 @@ export declare enum AppEventTypeEnum {
|
|
41
41
|
PROPERTY_SUBSCRIPTION_ADDED = 36,
|
42
42
|
PROPERTY_SUBSCRIPTION_DELETED = 37,
|
43
43
|
PROPERTY_VALUATION_DOCUMENT_CREATED = 38,
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED = 58
|
44
|
+
SOLE_DEPRECIATION_METHOD_UPDATED = 39,
|
45
|
+
SOLE_DETAILS_CREATED = 40,
|
46
|
+
SOLE_DETAILS_UPDATED = 41,
|
47
|
+
SOLE_INVOICE_PUBLISHED = 42,
|
48
|
+
TAX_REVIEW_UPDATED = 43,
|
49
|
+
TRANSACTION_ALLOCATION_CREATED = 44,
|
50
|
+
TRANSACTION_ALLOCATION_DELETED = 45,
|
51
|
+
TRANSACTION_CREATED = 46,
|
52
|
+
TRANSACTION_DELETED = 47,
|
53
|
+
TRANSACTION_UPDATED = 48,
|
54
|
+
TRANSACTIONS_CREATED = 49,
|
55
|
+
VEHICLE_CLAIM_UPDATED = 50,
|
56
|
+
VEHICLE_CLAIM_CREATED = 51,
|
57
|
+
VEHICLE_CLAIM_DETAILS_UPDATED = 52,
|
58
|
+
VEHICLE_CLAIM_DETAILS_CREATED = 53,
|
59
|
+
VEHICLE_LOGBOOK_CREATED = 54,
|
60
|
+
VEHICLE_LOGBOOK_UPDATED = 55,
|
61
|
+
VEHICLE_LOGBOOK_DELETED = 56,
|
62
|
+
VEHICLE_LOGBOOK_BEST_PERIOD_UPDATED = 57
|
64
63
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { VehicleClaimDetails as VehicleClaimDetailsBase } from '../../db/Models/vehicle/vehicle-claim-details';
|
2
|
-
import { User } from '../user
|
2
|
+
import { User } from '../user';
|
3
3
|
import { VehicleClaimDetailsMethodEnum } from '../../db/Enums/vehicle-claim-details-method.enum';
|
4
4
|
export declare class VehicleClaimDetails extends VehicleClaimDetailsBase {
|
5
5
|
/**
|
@@ -1,10 +1,9 @@
|
|
1
1
|
import { HoldingSale as HoldingSaleBase } from '../../../db/Models';
|
2
2
|
import { HoldingSale } from '../../../models';
|
3
3
|
import { RestMethod, RestService } from '../rest';
|
4
|
-
import { Collection } from '../../../collections';
|
5
4
|
import { HoldingSaleCollection } from '../../../collections';
|
6
5
|
import * as i0 from "@angular/core";
|
7
|
-
export declare class HoldingSaleService extends RestService<HoldingSaleBase, HoldingSale,
|
6
|
+
export declare class HoldingSaleService extends RestService<HoldingSaleBase, HoldingSale, HoldingSaleCollection> {
|
8
7
|
modelClass: typeof HoldingSale;
|
9
8
|
collectionClass: typeof HoldingSaleCollection;
|
10
9
|
endpointUri: string;
|
@@ -1,12 +1,14 @@
|
|
1
|
-
import { RestService } from '../../rest
|
1
|
+
import { RestService } from '../../rest';
|
2
2
|
import { SoleBusiness as SoleBusinessBase } from '../../../../db/Models/sole/sole-business';
|
3
3
|
import { SoleBusiness } from '../../../../models';
|
4
|
-
import {
|
4
|
+
import { Collection } from '../../../../collections';
|
5
|
+
import { UserRolesEnum } from '../../../../db/Enums/user-roles.enum';
|
5
6
|
import * as i0 from "@angular/core";
|
6
|
-
export declare class SoleBusinessService extends RestService<SoleBusinessBase, SoleBusiness
|
7
|
+
export declare class SoleBusinessService extends RestService<SoleBusinessBase, SoleBusiness, Collection<SoleBusiness>> {
|
7
8
|
modelClass: typeof SoleBusiness;
|
8
|
-
|
9
|
-
|
9
|
+
collectionClass: typeof Collection;
|
10
|
+
endpointUri: string;
|
11
|
+
roles: UserRolesEnum[];
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SoleBusinessService, never>;
|
11
13
|
static ɵprov: i0.ɵɵInjectableDeclaration<SoleBusinessService>;
|
12
14
|
}
|