taxtank-core 0.23.8 → 0.24.0

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.
@@ -10,8 +10,7 @@ export * from './client/client-income-types.form';
10
10
  export * from './login/login.form';
11
11
  export * from './register/register-client.form';
12
12
  export * from './register/register-firm.form';
13
- export * from './user/password.form';
14
- export * from './user/reset-password.form';
13
+ export * from './user';
15
14
  export * from './vehicle/vehicle.form';
16
15
  export * from './vehicle/vehicle-claim.form';
17
16
  export * from './report/my-tax';
@@ -0,0 +1,3 @@
1
+ export * from './password.form';
2
+ export * from './reset-password.form';
3
+ export * from './user-invite.form';
@@ -0,0 +1,8 @@
1
+ import { AbstractForm } from '../abstract.form';
2
+ import { RegistrationInvite } from '../../models/registration-invite/registration-invite';
3
+ /**
4
+ * Form for inviting an unregistered user
5
+ */
6
+ export declare class UserInviteForm extends AbstractForm<RegistrationInvite> {
7
+ constructor();
8
+ }
@@ -22,8 +22,7 @@ export declare class ServiceSubscription extends ServiceSubscriptionBase {
22
22
  */
23
23
  get description(): string;
24
24
  /**
25
- * This check on getIsActive need for firm. Accountant has a endDate, but user has not endDate
26
- * and for user we add check for endDate
25
+ * A subscription is considered active if the end date has not yet arrived and its status is "Active" or "Past due"
27
26
  */
28
27
  get isActive(): boolean;
29
28
  get daysRemain(): number;
@@ -62,4 +61,8 @@ export declare class ServiceSubscription extends ServiceSubscriptionBase {
62
61
  * impossible to update, only prolong or buy new
63
62
  */
64
63
  isArchived(): boolean;
64
+ /**
65
+ * Case when payment was failed, but user has a time to update payment method
66
+ */
67
+ isPastDue(): boolean;
65
68
  }
@@ -0,0 +1,13 @@
1
+ import { RestService } from '../../rest/rest.service';
2
+ import { RegistrationInvite as RegistrationInviteBase } from '../../../../db/Models/user/registration-invite';
3
+ import { RegistrationInvite } from '../../../../models/registration-invite/registration-invite';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Service to work with invitations for unregistered users
7
+ */
8
+ export declare class UsersInviteService extends RestService<RegistrationInviteBase, RegistrationInvite> {
9
+ modelClass: typeof RegistrationInvite;
10
+ url: string;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<UsersInviteService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<UsersInviteService>;
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.23.8",
3
+ "version": "0.24.0",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",
package/public-api.d.ts CHANGED
@@ -367,6 +367,7 @@ export * from './lib/services/http/user/user.service';
367
367
  export * from './lib/services/user/user-switcher.service';
368
368
  export * from './lib/services/http/user/user-event-setting/user-event-setting.service';
369
369
  export * from './lib/services/http/user/user-event-type/user-event-type.service';
370
+ export * from './lib/services/http/user/users-invite/users-invite.service';
370
371
  export * from './lib/services/http/vehicle/vehicle.service';
371
372
  export * from './lib/services/http/vehicle/vehicle-claim.service';
372
373
  export * from './lib/services/http/vehicle/vehicle-logbook.service';