asv-hlps-market 1.0.20 → 1.0.22

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.
Files changed (53) hide show
  1. package/lib/cjs/estates/Estate.d.ts +33 -0
  2. package/lib/cjs/estates/Estate.js +2 -0
  3. package/lib/cjs/estates/EstateAsset.d.ts +9 -0
  4. package/lib/cjs/estates/EstateAsset.js +2 -0
  5. package/lib/cjs/estates/EstateCat.d.ts +9 -0
  6. package/lib/cjs/estates/EstateCat.js +2 -0
  7. package/lib/cjs/estates/EstateImage.d.ts +3 -0
  8. package/lib/cjs/estates/EstateImage.js +2 -0
  9. package/lib/cjs/estates/EstateOption.d.ts +7 -0
  10. package/lib/cjs/estates/EstateOption.js +2 -0
  11. package/lib/cjs/estates/EstatePlus.d.ts +7 -0
  12. package/lib/cjs/estates/EstatePlus.js +2 -0
  13. package/lib/cjs/estates/EstateRented.d.ts +16 -0
  14. package/lib/cjs/estates/EstateRented.js +2 -0
  15. package/lib/cjs/estates/index.d.ts +7 -0
  16. package/lib/cjs/estates/index.js +2 -0
  17. package/lib/cjs/tonts/models/Tont.d.ts +29 -0
  18. package/lib/cjs/tonts/models/Tont.js +8 -0
  19. package/lib/cjs/tonts/models/TontCat.d.ts +3 -0
  20. package/lib/cjs/tonts/models/TontCat.js +2 -0
  21. package/lib/cjs/tonts/models/TontEvent.d.ts +8 -0
  22. package/lib/cjs/tonts/models/TontEvent.js +2 -0
  23. package/lib/cjs/tonts/models/TontMbr.d.ts +11 -0
  24. package/lib/cjs/tonts/models/TontMbr.js +2 -0
  25. package/lib/cjs/tonts/models/TontStatus.d.ts +3 -0
  26. package/lib/cjs/tonts/models/TontStatus.js +2 -0
  27. package/lib/esm/estates/Estate.d.ts +33 -0
  28. package/lib/esm/estates/Estate.js +1 -0
  29. package/lib/esm/estates/EstateAsset.d.ts +9 -0
  30. package/lib/esm/estates/EstateAsset.js +1 -0
  31. package/lib/esm/estates/EstateCat.d.ts +9 -0
  32. package/lib/esm/estates/EstateCat.js +1 -0
  33. package/lib/esm/estates/EstateImage.d.ts +3 -0
  34. package/lib/esm/estates/EstateImage.js +1 -0
  35. package/lib/esm/estates/EstateOption.d.ts +7 -0
  36. package/lib/esm/estates/EstateOption.js +1 -0
  37. package/lib/esm/estates/EstatePlus.d.ts +7 -0
  38. package/lib/esm/estates/EstatePlus.js +1 -0
  39. package/lib/esm/estates/EstateRented.d.ts +16 -0
  40. package/lib/esm/estates/EstateRented.js +1 -0
  41. package/lib/esm/estates/index.d.ts +7 -0
  42. package/lib/esm/estates/index.js +1 -0
  43. package/lib/esm/tonts/models/Tont.d.ts +29 -0
  44. package/lib/esm/tonts/models/Tont.js +5 -0
  45. package/lib/esm/tonts/models/TontCat.d.ts +3 -0
  46. package/lib/esm/tonts/models/TontCat.js +1 -0
  47. package/lib/esm/tonts/models/TontEvent.d.ts +8 -0
  48. package/lib/esm/tonts/models/TontEvent.js +1 -0
  49. package/lib/esm/tonts/models/TontMbr.d.ts +11 -0
  50. package/lib/esm/tonts/models/TontMbr.js +1 -0
  51. package/lib/esm/tonts/models/TontStatus.d.ts +3 -0
  52. package/lib/esm/tonts/models/TontStatus.js +1 -0
  53. package/package.json +2 -2
@@ -0,0 +1,33 @@
1
+ import Currency from "asv-hlps/lib/cjs/cashs/models/Currency";
2
+ import EstateCat from "asv-hlps/lib/cjs/estates/models/EstateCat";
3
+ import EstatePor from "asv-hlps/lib/cjs/estates/models/EstatePor";
4
+ import City from "asv-hlps/lib/cjs/world/models/City";
5
+ import Quarter from "asv-hlps/lib/cjs/world/models/Quarter";
6
+ import { Shop } from "../shops/models/Shop";
7
+ import EstateAsset from "./EstateAsset";
8
+ import EstateImage from "./EstateImage";
9
+ import EstatePlus from "./EstatePlus";
10
+ export default interface Estate {
11
+ id: number;
12
+ createdAt: Date;
13
+ ref: string;
14
+ title: string;
15
+ description: string;
16
+ registre: string;
17
+ address: string;
18
+ nbOfPieces: string;
19
+ price: string;
20
+ pricePeriod: string;
21
+ currency: Currency;
22
+ cp: number;
23
+ isActive: boolean;
24
+ cat: EstateCat;
25
+ status: EstatePor;
26
+ city: City;
27
+ quarter: Quarter;
28
+ assets: EstateAsset[];
29
+ images: EstateImage[];
30
+ plus: EstatePlus[];
31
+ shop: Shop;
32
+ views: number;
33
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import EstateElt from "asv-hlps/lib/cjs/estates/models/EstateElt";
2
+ export default interface EstateAsset {
3
+ id: number;
4
+ name: string;
5
+ code: string;
6
+ elt: EstateElt;
7
+ qtity: number;
8
+ size: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import Estate from "./Estate";
2
+ export default interface EstateCat {
3
+ id: number;
4
+ name: string;
5
+ code: string;
6
+ iconName: string;
7
+ iconPack: string;
8
+ estates: Estate[];
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { Image } from "asv-hlps/lib/cjs/shared/models/Image";
2
+ export default interface EstateImage extends Image {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export default interface EstateOption {
2
+ id: number;
3
+ name: string;
4
+ code: string;
5
+ iconName: string;
6
+ iconPack: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import Estate from "./Estate";
2
+ import EstateOption from "./EstateOption";
3
+ export default interface EstatePlus {
4
+ id: number;
5
+ estate: Estate;
6
+ option: EstateOption;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ import User from "../users/models/User";
2
+ import Estate from "./Estate";
3
+ export default interface EstateRented {
4
+ createdAt: Date;
5
+ dateIn: Date;
6
+ dateOut: Date;
7
+ deposit: number;
8
+ encoder: User;
9
+ estate: Estate;
10
+ id: number;
11
+ lodger: User;
12
+ paymentDay: number;
13
+ prepaid: number;
14
+ price: number;
15
+ restOnPrepaid: number;
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ export { default as Estate } from "./Estate";
2
+ export { default as EstateAsset } from "./EstateAsset";
3
+ export { default as EstateCat } from "./EstateCat";
4
+ export { default as EstateImage } from "./EstateImage";
5
+ export { default as EstateOption } from "./EstateOption";
6
+ export { default as EstatePlus } from "./EstatePlus";
7
+ export { default as EstateRented } from "./EstateRented";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ import EDatePeriodicity from "asv-hlps/lib/cjs/shared/models/EDatePeriodicity";
2
+ import User from "../../users/models/User";
3
+ import { TontCat } from "./TontCat";
4
+ import { TontMbr } from "./TontMbr";
5
+ export declare enum TontStatus {
6
+ PRIVATE = "private",
7
+ PUBLIC = "public"
8
+ }
9
+ export interface Tont {
10
+ id: number;
11
+ createdAt: Date;
12
+ updatedAt: Date;
13
+ ref: string;
14
+ name: string;
15
+ status: TontStatus;
16
+ startDate: Date;
17
+ closeDate: Date;
18
+ baseBet: number;
19
+ periodicity: EDatePeriodicity;
20
+ limitMbr: number;
21
+ isActive: boolean;
22
+ endDate: Date;
23
+ code: string;
24
+ participants: number;
25
+ contribution: number;
26
+ cat: TontCat;
27
+ author: User;
28
+ mbrs: TontMbr[];
29
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TontStatus = void 0;
4
+ var TontStatus;
5
+ (function (TontStatus) {
6
+ TontStatus["PRIVATE"] = "private";
7
+ TontStatus["PUBLIC"] = "public";
8
+ })(TontStatus || (exports.TontStatus = TontStatus = {}));
@@ -0,0 +1,3 @@
1
+ import NaCoAc from "asv-hlps/lib/cjs/shared/models/NaCoAc";
2
+ export interface TontCat extends NaCoAc {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import { Tont } from "./Tont";
2
+ export interface TontEvent {
3
+ id: number;
4
+ isValided: boolean;
5
+ tont: Tont;
6
+ updatedAt: Date;
7
+ validedDate: Date;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import User from "../../users/models/User";
2
+ import { Tont } from "./Tont";
3
+ export interface TontMbr {
4
+ id: number;
5
+ code: string;
6
+ collect: number;
7
+ fullname: string;
8
+ mbr: User;
9
+ position: number;
10
+ tont: Tont;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import NaCoAc from "asv-hlps/lib/cjs/shared/models/NaCoAc";
2
+ export interface TontStatus extends NaCoAc {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,33 @@
1
+ import Currency from "asv-hlps/lib/cjs/cashs/models/Currency";
2
+ import EstateCat from "asv-hlps/lib/cjs/estates/models/EstateCat";
3
+ import EstatePor from "asv-hlps/lib/cjs/estates/models/EstatePor";
4
+ import City from "asv-hlps/lib/cjs/world/models/City";
5
+ import Quarter from "asv-hlps/lib/cjs/world/models/Quarter";
6
+ import { Shop } from "../shops/models/Shop";
7
+ import EstateAsset from "./EstateAsset";
8
+ import EstateImage from "./EstateImage";
9
+ import EstatePlus from "./EstatePlus";
10
+ export default interface Estate {
11
+ id: number;
12
+ createdAt: Date;
13
+ ref: string;
14
+ title: string;
15
+ description: string;
16
+ registre: string;
17
+ address: string;
18
+ nbOfPieces: string;
19
+ price: string;
20
+ pricePeriod: string;
21
+ currency: Currency;
22
+ cp: number;
23
+ isActive: boolean;
24
+ cat: EstateCat;
25
+ status: EstatePor;
26
+ city: City;
27
+ quarter: Quarter;
28
+ assets: EstateAsset[];
29
+ images: EstateImage[];
30
+ plus: EstatePlus[];
31
+ shop: Shop;
32
+ views: number;
33
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ import EstateElt from "asv-hlps/lib/cjs/estates/models/EstateElt";
2
+ export default interface EstateAsset {
3
+ id: number;
4
+ name: string;
5
+ code: string;
6
+ elt: EstateElt;
7
+ qtity: number;
8
+ size: string;
9
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ import Estate from "./Estate";
2
+ export default interface EstateCat {
3
+ id: number;
4
+ name: string;
5
+ code: string;
6
+ iconName: string;
7
+ iconPack: string;
8
+ estates: Estate[];
9
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import { Image } from "asv-hlps/lib/cjs/shared/models/Image";
2
+ export default interface EstateImage extends Image {
3
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export default interface EstateOption {
2
+ id: number;
3
+ name: string;
4
+ code: string;
5
+ iconName: string;
6
+ iconPack: string;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ import Estate from "./Estate";
2
+ import EstateOption from "./EstateOption";
3
+ export default interface EstatePlus {
4
+ id: number;
5
+ estate: Estate;
6
+ option: EstateOption;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,16 @@
1
+ import User from "../users/models/User";
2
+ import Estate from "./Estate";
3
+ export default interface EstateRented {
4
+ createdAt: Date;
5
+ dateIn: Date;
6
+ dateOut: Date;
7
+ deposit: number;
8
+ encoder: User;
9
+ estate: Estate;
10
+ id: number;
11
+ lodger: User;
12
+ paymentDay: number;
13
+ prepaid: number;
14
+ price: number;
15
+ restOnPrepaid: number;
16
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export { default as Estate } from "./Estate";
2
+ export { default as EstateAsset } from "./EstateAsset";
3
+ export { default as EstateCat } from "./EstateCat";
4
+ export { default as EstateImage } from "./EstateImage";
5
+ export { default as EstateOption } from "./EstateOption";
6
+ export { default as EstatePlus } from "./EstatePlus";
7
+ export { default as EstateRented } from "./EstateRented";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,29 @@
1
+ import EDatePeriodicity from "asv-hlps/lib/cjs/shared/models/EDatePeriodicity";
2
+ import User from "../../users/models/User";
3
+ import { TontCat } from "./TontCat";
4
+ import { TontMbr } from "./TontMbr";
5
+ export declare enum TontStatus {
6
+ PRIVATE = "private",
7
+ PUBLIC = "public"
8
+ }
9
+ export interface Tont {
10
+ id: number;
11
+ createdAt: Date;
12
+ updatedAt: Date;
13
+ ref: string;
14
+ name: string;
15
+ status: TontStatus;
16
+ startDate: Date;
17
+ closeDate: Date;
18
+ baseBet: number;
19
+ periodicity: EDatePeriodicity;
20
+ limitMbr: number;
21
+ isActive: boolean;
22
+ endDate: Date;
23
+ code: string;
24
+ participants: number;
25
+ contribution: number;
26
+ cat: TontCat;
27
+ author: User;
28
+ mbrs: TontMbr[];
29
+ }
@@ -0,0 +1,5 @@
1
+ export var TontStatus;
2
+ (function (TontStatus) {
3
+ TontStatus["PRIVATE"] = "private";
4
+ TontStatus["PUBLIC"] = "public";
5
+ })(TontStatus || (TontStatus = {}));
@@ -0,0 +1,3 @@
1
+ import NaCoAc from "asv-hlps/lib/cjs/shared/models/NaCoAc";
2
+ export interface TontCat extends NaCoAc {
3
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ import { Tont } from "./Tont";
2
+ export interface TontEvent {
3
+ id: number;
4
+ isValided: boolean;
5
+ tont: Tont;
6
+ updatedAt: Date;
7
+ validedDate: Date;
8
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ import User from "../../users/models/User";
2
+ import { Tont } from "./Tont";
3
+ export interface TontMbr {
4
+ id: number;
5
+ code: string;
6
+ collect: number;
7
+ fullname: string;
8
+ mbr: User;
9
+ position: number;
10
+ tont: Tont;
11
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ import NaCoAc from "asv-hlps/lib/cjs/shared/models/NaCoAc";
2
+ export interface TontStatus extends NaCoAc {
3
+ }
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asv-hlps-market",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",
@@ -19,6 +19,6 @@
19
19
  "typescript": "^5.8.3"
20
20
  },
21
21
  "dependencies": {
22
- "asv-hlps": "^1.4.32"
22
+ "asv-hlps": "^1.4.35"
23
23
  }
24
24
  }