@silexpert/core 0.4.102 → 0.4.104
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/es/api/resources/FecFile.d.ts +2 -2
- package/es/api/resources/FecFile.d.ts.map +1 -1
- package/es/api/resources/FecFile.js +2 -2
- package/es/api/resources/FecFile.js.map +1 -1
- package/es/api/resources/GeneralLedger.d.ts +2 -0
- package/es/api/resources/GeneralLedger.d.ts.map +1 -1
- package/es/api/resources/GeneralLedger.js +18 -0
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/api/resources/PartneredAccountant.d.ts +6 -2
- package/es/api/resources/PartneredAccountant.d.ts.map +1 -1
- package/es/api/resources/PartneredAccountant.js +15 -3
- package/es/api/resources/PartneredAccountant.js.map +1 -1
- package/es/api/resources/Product.d.ts +10 -0
- package/es/api/resources/Product.d.ts.map +1 -0
- package/es/api/resources/Product.js +21 -0
- package/es/api/resources/Product.js.map +1 -0
- package/es/api/resources/Society.d.ts +3 -1
- package/es/api/resources/Society.d.ts.map +1 -1
- package/es/api/resources/Society.js +7 -0
- package/es/api/resources/Society.js.map +1 -1
- package/es/types/Enum/ProductType.d.ts +6 -0
- package/es/types/Enum/ProductType.d.ts.map +1 -0
- package/es/types/Enum/ProductType.js +7 -0
- package/es/types/Enum/ProductType.js.map +1 -0
- package/es/types/Enum/RegistrationSource.d.ts +5 -0
- package/es/types/Enum/RegistrationSource.d.ts.map +1 -0
- package/es/types/Enum/RegistrationSource.js +6 -0
- package/es/types/Enum/RegistrationSource.js.map +1 -0
- package/es/types/Enum/Unit.d.ts +9 -0
- package/es/types/Enum/Unit.d.ts.map +1 -0
- package/es/types/Enum/Unit.js +98 -0
- package/es/types/Enum/Unit.js.map +1 -0
- package/es/types/Interface/api/BasePaginate.d.ts +4 -0
- package/es/types/Interface/api/BasePaginate.d.ts.map +1 -1
- package/es/types/Interface/api/BasePaginate.js +27 -1
- package/es/types/Interface/api/BasePaginate.js.map +1 -1
- package/es/types/Interface/api/fecFile/QueryFecFile.d.ts +4 -0
- package/es/types/Interface/api/fecFile/QueryFecFile.d.ts.map +1 -0
- package/es/types/Interface/api/fecFile/QueryFecFile.js +17 -0
- package/es/types/Interface/api/fecFile/QueryFecFile.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.d.ts +26 -0
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.d.ts.map +1 -0
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js +96 -0
- package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.d.ts +6 -0
- package/es/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.d.ts.map +1 -0
- package/es/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.js +3 -0
- package/es/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.d.ts +4 -0
- package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.d.ts.map +1 -0
- package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js +22 -0
- package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantInvoice.d.ts +11 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantInvoice.d.ts.map +1 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantInvoice.js +2 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantInvoice.js.map +1 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.d.ts +6 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.d.ts.map +1 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.js +2 -0
- package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.js.map +1 -0
- package/es/types/Interface/api/product/CreateProduct.d.ts +10 -0
- package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -0
- package/es/types/Interface/api/product/CreateProduct.js +62 -0
- package/es/types/Interface/api/product/CreateProduct.js.map +1 -0
- package/es/types/Interface/api/product/QueryProduct.d.ts +5 -0
- package/es/types/Interface/api/product/QueryProduct.d.ts.map +1 -0
- package/es/types/Interface/api/product/QueryProduct.js +27 -0
- package/es/types/Interface/api/product/QueryProduct.js.map +1 -0
- package/es/types/Interface/api/product/UpdateProduct.d.ts +4 -0
- package/es/types/Interface/api/product/UpdateProduct.d.ts.map +1 -0
- package/es/types/Interface/api/product/UpdateProduct.js +4 -0
- package/es/types/Interface/api/product/UpdateProduct.js.map +1 -0
- package/es/types/Interface/api/society/CreateSociety.d.ts +5 -0
- package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/CreateSociety.js +14 -0
- package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/es/types/Interface/api/society/UpdateSociety.d.ts +4 -0
- package/es/types/Interface/api/society/UpdateSociety.d.ts.map +1 -1
- package/es/types/Interface/api/society/UpdateSociety.js +6 -0
- package/es/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.d.ts +2 -4
- package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
- package/es/types/Interface/models/IPartneredAccountantToSociety.d.ts +12 -0
- package/es/types/Interface/models/IPartneredAccountantToSociety.d.ts.map +1 -0
- package/es/types/Interface/models/IPartneredAccountantToSociety.js +2 -0
- package/es/types/Interface/models/IPartneredAccountantToSociety.js.map +1 -0
- package/es/types/Interface/models/IPermission.d.ts +1 -1
- package/es/types/Interface/models/IPermission.d.ts.map +1 -1
- package/es/types/Interface/models/IPermission.js.map +1 -1
- package/es/types/Interface/models/IProduct.d.ts +6 -13
- package/es/types/Interface/models/IProduct.d.ts.map +1 -1
- package/es/types/Interface/models/IProduct.js.map +1 -1
- package/es/types/Interface/models/IProductInvoice.d.ts +22 -0
- package/es/types/Interface/models/IProductInvoice.d.ts.map +1 -0
- package/es/types/Interface/models/IProductInvoice.js +2 -0
- package/es/types/Interface/models/IProductInvoice.js.map +1 -0
- package/es/types/index.d.ts +14 -3
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +14 -3
- package/es/types/index.js.map +1 -1
- package/es/utils/validators/objectId.validator.d.ts +11 -0
- package/es/utils/validators/objectId.validator.d.ts.map +1 -0
- package/es/utils/validators/objectId.validator.js +19 -0
- package/es/utils/validators/objectId.validator.js.map +1 -0
- package/js/api/resources/FecFile.js +3 -3
- package/js/api/resources/FecFile.js.map +1 -1
- package/js/api/resources/GeneralLedger.js +20 -0
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/api/resources/PartneredAccountant.js +23 -4
- package/js/api/resources/PartneredAccountant.js.map +1 -1
- package/js/api/resources/Product.js +36 -0
- package/js/api/resources/Product.js.map +1 -0
- package/js/api/resources/Society.js +14 -0
- package/js/api/resources/Society.js.map +1 -1
- package/js/types/Enum/ProductType.js +13 -0
- package/js/types/Enum/ProductType.js.map +1 -0
- package/js/types/Enum/RegistrationSource.js +12 -0
- package/js/types/Enum/RegistrationSource.js.map +1 -0
- package/js/types/Enum/Unit.js +103 -0
- package/js/types/Enum/Unit.js.map +1 -0
- package/js/types/Interface/api/BasePaginate.js +25 -0
- package/js/types/Interface/api/BasePaginate.js.map +1 -1
- package/js/types/Interface/api/fecFile/QueryFecFile.js +27 -0
- package/js/types/Interface/api/fecFile/QueryFecFile.js.map +1 -0
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js +94 -0
- package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js.map +1 -0
- package/js/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.js +10 -0
- package/js/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.js.map +1 -0
- package/js/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js +33 -0
- package/js/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js.map +1 -0
- package/js/types/Interface/{models/IUnit.js → api/partneredAccountant/ReadPartneredAccountantInvoice.js} +1 -1
- package/js/types/Interface/{models/IUnit.js.map → api/partneredAccountant/ReadPartneredAccountantInvoice.js.map} +1 -1
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.js +6 -0
- package/js/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.js.map +1 -0
- package/js/types/Interface/api/product/CreateProduct.js +51 -0
- package/js/types/Interface/api/product/CreateProduct.js.map +1 -0
- package/js/types/Interface/api/product/QueryProduct.js +33 -0
- package/js/types/Interface/api/product/QueryProduct.js.map +1 -0
- package/js/types/Interface/api/product/UpdateProduct.js +13 -0
- package/js/types/Interface/api/product/UpdateProduct.js.map +1 -0
- package/js/types/Interface/api/society/CreateSociety.js +16 -0
- package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
- package/js/types/Interface/api/society/UpdateSociety.js +7 -1
- package/js/types/Interface/api/society/UpdateSociety.js.map +1 -1
- package/js/types/Interface/models/{IProductType.js → IPartneredAccountantToSociety.js} +1 -1
- package/js/types/Interface/models/{IProductType.js.map → IPartneredAccountantToSociety.js.map} +1 -1
- package/js/types/Interface/models/{IItemEstimate.js → IProductInvoice.js} +1 -1
- package/js/types/Interface/models/{IItemEstimate.js.map → IProductInvoice.js.map} +1 -1
- package/js/types/index.js +159 -27
- package/js/types/index.js.map +1 -1
- package/js/utils/validators/objectId.validator.js +29 -0
- package/js/utils/validators/objectId.validator.js.map +1 -0
- package/package.json +1 -1
- package/ts/api/resources/FecFile.ts +6 -2
- package/ts/api/resources/GeneralLedger.ts +22 -0
- package/ts/api/resources/PartneredAccountant.ts +29 -4
- package/ts/api/resources/Product.ts +31 -0
- package/ts/api/resources/Society.ts +11 -0
- package/ts/types/Enum/ProductType.ts +5 -0
- package/ts/types/Enum/RegistrationSource.ts +4 -0
- package/ts/types/Enum/Unit.ts +105 -0
- package/ts/types/Interface/api/BasePaginate.ts +17 -0
- package/ts/types/Interface/api/fecFile/QueryFecFile.ts +6 -0
- package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.ts +68 -0
- package/ts/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.ts +6 -0
- package/ts/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.ts +11 -0
- package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantInvoice.ts +10 -0
- package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.ts +4 -0
- package/ts/types/Interface/api/product/CreateProduct.ts +48 -0
- package/ts/types/Interface/api/product/QueryProduct.ts +15 -0
- package/ts/types/Interface/api/product/UpdateProduct.ts +3 -0
- package/ts/types/Interface/api/society/CreateSociety.ts +11 -0
- package/ts/types/Interface/api/society/UpdateSociety.ts +6 -0
- package/ts/types/Interface/models/IEstimateInvoice.ts +2 -4
- package/ts/types/Interface/models/IPartneredAccountantToSociety.ts +15 -0
- package/ts/types/Interface/models/IPermission.ts +1 -1
- package/ts/types/Interface/models/IProduct.ts +6 -13
- package/ts/types/Interface/models/{IItemEstimate.ts → IProductInvoice.ts} +8 -12
- package/ts/types/index.ts +15 -4
- package/ts/utils/validators/objectId.validator.ts +31 -0
- package/es/types/Interface/models/IItemEstimate.d.ts +0 -26
- package/es/types/Interface/models/IItemEstimate.d.ts.map +0 -1
- package/es/types/Interface/models/IItemEstimate.js +0 -2
- package/es/types/Interface/models/IItemEstimate.js.map +0 -1
- package/es/types/Interface/models/IProductType.d.ts +0 -7
- package/es/types/Interface/models/IProductType.d.ts.map +0 -1
- package/es/types/Interface/models/IProductType.js +0 -2
- package/es/types/Interface/models/IProductType.js.map +0 -1
- package/es/types/Interface/models/IUnit.d.ts +0 -8
- package/es/types/Interface/models/IUnit.d.ts.map +0 -1
- package/es/types/Interface/models/IUnit.js +0 -2
- package/es/types/Interface/models/IUnit.js.map +0 -1
- package/ts/types/Interface/models/IProductType.ts +0 -7
- package/ts/types/Interface/models/IUnit.ts +0 -8
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
export interface IUnit {
|
|
2
|
+
[key: string]: {
|
|
3
|
+
id: number,
|
|
4
|
+
name: string,
|
|
5
|
+
shortName: string,
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const Unit: IUnit = {
|
|
10
|
+
ITEM: {
|
|
11
|
+
id: 1,
|
|
12
|
+
name: 'Article',
|
|
13
|
+
shortName: 'Art',
|
|
14
|
+
},
|
|
15
|
+
HOUR: {
|
|
16
|
+
id: 2,
|
|
17
|
+
name: 'Heure',
|
|
18
|
+
shortName: 'h',
|
|
19
|
+
},
|
|
20
|
+
DAY: {
|
|
21
|
+
id: 3,
|
|
22
|
+
name: 'Jour',
|
|
23
|
+
shortName: 'j',
|
|
24
|
+
},
|
|
25
|
+
KILOGRAM: {
|
|
26
|
+
id: 4,
|
|
27
|
+
name: 'Kilogramme',
|
|
28
|
+
shortName: 'kg',
|
|
29
|
+
},
|
|
30
|
+
LITER: {
|
|
31
|
+
id: 5,
|
|
32
|
+
name: 'Litre',
|
|
33
|
+
shortName: 'l',
|
|
34
|
+
},
|
|
35
|
+
KILOMETER: {
|
|
36
|
+
id: 6,
|
|
37
|
+
name: 'Kilomètres',
|
|
38
|
+
shortName: 'km',
|
|
39
|
+
},
|
|
40
|
+
HALF_DAY: {
|
|
41
|
+
id: 7,
|
|
42
|
+
name: 'Demi journée',
|
|
43
|
+
shortName: 'demi j',
|
|
44
|
+
},
|
|
45
|
+
YEAR: {
|
|
46
|
+
id: 8,
|
|
47
|
+
name: 'Année',
|
|
48
|
+
shortName: 'an',
|
|
49
|
+
},
|
|
50
|
+
WEEK: {
|
|
51
|
+
id: 9,
|
|
52
|
+
name: 'Semaine',
|
|
53
|
+
shortName: 'sem',
|
|
54
|
+
},
|
|
55
|
+
MONTH: {
|
|
56
|
+
id: 10,
|
|
57
|
+
name: 'Mois',
|
|
58
|
+
shortName: 'mois',
|
|
59
|
+
},
|
|
60
|
+
QUARTER: {
|
|
61
|
+
id: 11,
|
|
62
|
+
name: 'Trimestre',
|
|
63
|
+
shortName: 'trst,',
|
|
64
|
+
},
|
|
65
|
+
PIECE: {
|
|
66
|
+
id: 12,
|
|
67
|
+
name: 'Pièce',
|
|
68
|
+
shortName: 'p',
|
|
69
|
+
},
|
|
70
|
+
FIXED: {
|
|
71
|
+
id: 13,
|
|
72
|
+
name: 'Forfaitaire',
|
|
73
|
+
shortName: 'f',
|
|
74
|
+
},
|
|
75
|
+
SQUARE_METER: {
|
|
76
|
+
id: 14,
|
|
77
|
+
name: 'Mètre carré',
|
|
78
|
+
shortName: 'm2',
|
|
79
|
+
},
|
|
80
|
+
CUBIC_METER: {
|
|
81
|
+
id: 15,
|
|
82
|
+
name: 'Mètre cube',
|
|
83
|
+
shortName: 'm3',
|
|
84
|
+
},
|
|
85
|
+
METER: {
|
|
86
|
+
id: 16,
|
|
87
|
+
name: 'Mètre',
|
|
88
|
+
shortName: 'm',
|
|
89
|
+
},
|
|
90
|
+
SUBSCROPTION: {
|
|
91
|
+
id: 17,
|
|
92
|
+
name: 'Abonnement',
|
|
93
|
+
shortName: 'abo',
|
|
94
|
+
},
|
|
95
|
+
NIGHT: {
|
|
96
|
+
id: 18,
|
|
97
|
+
name: 'Nuitée',
|
|
98
|
+
shortName: 'nuit',
|
|
99
|
+
},
|
|
100
|
+
TON: {
|
|
101
|
+
id: 19,
|
|
102
|
+
name: 'Tonne',
|
|
103
|
+
shortName: 't',
|
|
104
|
+
},
|
|
105
|
+
};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { IsInt, IsOptional, Min } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../..';
|
|
3
|
+
|
|
1
4
|
export interface BasePaginate<T> {
|
|
2
5
|
maxPages: number;
|
|
3
6
|
currentPage: number;
|
|
@@ -9,3 +12,17 @@ export interface QueryPaginate {
|
|
|
9
12
|
page: number,
|
|
10
13
|
limit: number,
|
|
11
14
|
}
|
|
15
|
+
|
|
16
|
+
export class OptionalQueryPaginate implements QueryPaginate {
|
|
17
|
+
@ApiPropertyOptional()
|
|
18
|
+
@IsInt()
|
|
19
|
+
@Min(1)
|
|
20
|
+
@IsOptional()
|
|
21
|
+
page: number;
|
|
22
|
+
|
|
23
|
+
@ApiPropertyOptional()
|
|
24
|
+
@IsInt()
|
|
25
|
+
@Min(1)
|
|
26
|
+
@IsOptional()
|
|
27
|
+
limit: number;
|
|
28
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ApiProperty, VatRegime, FiscalRegime, ComptaType, ApiPropertyOptional, Country, Activity,
|
|
3
|
+
} from '../../../..';
|
|
4
|
+
import { AccountsSectorsEnum } from '../../../Enum/AccountsSectors';
|
|
5
|
+
import { TaxSystem } from '../../../Enum/TaxSystem';
|
|
6
|
+
import { ProfitsType } from '../../../Enum/ProfitsType';
|
|
7
|
+
|
|
8
|
+
export class CreatePartneredAccountantSociety {
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
firstname: string;
|
|
11
|
+
|
|
12
|
+
@ApiProperty()
|
|
13
|
+
lastname: string;
|
|
14
|
+
|
|
15
|
+
@ApiProperty()
|
|
16
|
+
email: string;
|
|
17
|
+
|
|
18
|
+
@ApiProperty()
|
|
19
|
+
phoneNumber: string;
|
|
20
|
+
|
|
21
|
+
@ApiProperty({ description: 'Nom de la société' })
|
|
22
|
+
name: string;
|
|
23
|
+
|
|
24
|
+
@ApiProperty()
|
|
25
|
+
idLegalForm: number;
|
|
26
|
+
|
|
27
|
+
@ApiProperty({ enum: AccountsSectorsEnum, default: AccountsSectorsEnum.DEFAULT.id })
|
|
28
|
+
idSector: number;
|
|
29
|
+
|
|
30
|
+
@ApiProperty({ enum: VatRegime })
|
|
31
|
+
idVatRegime: VatRegime;
|
|
32
|
+
|
|
33
|
+
@ApiProperty({ enum: FiscalRegime })
|
|
34
|
+
idFiscalRegime: FiscalRegime;
|
|
35
|
+
|
|
36
|
+
@ApiProperty({ enum: Activity })
|
|
37
|
+
idActivity: Activity;
|
|
38
|
+
|
|
39
|
+
@ApiProperty({ enum: TaxSystem })
|
|
40
|
+
idTaxSystem: TaxSystem;
|
|
41
|
+
|
|
42
|
+
@ApiProperty({ enum: ProfitsType })
|
|
43
|
+
idProfitsType: ProfitsType;
|
|
44
|
+
|
|
45
|
+
@ApiProperty({ description: 'Date de début de l\'exercice (format YYYY-MM-DD)' })
|
|
46
|
+
startDate: string;
|
|
47
|
+
|
|
48
|
+
@ApiProperty({ description: 'Date de fin de l\'exercice (format YYYY-MM-DD)' })
|
|
49
|
+
endDate: string;
|
|
50
|
+
|
|
51
|
+
@ApiProperty({ enum: ComptaType })
|
|
52
|
+
idComptaType: ComptaType;
|
|
53
|
+
|
|
54
|
+
@ApiPropertyOptional()
|
|
55
|
+
siret?: string | null;
|
|
56
|
+
|
|
57
|
+
@ApiPropertyOptional()
|
|
58
|
+
address?: string | null;
|
|
59
|
+
|
|
60
|
+
@ApiPropertyOptional()
|
|
61
|
+
city?: string | null;
|
|
62
|
+
|
|
63
|
+
@ApiPropertyOptional()
|
|
64
|
+
zipCode?: string | null;
|
|
65
|
+
|
|
66
|
+
@ApiPropertyOptional({ enum: Country })
|
|
67
|
+
idCountry?: Country | null;
|
|
68
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IsBoolean, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
|
+
|
|
5
|
+
export class QueryPartneredAccountantSocieties {
|
|
6
|
+
@ApiPropertyOptional({ description: 'Retourne uniquement les utilisateurs actifs / inactifs' })
|
|
7
|
+
@IsBoolean()
|
|
8
|
+
@ToBoolean()
|
|
9
|
+
@IsOptional()
|
|
10
|
+
isActive?: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IsEnum,
|
|
3
|
+
IsNumber, IsOptional, IsString, Min,
|
|
4
|
+
} from 'class-validator';
|
|
5
|
+
import { ProductType, Unit, Vat } from '../../..';
|
|
6
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
7
|
+
import { IsObjectId } from '../../../../utils/validators/objectId.validator';
|
|
8
|
+
|
|
9
|
+
export class CreateProduct {
|
|
10
|
+
@ApiProperty()
|
|
11
|
+
@IsString()
|
|
12
|
+
name: string;
|
|
13
|
+
|
|
14
|
+
@ApiProperty()
|
|
15
|
+
@IsNumber({
|
|
16
|
+
maxDecimalPlaces: 6,
|
|
17
|
+
}, {
|
|
18
|
+
message: 'Price should be a number with maximum 6 decimal',
|
|
19
|
+
})
|
|
20
|
+
@Min(0, {
|
|
21
|
+
message: 'Price should be positive',
|
|
22
|
+
})
|
|
23
|
+
priceTaxExcluded: number;
|
|
24
|
+
|
|
25
|
+
@ApiProperty()
|
|
26
|
+
@IsNumber()
|
|
27
|
+
@IsObjectId(Vat)
|
|
28
|
+
idVAT: number;
|
|
29
|
+
|
|
30
|
+
@ApiProperty()
|
|
31
|
+
@IsNumber()
|
|
32
|
+
@IsObjectId(Unit)
|
|
33
|
+
unit: number;
|
|
34
|
+
|
|
35
|
+
@ApiProperty()
|
|
36
|
+
@IsEnum(ProductType)
|
|
37
|
+
type: number;
|
|
38
|
+
|
|
39
|
+
@ApiPropertyOptional()
|
|
40
|
+
@IsString()
|
|
41
|
+
@IsOptional()
|
|
42
|
+
comment?: string;
|
|
43
|
+
|
|
44
|
+
@ApiPropertyOptional()
|
|
45
|
+
@IsString()
|
|
46
|
+
@IsOptional()
|
|
47
|
+
codeProduct?: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IsEnum, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ProductType } from '../../..';
|
|
3
|
+
import { ApiPropertyOptional } from '../../../..';
|
|
4
|
+
|
|
5
|
+
export class QueryProduct {
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
@IsOptional()
|
|
8
|
+
@IsString()
|
|
9
|
+
search?: string;
|
|
10
|
+
|
|
11
|
+
@ApiPropertyOptional()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
@IsEnum(ProductType)
|
|
14
|
+
type?: number;
|
|
15
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
import { SubscriptionType } from '../../../Enum/SubscriptionType';
|
|
3
|
+
import { RegistrationSource } from '../../../Enum/RegistrationSource';
|
|
2
4
|
|
|
3
5
|
export type AnalticsUtm = {
|
|
4
6
|
utm_source?: string;
|
|
@@ -43,6 +45,9 @@ export class CreateSociety {
|
|
|
43
45
|
@ApiPropertyOptional()
|
|
44
46
|
zipCode?: string;
|
|
45
47
|
|
|
48
|
+
@ApiPropertyOptional({ enum: RegistrationSource })
|
|
49
|
+
idSource?: RegistrationSource;
|
|
50
|
+
|
|
46
51
|
@ApiPropertyOptional()
|
|
47
52
|
analyticsUtm?: AnalticsUtm;
|
|
48
53
|
|
|
@@ -60,4 +65,10 @@ export class CreateSociety {
|
|
|
60
65
|
|
|
61
66
|
@ApiPropertyOptional()
|
|
62
67
|
idSector?: number;
|
|
68
|
+
|
|
69
|
+
@ApiPropertyOptional({ enum: SubscriptionType })
|
|
70
|
+
idSubscriptionType?: SubscriptionType;
|
|
71
|
+
|
|
72
|
+
@ApiPropertyOptional({ description: 'Identifiant de l\'Expert-Comptable partenaire' })
|
|
73
|
+
idPartneredAccountant?: number | null;
|
|
63
74
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
import { ISociety } from '../../models/ISociety';
|
|
2
3
|
|
|
3
4
|
export class UpdateSociety {
|
|
4
5
|
@ApiProperty()
|
|
@@ -42,4 +43,9 @@ export class UpdateSociety {
|
|
|
42
43
|
|
|
43
44
|
@ApiPropertyOptional()
|
|
44
45
|
confirmedAt?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export class UpdateSocietyPayload {
|
|
49
|
+
@ApiPropertyOptional()
|
|
50
|
+
society: Partial<ISociety>;
|
|
45
51
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IItemEstimate } from './IItemEstimate';
|
|
1
|
+
import { IProductInvoice } from './IProductInvoice';
|
|
3
2
|
import { IEstimateInvoiceRepeat } from './IEstimateInvoiceRepeat';
|
|
4
3
|
import { IPaymentExpectationCustomer } from './IPaymentExpectationCustomer';
|
|
5
4
|
import { IThirdParty } from './IThirdParty';
|
|
@@ -56,8 +55,7 @@ export interface IEstimateInvoice {
|
|
|
56
55
|
deletedAt?: Date | null;
|
|
57
56
|
|
|
58
57
|
// Associations
|
|
59
|
-
|
|
60
|
-
productItemsEstimates?: IItemEstimate[];
|
|
58
|
+
invoiceProducts?: IProductInvoice[];
|
|
61
59
|
estimateInvoiceEstimateInvoiceRepeat?: IEstimateInvoiceRepeat;
|
|
62
60
|
estimateInvoicePaymentExpectationCustomer?: IPaymentExpectationCustomer;
|
|
63
61
|
estimatesInvoicesThirdParty?: IThirdParty;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ISociety } from './ISociety';
|
|
2
|
+
import { IPartneredAccountant } from './IPartneredAccountant';
|
|
3
|
+
|
|
4
|
+
export interface IPartneredAccountantToSociety {
|
|
5
|
+
id?: number;
|
|
6
|
+
idPartneredAccountant: number;
|
|
7
|
+
idSociety: number;
|
|
8
|
+
|
|
9
|
+
createdAt?: number;
|
|
10
|
+
updatedAt?: number;
|
|
11
|
+
|
|
12
|
+
// Associations
|
|
13
|
+
partneredAccountant?: IPartneredAccountant;
|
|
14
|
+
society?: ISociety;
|
|
15
|
+
}
|
|
@@ -1,29 +1,22 @@
|
|
|
1
|
-
import { IEstimateInvoice } from './IEstimateInvoice';
|
|
2
1
|
import { IVat } from './IVat';
|
|
3
|
-
import { IUnit } from './IUnit';
|
|
4
|
-
import { IProductType } from './IProductType';
|
|
5
2
|
import { ISociety } from './ISociety';
|
|
6
3
|
|
|
7
4
|
// products
|
|
8
5
|
export interface IProduct {
|
|
9
6
|
id?: number;
|
|
10
7
|
name: string;
|
|
11
|
-
isFree: boolean;
|
|
12
8
|
comment: string | null;
|
|
13
9
|
codeProduct: string | null;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
priceTaxExcluded: number;
|
|
11
|
+
idVAT: number;
|
|
12
|
+
unit: number | null;
|
|
13
|
+
type: number | null;
|
|
18
14
|
idSociety: number;
|
|
19
15
|
createdAt?: Date | null;
|
|
20
16
|
updatedAt?: Date | null;
|
|
21
17
|
deletedAt?: Date | null;
|
|
22
18
|
|
|
23
19
|
// Associations
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
productUnity?: IUnit;
|
|
27
|
-
productTypeProduct?: IProductType;
|
|
28
|
-
productSociety?: ISociety;
|
|
20
|
+
vat?: IVat;
|
|
21
|
+
society?: ISociety;
|
|
29
22
|
}
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { IVat } from './IVat';
|
|
2
2
|
import { IProduct } from './IProduct';
|
|
3
|
-
import { IUnit } from './IUnit';
|
|
4
|
-
import { IProductType } from './IProductType';
|
|
5
3
|
|
|
6
4
|
// itemsEstimates
|
|
7
|
-
export interface
|
|
5
|
+
export interface IProductInvoice {
|
|
8
6
|
id?: number;
|
|
9
7
|
idEstimateInvoice: number;
|
|
10
|
-
idProduct: number;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
idProduct: number | null;
|
|
9
|
+
idVAT: number;
|
|
10
|
+
unit: number;
|
|
11
|
+
type: number;
|
|
14
12
|
itemSaleName: string | null;
|
|
15
13
|
itemCodeProduct: string | null;
|
|
16
|
-
|
|
14
|
+
priceTaxExcluded: number;
|
|
17
15
|
quantity: number;
|
|
18
16
|
discount: number | null;
|
|
19
17
|
comment: string | null;
|
|
@@ -22,8 +20,6 @@ export interface IItemEstimate {
|
|
|
22
20
|
updatedAt?: Date | null;
|
|
23
21
|
|
|
24
22
|
// Associations
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
itemsEstimatesUnity?: IUnit;
|
|
28
|
-
itemsEstimatesTypeProduct?: IProductType;
|
|
23
|
+
vat?: IVat;
|
|
24
|
+
product: IProduct;
|
|
29
25
|
}
|
package/ts/types/index.ts
CHANGED
|
@@ -97,7 +97,7 @@ export * from './Interface/models/IIndependentReview';
|
|
|
97
97
|
export * from './Interface/models/IInterestedByFeature';
|
|
98
98
|
export * from './Interface/models/IInternalEstimate';
|
|
99
99
|
export * from './Interface/models/IIpTmpBlocked';
|
|
100
|
-
export * from './Interface/models/
|
|
100
|
+
export * from './Interface/models/IProductInvoice';
|
|
101
101
|
export * from './Interface/models/IJobCategory';
|
|
102
102
|
export * from './Interface/models/IImmobilization';
|
|
103
103
|
export * from './Interface/models/IJob';
|
|
@@ -127,6 +127,7 @@ export * from './Interface/models/IPartneredAccountantService';
|
|
|
127
127
|
export * from './Interface/models/IPartneredAccountantServiceIcon';
|
|
128
128
|
export * from './Interface/models/IPartneredAccountantTag';
|
|
129
129
|
export * from './Interface/models/IPartneredAccountantToTag';
|
|
130
|
+
export * from './Interface/models/IPartneredAccountantToSociety';
|
|
130
131
|
export * from './Interface/models/IPayPlan';
|
|
131
132
|
export * from './Interface/models/IPartnerTransaction';
|
|
132
133
|
export * from './Interface/models/IPaymentDelay';
|
|
@@ -252,7 +253,6 @@ export * from './Interface/models/INotificationCodeType';
|
|
|
252
253
|
export * from './Interface/models/INotificationType';
|
|
253
254
|
export * from './Interface/models/IPartnerTransactionType';
|
|
254
255
|
export * from './Interface/models/IPenaltyType';
|
|
255
|
-
export * from './Interface/models/IProductType';
|
|
256
256
|
export * from './Interface/models/IRepeatType';
|
|
257
257
|
export * from './Interface/models/IReportType';
|
|
258
258
|
export * from './Interface/models/ISmsType';
|
|
@@ -260,7 +260,6 @@ export * from './Interface/models/IStripeEventType';
|
|
|
260
260
|
export * from './Interface/models/ISubscriptionType';
|
|
261
261
|
export * from './Interface/models/IThirdPartyType';
|
|
262
262
|
export * from './Interface/models/IVehicleType';
|
|
263
|
-
export * from './Interface/models/IUnit';
|
|
264
263
|
export * from './Interface/models/IUser';
|
|
265
264
|
export * from './Interface/models/IUserNotification';
|
|
266
265
|
export * from './Interface/models/IUserSocietyPermission';
|
|
@@ -300,6 +299,7 @@ export * from './Form/FormConnector';
|
|
|
300
299
|
|
|
301
300
|
// Enums
|
|
302
301
|
export * from './Enum/Tax';
|
|
302
|
+
export * from './Enum/RegistrationSource';
|
|
303
303
|
export * from './Enum/Log';
|
|
304
304
|
export * from './Enum/Quality';
|
|
305
305
|
export * from './Enum/Role';
|
|
@@ -366,6 +366,8 @@ export * from './Enum/BrandLegalstart';
|
|
|
366
366
|
export * from './Enum/BrandComptalib';
|
|
367
367
|
export * from './Enum/PartneredAccountantServiceState';
|
|
368
368
|
export * from './Enum/AccountsSectors';
|
|
369
|
+
export * from './Enum/ProductType';
|
|
370
|
+
export * from './Enum/Unit';
|
|
369
371
|
|
|
370
372
|
// Interfaces API
|
|
371
373
|
export * from './Interface/api/businessPartner/ReadBusinessPartner';
|
|
@@ -516,15 +518,24 @@ export * from './Interface/api/exerciceNote/CreateExerciceNote';
|
|
|
516
518
|
export * from './Interface/api/sponsorship/ReadSponsorship';
|
|
517
519
|
export * from './Interface/api/budgetInsight/UpdateBudgetPermanentToken';
|
|
518
520
|
export * from './Interface/api/partneredAccountant/ReadPartneredAccountant';
|
|
521
|
+
export * from './Interface/api/partneredAccountant/QueryPartneredAccountantSocieties';
|
|
519
522
|
export * from './Interface/api/partneredAccountant/ReadPartneredAccountantService';
|
|
520
523
|
export * from './Interface/api/partneredAccountant/QueryParteneredAccountantSoldServices';
|
|
521
524
|
export * from './Interface/api/partneredAccountant/ReadPartneredAccountantSoldServicesPaginated';
|
|
522
525
|
export * from './Interface/api/partneredAccountant/ReadPartneredAccountantRequestedService';
|
|
523
526
|
export * from './Interface/api/partneredAccountant/CreatePartneredAccountantRequestedService';
|
|
527
|
+
export * from './Interface/api/partneredAccountant/CreatePartneredAccountantSociety';
|
|
528
|
+
export * from './Interface/api/partneredAccountant/ReadPartneredAccountantSociety';
|
|
524
529
|
export * from './Interface/api/partneredAccountant/UpdatePartneredAccountantSoldService';
|
|
525
530
|
export * from './Interface/api/partneredAccountant/ReadPartneredAccountantSoldServiceStatistics';
|
|
526
531
|
export * from './Interface/api/partneredAccountant/UpdatePartneredAccountantAccess';
|
|
527
532
|
export * from './Interface/api/partneredAccountant/InvitePartneredAccountant';
|
|
533
|
+
export * from './Interface/api/partneredAccountant/CreatedPartneredAccountantSociety';
|
|
534
|
+
export * from './Interface/api/partneredAccountant/ReadPartneredAccountantInvoice';
|
|
528
535
|
export * from './Interface/api/log/CreateLog';
|
|
529
536
|
export * from './Interface/api/vehicle/CreateSocietyVehicle';
|
|
530
|
-
export * from './Interface/api/vehicle/UpdateSocietyVehicle';
|
|
537
|
+
export * from './Interface/api/vehicle/UpdateSocietyVehicle';
|
|
538
|
+
export * from './Interface/api/fecFile/QueryFecFile';
|
|
539
|
+
export * from './Interface/api/product/CreateProduct';
|
|
540
|
+
export * from './Interface/api/product/UpdateProduct';
|
|
541
|
+
export * from './Interface/api/product/QueryProduct';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { registerDecorator, ValidationArguments, ValidationOptions } from 'class-validator';
|
|
2
|
+
|
|
3
|
+
interface ObjectWithId {
|
|
4
|
+
id: number;
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
interface EnumObject {
|
|
9
|
+
[key: string]: ObjectWithId
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export function IsObjectId(property: EnumObject, validationOptions?: ValidationOptions) {
|
|
13
|
+
return function validator(object: any, propertyName: string) {
|
|
14
|
+
registerDecorator({
|
|
15
|
+
name: 'IsObjectId',
|
|
16
|
+
target: object.constructor,
|
|
17
|
+
propertyName,
|
|
18
|
+
constraints: [property],
|
|
19
|
+
options: {
|
|
20
|
+
message: `${propertyName} should be a valid id from enum`,
|
|
21
|
+
...validationOptions,
|
|
22
|
+
},
|
|
23
|
+
validator: {
|
|
24
|
+
validate(value: any, args: ValidationArguments) {
|
|
25
|
+
return typeof value === 'number'
|
|
26
|
+
&& Object.values(property).map((p) => p.id).includes(value);
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IVat } from './IVat';
|
|
2
|
-
import { IProduct } from './IProduct';
|
|
3
|
-
import { IUnit } from './IUnit';
|
|
4
|
-
import { IProductType } from './IProductType';
|
|
5
|
-
export interface IItemEstimate {
|
|
6
|
-
id?: number;
|
|
7
|
-
idEstimateInvoice: number;
|
|
8
|
-
idProduct: number;
|
|
9
|
-
idTva: number;
|
|
10
|
-
idUnity: number;
|
|
11
|
-
idTypeProduct: number;
|
|
12
|
-
itemSaleName: string | null;
|
|
13
|
-
itemCodeProduct: string | null;
|
|
14
|
-
itemSalePrice: number;
|
|
15
|
-
quantity: number;
|
|
16
|
-
discount: number | null;
|
|
17
|
-
comment: string | null;
|
|
18
|
-
reorder: number | null;
|
|
19
|
-
createdAt?: Date | null;
|
|
20
|
-
updatedAt?: Date | null;
|
|
21
|
-
itemsEstimatesTva?: IVat;
|
|
22
|
-
itemsEstimatesProduct?: IProduct;
|
|
23
|
-
itemsEstimatesUnity?: IUnit;
|
|
24
|
-
itemsEstimatesTypeProduct?: IProductType;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=IItemEstimate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IItemEstimate.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IItemEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,MAAM,WAAW,aAAa;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,iBAAiB,CAAC,EAAE,IAAI,CAAC;IACzB,qBAAqB,CAAC,EAAE,QAAQ,CAAC;IACjC,mBAAmB,CAAC,EAAE,KAAK,CAAC;IAC5B,yBAAyB,CAAC,EAAE,YAAY,CAAC;CAC1C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IItemEstimate.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IItemEstimate.ts"],"names":[],"mappings":"","sourcesContent":["import { IVat } from './IVat';\nimport { IProduct } from './IProduct';\nimport { IUnit } from './IUnit';\nimport { IProductType } from './IProductType';\n\n// itemsEstimates\nexport interface IItemEstimate {\n id?: number;\n idEstimateInvoice: number;\n idProduct: number;\n idTva: number;\n idUnity: number;\n idTypeProduct: number;\n itemSaleName: string | null;\n itemCodeProduct: string | null;\n itemSalePrice: number;\n quantity: number;\n discount: number | null;\n comment: string | null;\n reorder: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n itemsEstimatesTva?: IVat;\n itemsEstimatesProduct?: IProduct;\n itemsEstimatesUnity?: IUnit;\n itemsEstimatesTypeProduct?: IProductType;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IProductType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IProductType.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,YAAY;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IProductType.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IProductType.ts"],"names":[],"mappings":"","sourcesContent":["// typeProducts\nexport interface IProductType {\n id?: number;\n name: string;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IUnit.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IUnit.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IUnit.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IUnit.ts"],"names":[],"mappings":"","sourcesContent":["// unities\nexport interface IUnit {\n id?: number;\n name: string;\n shortName: string;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
|