taxtank-core 2.1.44 → 2.1.48
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 +107 -34
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +37 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
|
6
6
|
import { UserRolesEnum as UserRolesEnum$1, JwtService, MixpanelService } from 'taxtank-core/common';
|
|
7
7
|
import { TreeNode } from 'primeng/api';
|
|
8
8
|
import { unitOfTime } from 'moment';
|
|
9
|
+
import * as taxtank_core from 'taxtank-core';
|
|
9
10
|
import { EventInput } from '@fullcalendar/core';
|
|
10
11
|
import { DateRange as DateRange$1 } from 'moment-range';
|
|
11
12
|
import { ValidatorFn, AbstractControl, FormGroup, AbstractControlOptions, AsyncValidatorFn, FormArray, UntypedFormGroup, UntypedFormArray, FormControl, AsyncValidator, ValidationErrors, UntypedFormControl } from '@angular/forms';
|
|
@@ -407,7 +408,37 @@ declare enum BusinessChartAccountsEnum {
|
|
|
407
408
|
HOME_OFFICE_LOAN = 890,
|
|
408
409
|
HOME_OFFICE_RATES = 891,
|
|
409
410
|
HOME_OFFICE_OTHER = 894,
|
|
410
|
-
CREDIT_ADJUSTMENT = 912
|
|
411
|
+
CREDIT_ADJUSTMENT = 912,
|
|
412
|
+
PROJECT_MANAGEMENT_FEES = 933,
|
|
413
|
+
CONSULTING_FEES = 934,
|
|
414
|
+
DELIVERY_EARNINGS = 935,
|
|
415
|
+
TIPS_GRATUITIES = 936,
|
|
416
|
+
BONUSES_INCENTIVES = 937,
|
|
417
|
+
REFERRAL_BONUSES = 938,
|
|
418
|
+
FREELANCE_INCOME = 939,
|
|
419
|
+
PLATFORM_FEES_REIMBURSEMENTS = 940,
|
|
420
|
+
NDIS_PARTICIPANT_FEES = 941,
|
|
421
|
+
GOVERNMENT_NDIS_PAYMENTS = 942,
|
|
422
|
+
SUPPORT_COORDINATION_INCOME = 943,
|
|
423
|
+
ASSISTIVE_TECHNOLOGY_SALES = 944,
|
|
424
|
+
THERAPEUTIC_SUPPORTS_INCOME = 945,
|
|
425
|
+
CONSULTATION_FEES = 946,
|
|
426
|
+
BULK_BILLING_INCOME = 947,
|
|
427
|
+
MEDICARE_REBATES = 948,
|
|
428
|
+
SPECIALIST_SERVICE_FEES = 949,
|
|
429
|
+
TELEHEALTH_INCOME = 950,
|
|
430
|
+
MEDICAL_TESTING_DIAGNOSTIC_INCOME = 951,
|
|
431
|
+
ALLOWANCES_RECEIVED = 952,
|
|
432
|
+
RENTAL_INCOME = 953,
|
|
433
|
+
PROPERTY_MANAGEMENT_INCOME = 954,
|
|
434
|
+
GOVERNMENT_RENT_ASSISTANCE = 955,
|
|
435
|
+
LEASE_PAYMENTS_RECEIVED = 956,
|
|
436
|
+
CONSULTATION_CANCELLATION_FEES = 1007,
|
|
437
|
+
RECOVERIES_FROM_TENANTS = 1008,
|
|
438
|
+
RENTAL_BOND = 1009,
|
|
439
|
+
CHILDCARE_FEES = 1010,
|
|
440
|
+
GOVERNMENT_CHILDCARE_SUBSIDIES = 1011,
|
|
441
|
+
ADDITIONAL_CHILDCARE_SERVICES = 1017
|
|
411
442
|
}
|
|
412
443
|
|
|
413
444
|
declare enum ChartAccountsMetaFieldListEnum {
|
|
@@ -2532,7 +2563,7 @@ declare class User$1 extends User {
|
|
|
2532
2563
|
/**
|
|
2533
2564
|
* search roles including hierarchy
|
|
2534
2565
|
*/
|
|
2535
|
-
hasRoles(roles: UserRolesEnum$1 | UserRolesEnum$1[]): boolean;
|
|
2566
|
+
hasRoles(roles: UserRolesEnum$1 | UserRolesEnum$1[], hierarchy?: boolean): boolean;
|
|
2536
2567
|
getTankTypes(): TankTypeEnum[];
|
|
2537
2568
|
isOnboarding(): boolean;
|
|
2538
2569
|
isInactive(): boolean;
|
|
@@ -4640,7 +4671,7 @@ declare enum TransactionCategoryEnum {
|
|
|
4640
4671
|
}
|
|
4641
4672
|
|
|
4642
4673
|
declare class SoleInvoiceItem extends SoleInvoiceItem$1 {
|
|
4643
|
-
static chartAccounts: BusinessChartAccountsEnum[];
|
|
4674
|
+
static chartAccounts: taxtank_core.BusinessChartAccountsEnum[];
|
|
4644
4675
|
invoice: SoleInvoice;
|
|
4645
4676
|
chartAccounts: ChartAccounts;
|
|
4646
4677
|
transactions: Transaction[];
|
|
@@ -8421,7 +8452,8 @@ declare enum UserMessagesEnum {
|
|
|
8421
8452
|
PHOTO_UPDATED = "Profile photo updated",
|
|
8422
8453
|
USER_DATA_UPDATED = "Data was successfully updated!",
|
|
8423
8454
|
CLIENT_DETAILS_UPDATED = "Client details updated",
|
|
8424
|
-
DELETE = "
|
|
8455
|
+
DELETE = "Deleting your account is permanent. All your data will be permanently deleted, bank feeds disconnected, and access removed immediately. Once it\u2019s gone, it\u2019s gone. No take-backs. No undo.",
|
|
8456
|
+
DELETE_FIRM = "Deleting this account is permanent. All team members will be removed, client access will be revoked, and all firm data will be permanently deleted immediately. This action cannot be undone.",
|
|
8425
8457
|
PASSWORD_UPDATED = "Password changed successfully!",
|
|
8426
8458
|
PASSWORD_MISMATCH = "Your current password is wrong",
|
|
8427
8459
|
PASSWORD_ERROR = "Can not change password. Try again later"
|
|
@@ -10915,6 +10947,7 @@ declare class TransactionBaseFilterForm extends FormGroup<ITransactionBaseFilter
|
|
|
10915
10947
|
filter<ModelClass extends TransactionBase, CollectionClass extends Collection<ModelClass>>(collection: CollectionClass, excludeDate?: boolean): CollectionClass;
|
|
10916
10948
|
filterBudgetRules(rules: BudgetRuleCollection, excludeDate?: boolean): BudgetRuleCollection;
|
|
10917
10949
|
filterCalendarReminders(reminders: CalendarReminderCollection): CalendarReminderCollection;
|
|
10950
|
+
private getBusinessIds;
|
|
10918
10951
|
}
|
|
10919
10952
|
|
|
10920
10953
|
declare class DepreciationForm extends TransactionBaseForm<Depreciation> {
|