@silexpert/core 0.4.102 → 0.4.103

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 (181) hide show
  1. package/es/api/resources/FecFile.d.ts +2 -2
  2. package/es/api/resources/FecFile.d.ts.map +1 -1
  3. package/es/api/resources/FecFile.js +2 -2
  4. package/es/api/resources/FecFile.js.map +1 -1
  5. package/es/api/resources/PartneredAccountant.d.ts +4 -1
  6. package/es/api/resources/PartneredAccountant.d.ts.map +1 -1
  7. package/es/api/resources/PartneredAccountant.js +6 -0
  8. package/es/api/resources/PartneredAccountant.js.map +1 -1
  9. package/es/api/resources/Product.d.ts +10 -0
  10. package/es/api/resources/Product.d.ts.map +1 -0
  11. package/es/api/resources/Product.js +21 -0
  12. package/es/api/resources/Product.js.map +1 -0
  13. package/es/api/resources/Society.d.ts +3 -1
  14. package/es/api/resources/Society.d.ts.map +1 -1
  15. package/es/api/resources/Society.js +7 -0
  16. package/es/api/resources/Society.js.map +1 -1
  17. package/es/types/Enum/ProductType.d.ts +6 -0
  18. package/es/types/Enum/ProductType.d.ts.map +1 -0
  19. package/es/types/Enum/ProductType.js +7 -0
  20. package/es/types/Enum/ProductType.js.map +1 -0
  21. package/es/types/Enum/RegistrationSource.d.ts +5 -0
  22. package/es/types/Enum/RegistrationSource.d.ts.map +1 -0
  23. package/es/types/Enum/RegistrationSource.js +6 -0
  24. package/es/types/Enum/RegistrationSource.js.map +1 -0
  25. package/es/types/Enum/Unit.d.ts +9 -0
  26. package/es/types/Enum/Unit.d.ts.map +1 -0
  27. package/es/types/Enum/Unit.js +98 -0
  28. package/es/types/Enum/Unit.js.map +1 -0
  29. package/es/types/Interface/api/BasePaginate.d.ts +4 -0
  30. package/es/types/Interface/api/BasePaginate.d.ts.map +1 -1
  31. package/es/types/Interface/api/BasePaginate.js +27 -1
  32. package/es/types/Interface/api/BasePaginate.js.map +1 -1
  33. package/es/types/Interface/api/fecFile/QueryFecFile.d.ts +4 -0
  34. package/es/types/Interface/api/fecFile/QueryFecFile.d.ts.map +1 -0
  35. package/es/types/Interface/api/fecFile/QueryFecFile.js +17 -0
  36. package/es/types/Interface/api/fecFile/QueryFecFile.js.map +1 -0
  37. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.d.ts +26 -0
  38. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.d.ts.map +1 -0
  39. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js +96 -0
  40. package/es/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js.map +1 -0
  41. package/es/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.d.ts +6 -0
  42. package/es/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.d.ts.map +1 -0
  43. package/es/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.js +3 -0
  44. package/es/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.js.map +1 -0
  45. package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.d.ts +4 -0
  46. package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.d.ts.map +1 -0
  47. package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js +22 -0
  48. package/es/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js.map +1 -0
  49. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.d.ts +6 -0
  50. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.d.ts.map +1 -0
  51. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.js +2 -0
  52. package/es/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.js.map +1 -0
  53. package/es/types/Interface/api/product/CreateProduct.d.ts +10 -0
  54. package/es/types/Interface/api/product/CreateProduct.d.ts.map +1 -0
  55. package/es/types/Interface/api/product/CreateProduct.js +62 -0
  56. package/es/types/Interface/api/product/CreateProduct.js.map +1 -0
  57. package/es/types/Interface/api/product/QueryProduct.d.ts +5 -0
  58. package/es/types/Interface/api/product/QueryProduct.d.ts.map +1 -0
  59. package/es/types/Interface/api/product/QueryProduct.js +27 -0
  60. package/es/types/Interface/api/product/QueryProduct.js.map +1 -0
  61. package/es/types/Interface/api/product/UpdateProduct.d.ts +4 -0
  62. package/es/types/Interface/api/product/UpdateProduct.d.ts.map +1 -0
  63. package/es/types/Interface/api/product/UpdateProduct.js +4 -0
  64. package/es/types/Interface/api/product/UpdateProduct.js.map +1 -0
  65. package/es/types/Interface/api/society/CreateSociety.d.ts +5 -0
  66. package/es/types/Interface/api/society/CreateSociety.d.ts.map +1 -1
  67. package/es/types/Interface/api/society/CreateSociety.js +14 -0
  68. package/es/types/Interface/api/society/CreateSociety.js.map +1 -1
  69. package/es/types/Interface/api/society/UpdateSociety.d.ts +4 -0
  70. package/es/types/Interface/api/society/UpdateSociety.d.ts.map +1 -1
  71. package/es/types/Interface/api/society/UpdateSociety.js +6 -0
  72. package/es/types/Interface/api/society/UpdateSociety.js.map +1 -1
  73. package/es/types/Interface/models/IEstimateInvoice.d.ts +2 -4
  74. package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
  75. package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
  76. package/es/types/Interface/models/IPartneredAccountantToSociety.d.ts +12 -0
  77. package/es/types/Interface/models/IPartneredAccountantToSociety.d.ts.map +1 -0
  78. package/es/types/Interface/models/IPartneredAccountantToSociety.js +2 -0
  79. package/es/types/Interface/models/IPartneredAccountantToSociety.js.map +1 -0
  80. package/es/types/Interface/models/IPermission.d.ts +1 -1
  81. package/es/types/Interface/models/IPermission.d.ts.map +1 -1
  82. package/es/types/Interface/models/IPermission.js.map +1 -1
  83. package/es/types/Interface/models/IProduct.d.ts +6 -13
  84. package/es/types/Interface/models/IProduct.d.ts.map +1 -1
  85. package/es/types/Interface/models/IProduct.js.map +1 -1
  86. package/es/types/Interface/models/IProductInvoice.d.ts +22 -0
  87. package/es/types/Interface/models/IProductInvoice.d.ts.map +1 -0
  88. package/es/types/Interface/models/IProductInvoice.js +2 -0
  89. package/es/types/Interface/models/IProductInvoice.js.map +1 -0
  90. package/es/types/index.d.ts +13 -3
  91. package/es/types/index.d.ts.map +1 -1
  92. package/es/types/index.js +13 -3
  93. package/es/types/index.js.map +1 -1
  94. package/es/utils/validators/objectId.validator.d.ts +11 -0
  95. package/es/utils/validators/objectId.validator.d.ts.map +1 -0
  96. package/es/utils/validators/objectId.validator.js +19 -0
  97. package/es/utils/validators/objectId.validator.js.map +1 -0
  98. package/js/api/resources/FecFile.js +3 -3
  99. package/js/api/resources/FecFile.js.map +1 -1
  100. package/js/api/resources/PartneredAccountant.js +12 -0
  101. package/js/api/resources/PartneredAccountant.js.map +1 -1
  102. package/js/api/resources/Product.js +36 -0
  103. package/js/api/resources/Product.js.map +1 -0
  104. package/js/api/resources/Society.js +14 -0
  105. package/js/api/resources/Society.js.map +1 -1
  106. package/js/types/Enum/ProductType.js +13 -0
  107. package/js/types/Enum/ProductType.js.map +1 -0
  108. package/js/types/Enum/RegistrationSource.js +12 -0
  109. package/js/types/Enum/RegistrationSource.js.map +1 -0
  110. package/js/types/Enum/Unit.js +103 -0
  111. package/js/types/Enum/Unit.js.map +1 -0
  112. package/js/types/Interface/api/BasePaginate.js +25 -0
  113. package/js/types/Interface/api/BasePaginate.js.map +1 -1
  114. package/js/types/Interface/api/fecFile/QueryFecFile.js +27 -0
  115. package/js/types/Interface/api/fecFile/QueryFecFile.js.map +1 -0
  116. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js +94 -0
  117. package/js/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.js.map +1 -0
  118. package/js/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.js +10 -0
  119. package/js/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.js.map +1 -0
  120. package/js/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js +33 -0
  121. package/js/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.js.map +1 -0
  122. package/js/types/Interface/{models/IUnit.js → api/partneredAccountant/ReadPartneredAccountantSociety.js} +1 -1
  123. package/js/types/Interface/{models/IUnit.js.map → api/partneredAccountant/ReadPartneredAccountantSociety.js.map} +1 -1
  124. package/js/types/Interface/api/product/CreateProduct.js +51 -0
  125. package/js/types/Interface/api/product/CreateProduct.js.map +1 -0
  126. package/js/types/Interface/api/product/QueryProduct.js +33 -0
  127. package/js/types/Interface/api/product/QueryProduct.js.map +1 -0
  128. package/js/types/Interface/api/product/UpdateProduct.js +13 -0
  129. package/js/types/Interface/api/product/UpdateProduct.js.map +1 -0
  130. package/js/types/Interface/api/society/CreateSociety.js +16 -0
  131. package/js/types/Interface/api/society/CreateSociety.js.map +1 -1
  132. package/js/types/Interface/api/society/UpdateSociety.js +7 -1
  133. package/js/types/Interface/api/society/UpdateSociety.js.map +1 -1
  134. package/js/types/Interface/models/{IProductType.js → IPartneredAccountantToSociety.js} +1 -1
  135. package/js/types/Interface/models/{IProductType.js.map → IPartneredAccountantToSociety.js.map} +1 -1
  136. package/js/types/Interface/models/{IItemEstimate.js → IProductInvoice.js} +1 -1
  137. package/js/types/Interface/models/{IItemEstimate.js.map → IProductInvoice.js.map} +1 -1
  138. package/js/types/index.js +147 -27
  139. package/js/types/index.js.map +1 -1
  140. package/js/utils/validators/objectId.validator.js +29 -0
  141. package/js/utils/validators/objectId.validator.js.map +1 -0
  142. package/package.json +1 -1
  143. package/ts/api/resources/FecFile.ts +6 -2
  144. package/ts/api/resources/PartneredAccountant.ts +16 -0
  145. package/ts/api/resources/Product.ts +31 -0
  146. package/ts/api/resources/Society.ts +11 -0
  147. package/ts/types/Enum/ProductType.ts +5 -0
  148. package/ts/types/Enum/RegistrationSource.ts +4 -0
  149. package/ts/types/Enum/Unit.ts +105 -0
  150. package/ts/types/Interface/api/BasePaginate.ts +17 -0
  151. package/ts/types/Interface/api/fecFile/QueryFecFile.ts +6 -0
  152. package/ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.ts +68 -0
  153. package/ts/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.ts +6 -0
  154. package/ts/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.ts +11 -0
  155. package/ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.ts +4 -0
  156. package/ts/types/Interface/api/product/CreateProduct.ts +48 -0
  157. package/ts/types/Interface/api/product/QueryProduct.ts +15 -0
  158. package/ts/types/Interface/api/product/UpdateProduct.ts +3 -0
  159. package/ts/types/Interface/api/society/CreateSociety.ts +11 -0
  160. package/ts/types/Interface/api/society/UpdateSociety.ts +6 -0
  161. package/ts/types/Interface/models/IEstimateInvoice.ts +2 -4
  162. package/ts/types/Interface/models/IPartneredAccountantToSociety.ts +15 -0
  163. package/ts/types/Interface/models/IPermission.ts +1 -1
  164. package/ts/types/Interface/models/IProduct.ts +6 -13
  165. package/ts/types/Interface/models/{IItemEstimate.ts → IProductInvoice.ts} +8 -12
  166. package/ts/types/index.ts +14 -4
  167. package/ts/utils/validators/objectId.validator.ts +31 -0
  168. package/es/types/Interface/models/IItemEstimate.d.ts +0 -26
  169. package/es/types/Interface/models/IItemEstimate.d.ts.map +0 -1
  170. package/es/types/Interface/models/IItemEstimate.js +0 -2
  171. package/es/types/Interface/models/IItemEstimate.js.map +0 -1
  172. package/es/types/Interface/models/IProductType.d.ts +0 -7
  173. package/es/types/Interface/models/IProductType.d.ts.map +0 -1
  174. package/es/types/Interface/models/IProductType.js +0 -2
  175. package/es/types/Interface/models/IProductType.js.map +0 -1
  176. package/es/types/Interface/models/IUnit.d.ts +0 -8
  177. package/es/types/Interface/models/IUnit.d.ts.map +0 -1
  178. package/es/types/Interface/models/IUnit.js +0 -2
  179. package/es/types/Interface/models/IUnit.js.map +0 -1
  180. package/ts/types/Interface/models/IProductType.ts +0 -7
  181. package/ts/types/Interface/models/IUnit.ts +0 -8
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/IItemEstimate';
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,23 @@ 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';
528
534
  export * from './Interface/api/log/CreateLog';
529
535
  export * from './Interface/api/vehicle/CreateSocietyVehicle';
530
- export * from './Interface/api/vehicle/UpdateSocietyVehicle';
536
+ export * from './Interface/api/vehicle/UpdateSocietyVehicle';
537
+ export * from './Interface/api/fecFile/QueryFecFile';
538
+ export * from './Interface/api/product/CreateProduct';
539
+ export * from './Interface/api/product/UpdateProduct';
540
+ 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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IItemEstimate.js.map
@@ -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,7 +0,0 @@
1
- export interface IProductType {
2
- id?: number;
3
- name: string;
4
- createdAt?: Date | null;
5
- updatedAt?: Date | null;
6
- }
7
- //# sourceMappingURL=IProductType.d.ts.map
@@ -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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IProductType.js.map
@@ -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,8 +0,0 @@
1
- export interface IUnit {
2
- id?: number;
3
- name: string;
4
- shortName: string;
5
- createdAt?: Date | null;
6
- updatedAt?: Date | null;
7
- }
8
- //# sourceMappingURL=IUnit.d.ts.map
@@ -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,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IUnit.js.map
@@ -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"]}
@@ -1,7 +0,0 @@
1
- // typeProducts
2
- export interface IProductType {
3
- id?: number;
4
- name: string;
5
- createdAt?: Date | null;
6
- updatedAt?: Date | null;
7
- }
@@ -1,8 +0,0 @@
1
- // unities
2
- export interface IUnit {
3
- id?: number;
4
- name: string;
5
- shortName: string;
6
- createdAt?: Date | null;
7
- updatedAt?: Date | null;
8
- }