taxtank-core 0.13.2 → 0.13.5

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.
@@ -31,7 +31,7 @@ export declare class Collection<Model extends object> implements Iterable<Model>
31
31
  getIds(): number[];
32
32
  getBy(path: string, value: any): this;
33
33
  getByIds(ids: number[]): Model[];
34
- findBy(path: string, value: any): Model;
34
+ findBy(path: string, value: any): Model | null;
35
35
  findIndexBy(path: string, value: any): number;
36
36
  /**
37
37
  * Get total sum of items by field
@@ -5,6 +5,7 @@ export declare class AccountSetupItem {
5
5
  title: string;
6
6
  description: string;
7
7
  url: string;
8
+ urlFragment: string;
8
9
  clientIncomeTypes: string[];
9
10
  isCompleted: boolean;
10
11
  }
@@ -1,5 +1,7 @@
1
1
  import { ServicePrice as BaseServicePrice } from '../../db/Models/subscription/service-price';
2
2
  import { ServiceProduct } from './service-product';
3
+ import { ServiceSubscriptionItem } from './service-subscription-item';
3
4
  export declare class ServicePrice extends BaseServicePrice {
4
5
  product: ServiceProduct;
6
+ toSubscriptionItem(): ServiceSubscriptionItem;
5
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taxtank-core",
3
- "version": "0.13.2",
3
+ "version": "0.13.5",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^12.2.3 || ~13.0.0",
package/public-api.d.ts CHANGED
@@ -93,6 +93,7 @@ export * from './lib/db/Enums/subscription/service-payment-status.enum';
93
93
  export * from './lib/db/Enums/subscription/service-price-recurring-interval.enum';
94
94
  export * from './lib/db/Enums/subscription/service-price-type.enum';
95
95
  export * from './lib/db/Enums/subscription/service-product-status.enum';
96
+ export * from './lib/db/Enums/subscription/service-product-id.enum';
96
97
  export * from './lib/db/Enums/subscription/service-subscription-status.enum';
97
98
  export * from './lib/db/Enums/spare-document-spare-type.enum';
98
99
  export * from './lib/db/Enums/tank-type.enum';
@@ -1,5 +0,0 @@
1
- export var ServicePriceListEnum;
2
- (function (ServicePriceListEnum) {
3
- ServicePriceListEnum[ServicePriceListEnum["PROPERTIES"] = 5] = "PROPERTIES";
4
- })(ServicePriceListEnum || (ServicePriceListEnum = {}));
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS1wcmljZS1saXN0LmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvc3Vic2NyaXB0aW9uL3NlcnZpY2UtcHJpY2UtbGlzdC5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLG9CQUVYO0FBRkQsV0FBWSxvQkFBb0I7SUFDOUIsMkVBQWMsQ0FBQTtBQUNoQixDQUFDLEVBRlcsb0JBQW9CLEtBQXBCLG9CQUFvQixRQUUvQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIFNlcnZpY2VQcmljZUxpc3RFbnVtIHtcbiAgUFJPUEVSVElFUyA9IDUsXG59XG4iXX0=
@@ -1,3 +0,0 @@
1
- export declare enum ServicePriceListEnum {
2
- PROPERTIES = 5
3
- }