@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreatePartneredAccountantSociety.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/partneredAccountant/CreatePartneredAccountantSociety.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,mBAAmB,EAAE,OAAO,EAAE,QAAQ,GACzF,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,MAAM,OAAO,gCAAgC;CA4D5C;AA1DC;IADC,WAAW,EAAE;;mEACI;AAGlB;IADC,WAAW,EAAE;;kEACG;AAGjB;IADC,WAAW,EAAE;;+DACA;AAGd;IADC,WAAW,EAAE;;qEACM;AAGpB;IADC,WAAW,CAAC,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC;;8DACrC;AAGb;IADC,WAAW,EAAE;;qEACM;AAGpB;IADC,WAAW,CAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,EAAE,mBAAmB,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;;kEACnE;AAGjB;IADC,WAAW,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;qEACV;AAGvB;IADC,WAAW,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;;wEACP;AAG7B;IADC,WAAW,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;oEACX;AAGrB;IADC,WAAW,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;qEACV;AAGvB;IADC,WAAW,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;;uEACR;AAG3B;IADC,WAAW,CAAC,EAAE,WAAW,EAAE,kDAAkD,EAAE,CAAC;;mEAC/D;AAGlB;IADC,WAAW,CAAC,EAAE,WAAW,EAAE,gDAAgD,EAAE,CAAC;;iEAC/D;AAGhB;IADC,WAAW,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;;sEACT;AAGzB;IADC,mBAAmB,EAAE;;+DACA;AAGtB;IADC,mBAAmB,EAAE;;iEACE;AAGxB;IADC,mBAAmB,EAAE;;8DACD;AAGrB;IADC,mBAAmB,EAAE;;iEACE;AAGxB;IADC,mBAAmB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;mEACZ","sourcesContent":["import {\n ApiProperty, VatRegime, FiscalRegime, ComptaType, ApiPropertyOptional, Country, Activity,\n} from '../../../..';\nimport { AccountsSectorsEnum } from '../../../Enum/AccountsSectors';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { ProfitsType } from '../../../Enum/ProfitsType';\n\nexport class CreatePartneredAccountantSociety {\n @ApiProperty()\n firstname: string;\n\n @ApiProperty()\n lastname: string;\n\n @ApiProperty()\n email: string;\n\n @ApiProperty()\n phoneNumber: string;\n\n @ApiProperty({ description: 'Nom de la société' })\n name: string;\n\n @ApiProperty()\n idLegalForm: number;\n\n @ApiProperty({ enum: AccountsSectorsEnum, default: AccountsSectorsEnum.DEFAULT.id })\n idSector: number;\n\n @ApiProperty({ enum: VatRegime })\n idVatRegime: VatRegime;\n\n @ApiProperty({ enum: FiscalRegime })\n idFiscalRegime: FiscalRegime;\n\n @ApiProperty({ enum: Activity })\n idActivity: Activity;\n\n @ApiProperty({ enum: TaxSystem })\n idTaxSystem: TaxSystem;\n\n @ApiProperty({ enum: ProfitsType })\n idProfitsType: ProfitsType;\n\n @ApiProperty({ description: 'Date de début de l\\'exercice (format YYYY-MM-DD)' })\n startDate: string;\n\n @ApiProperty({ description: 'Date de fin de l\\'exercice (format YYYY-MM-DD)' })\n endDate: string;\n\n @ApiProperty({ enum: ComptaType })\n idComptaType: ComptaType;\n\n @ApiPropertyOptional()\n siret?: string | null;\n\n @ApiPropertyOptional()\n address?: string | null;\n\n @ApiPropertyOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n zipCode?: string | null;\n\n @ApiPropertyOptional({ enum: Country })\n idCountry?: Country | null;\n}"]}
@@ -0,0 +1,6 @@
1
+ import { IUser, ISociety } from '../../..';
2
+ export declare class CreatedPartneredAccountantSociety {
3
+ society: ISociety;
4
+ user: IUser;
5
+ }
6
+ //# sourceMappingURL=CreatedPartneredAccountantSociety.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreatedPartneredAccountantSociety.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE3C,qBAAa,iCAAiC;IAC5C,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC;CACb"}
@@ -0,0 +1,3 @@
1
+ export class CreatedPartneredAccountantSociety {
2
+ }
3
+ //# sourceMappingURL=CreatedPartneredAccountantSociety.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreatedPartneredAccountantSociety.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/partneredAccountant/CreatedPartneredAccountantSociety.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,iCAAiC;CAG7C","sourcesContent":["import { IUser, ISociety } from '../../..';\n\nexport class CreatedPartneredAccountantSociety {\n society: ISociety;\n user: IUser;\n}"]}
@@ -0,0 +1,4 @@
1
+ export declare class QueryPartneredAccountantSocieties {
2
+ isActive?: boolean;
3
+ }
4
+ //# sourceMappingURL=QueryPartneredAccountantSocieties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryPartneredAccountantSocieties.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.ts"],"names":[],"mappings":"AAIA,qBAAa,iCAAiC;IAK5C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
@@ -0,0 +1,22 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { IsBoolean, IsOptional } from 'class-validator';
11
+ import { ApiPropertyOptional } from '../../../../utils';
12
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
+ export class QueryPartneredAccountantSocieties {
14
+ }
15
+ __decorate([
16
+ ApiPropertyOptional({ description: 'Retourne uniquement les utilisateurs actifs / inactifs' }),
17
+ IsBoolean(),
18
+ ToBoolean(),
19
+ IsOptional(),
20
+ __metadata("design:type", Boolean)
21
+ ], QueryPartneredAccountantSocieties.prototype, "isActive", void 0);
22
+ //# sourceMappingURL=QueryPartneredAccountantSocieties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryPartneredAccountantSocieties.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/partneredAccountant/QueryPartneredAccountantSocieties.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,iCAAiC;CAM7C;AADC;IAJC,mBAAmB,CAAC,EAAE,WAAW,EAAE,wDAAwD,EAAE,CAAC;IAC9F,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;mEACM","sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPartneredAccountantSocieties {\n @ApiPropertyOptional({ description: 'Retourne uniquement les utilisateurs actifs / inactifs' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isActive?: boolean;\n}"]}
@@ -0,0 +1,6 @@
1
+ import { ISociety } from '../../models/ISociety';
2
+ import { IUser } from '../../models/IUser';
3
+ export declare type ReadPartneredAccountantSociety = ISociety & {
4
+ userToContact: IUser;
5
+ };
6
+ //# sourceMappingURL=ReadPartneredAccountantSociety.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadPartneredAccountantSociety.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,oBAAY,8BAA8B,GAAG,QAAQ,GAAG;IAAE,aAAa,EAAE,KAAK,CAAA;CAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ReadPartneredAccountantSociety.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadPartneredAccountantSociety.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/partneredAccountant/ReadPartneredAccountantSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from '../../models/ISociety';\nimport { IUser } from '../../models/IUser';\n\nexport type ReadPartneredAccountantSociety = ISociety & { userToContact: IUser };\n"]}
@@ -0,0 +1,10 @@
1
+ export declare class CreateProduct {
2
+ name: string;
3
+ priceTaxExcluded: number;
4
+ idVAT: number;
5
+ unit: number;
6
+ type: number;
7
+ comment?: string;
8
+ codeProduct?: string;
9
+ }
10
+ //# sourceMappingURL=CreateProduct.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateProduct.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/CreateProduct.ts"],"names":[],"mappings":"AAQA,qBAAa,aAAa;IAGxB,IAAI,EAAE,MAAM,CAAC;IAWb,gBAAgB,EAAE,MAAM,CAAC;IAKzB,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAIb,IAAI,EAAE,MAAM,CAAC;IAKb,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,62 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { IsEnum, IsNumber, IsOptional, IsString, Min, } from 'class-validator';
11
+ import { ProductType, Unit, Vat } from '../../..';
12
+ import { ApiProperty, ApiPropertyOptional } from '../../../..';
13
+ import { IsObjectId } from '../../../../utils/validators/objectId.validator';
14
+ export class CreateProduct {
15
+ }
16
+ __decorate([
17
+ ApiProperty(),
18
+ IsString(),
19
+ __metadata("design:type", String)
20
+ ], CreateProduct.prototype, "name", void 0);
21
+ __decorate([
22
+ ApiProperty(),
23
+ IsNumber({
24
+ maxDecimalPlaces: 6,
25
+ }, {
26
+ message: 'Price should be a number with maximum 6 decimal',
27
+ }),
28
+ Min(0, {
29
+ message: 'Price should be positive',
30
+ }),
31
+ __metadata("design:type", Number)
32
+ ], CreateProduct.prototype, "priceTaxExcluded", void 0);
33
+ __decorate([
34
+ ApiProperty(),
35
+ IsNumber(),
36
+ IsObjectId(Vat),
37
+ __metadata("design:type", Number)
38
+ ], CreateProduct.prototype, "idVAT", void 0);
39
+ __decorate([
40
+ ApiProperty(),
41
+ IsNumber(),
42
+ IsObjectId(Unit),
43
+ __metadata("design:type", Number)
44
+ ], CreateProduct.prototype, "unit", void 0);
45
+ __decorate([
46
+ ApiProperty(),
47
+ IsEnum(ProductType),
48
+ __metadata("design:type", Number)
49
+ ], CreateProduct.prototype, "type", void 0);
50
+ __decorate([
51
+ ApiPropertyOptional(),
52
+ IsString(),
53
+ IsOptional(),
54
+ __metadata("design:type", String)
55
+ ], CreateProduct.prototype, "comment", void 0);
56
+ __decorate([
57
+ ApiPropertyOptional(),
58
+ IsString(),
59
+ IsOptional(),
60
+ __metadata("design:type", String)
61
+ ], CreateProduct.prototype, "codeProduct", void 0);
62
+ //# sourceMappingURL=CreateProduct.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateProduct.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/CreateProduct.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EACN,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,GACpC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAE7E,MAAM,OAAO,aAAa;CAuCzB;AApCC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;2CACE;AAWb;IATC,WAAW,EAAE;IACb,QAAQ,CAAC;QACR,gBAAgB,EAAE,CAAC;KACpB,EAAE;QACD,OAAO,EAAE,iDAAiD;KAC3D,CAAC;IACD,GAAG,CAAC,CAAC,EAAE;QACN,OAAO,EAAE,0BAA0B;KACpC,CAAC;;uDACuB;AAKzB;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,CAAC,GAAG,CAAC;;4CACF;AAKd;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,CAAC,IAAI,CAAC;;2CACJ;AAIb;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,WAAW,CAAC;;2CACP;AAKb;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8CACI;AAKjB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;kDACQ","sourcesContent":["import {\n IsEnum,\n IsNumber, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ProductType, Unit, Vat } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { IsObjectId } from '../../../../utils/validators/objectId.validator';\n\nexport class CreateProduct {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsNumber({\n maxDecimalPlaces: 6,\n }, {\n message: 'Price should be a number with maximum 6 decimal',\n })\n @Min(0, {\n message: 'Price should be positive',\n })\n priceTaxExcluded: number;\n\n @ApiProperty()\n @IsNumber()\n @IsObjectId(Vat)\n idVAT: number;\n\n @ApiProperty()\n @IsNumber()\n @IsObjectId(Unit)\n unit: number;\n\n @ApiProperty()\n @IsEnum(ProductType)\n type: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n codeProduct?: string;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export declare class QueryProduct {
2
+ search?: string;
3
+ type?: number;
4
+ }
5
+ //# sourceMappingURL=QueryProduct.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryProduct.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/QueryProduct.ts"],"names":[],"mappings":"AAIA,qBAAa,YAAY;IAIvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,27 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { IsEnum, IsOptional, IsString } from 'class-validator';
11
+ import { ProductType } from '../../..';
12
+ import { ApiPropertyOptional } from '../../../..';
13
+ export class QueryProduct {
14
+ }
15
+ __decorate([
16
+ ApiPropertyOptional(),
17
+ IsOptional(),
18
+ IsString(),
19
+ __metadata("design:type", String)
20
+ ], QueryProduct.prototype, "search", void 0);
21
+ __decorate([
22
+ ApiPropertyOptional(),
23
+ IsOptional(),
24
+ IsEnum(ProductType),
25
+ __metadata("design:type", Number)
26
+ ], QueryProduct.prototype, "type", void 0);
27
+ //# sourceMappingURL=QueryProduct.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryProduct.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/QueryProduct.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,OAAO,YAAY;CAUxB;AANC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,WAAW,CAAC;;0CACN","sourcesContent":["import { IsEnum, IsOptional, IsString } from 'class-validator';\nimport { ProductType } from '../../..';\nimport { ApiPropertyOptional } from '../../../..';\n\nexport class QueryProduct {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ProductType)\n type?: number;\n}"]}
@@ -0,0 +1,4 @@
1
+ import { CreateProduct } from './CreateProduct';
2
+ export declare class UpdateProduct extends CreateProduct {
3
+ }
4
+ //# sourceMappingURL=UpdateProduct.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateProduct.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/UpdateProduct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,qBAAa,aAAc,SAAQ,aAAa;CAAG"}
@@ -0,0 +1,4 @@
1
+ import { CreateProduct } from './CreateProduct';
2
+ export class UpdateProduct extends CreateProduct {
3
+ }
4
+ //# sourceMappingURL=UpdateProduct.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateProduct.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/product/UpdateProduct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,OAAO,aAAc,SAAQ,aAAa;CAAG","sourcesContent":["import { CreateProduct } from './CreateProduct';\n\nexport class UpdateProduct extends CreateProduct {}"]}
@@ -1,3 +1,5 @@
1
+ import { SubscriptionType } from '../../../Enum/SubscriptionType';
2
+ import { RegistrationSource } from '../../../Enum/RegistrationSource';
1
3
  export declare type AnalticsUtm = {
2
4
  utm_source?: string;
3
5
  utm_campaign?: string;
@@ -19,11 +21,14 @@ export declare class CreateSociety {
19
21
  };
20
22
  nafCode?: string;
21
23
  zipCode?: string;
24
+ idSource?: RegistrationSource;
22
25
  analyticsUtm?: AnalticsUtm;
23
26
  confirmedAt?: string;
24
27
  idFiscalRegime?: number;
25
28
  profitsType?: number;
26
29
  idTaxSystem?: number;
27
30
  idSector?: number;
31
+ idSubscriptionType?: SubscriptionType;
32
+ idPartneredAccountant?: number | null;
28
33
  }
29
34
  //# sourceMappingURL=CreateSociety.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateSociety.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"names":[],"mappings":"AAEA,oBAAY,WAAW,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,qBAAa,aAAa;IAExB,MAAM,EAAE,MAAM,CAAC;IAGf,YAAY,EAAE,MAAM,CAAC;IAGrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,cAAc,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAGhD,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,YAAY,CAAC,EAAE,WAAW,CAAC;IAG3B,WAAW,CAAC,EAAE,MAAM,CA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E,MAAM,CAAC;IAGrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;IAGtC,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC"}
@@ -8,6 +8,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
10
  import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
11
+ import { SubscriptionType } from '../../../Enum/SubscriptionType';
12
+ import { RegistrationSource } from '../../../Enum/RegistrationSource';
11
13
  export class CreateSociety {
12
14
  }
13
15
  __decorate([
@@ -58,6 +60,10 @@ __decorate([
58
60
  ApiPropertyOptional(),
59
61
  __metadata("design:type", String)
60
62
  ], CreateSociety.prototype, "zipCode", void 0);
63
+ __decorate([
64
+ ApiPropertyOptional({ enum: RegistrationSource }),
65
+ __metadata("design:type", Number)
66
+ ], CreateSociety.prototype, "idSource", void 0);
61
67
  __decorate([
62
68
  ApiPropertyOptional(),
63
69
  __metadata("design:type", Object)
@@ -82,4 +88,12 @@ __decorate([
82
88
  ApiPropertyOptional(),
83
89
  __metadata("design:type", Number)
84
90
  ], CreateSociety.prototype, "idSector", void 0);
91
+ __decorate([
92
+ ApiPropertyOptional({ enum: SubscriptionType }),
93
+ __metadata("design:type", Number)
94
+ ], CreateSociety.prototype, "idSubscriptionType", void 0);
95
+ __decorate([
96
+ ApiPropertyOptional({ description: 'Identifiant de l\'Expert-Comptable partenaire' }),
97
+ __metadata("design:type", Object)
98
+ ], CreateSociety.prototype, "idPartneredAccountant", void 0);
85
99
  //# sourceMappingURL=CreateSociety.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateSociety.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAQrE,MAAM,OAAO,aAAa;CAsDzB;AApDC;IADC,WAAW,EAAE;;6CACC;AAGf;IADC,WAAW,EAAE;;mDACO;AAGrB;IADC,mBAAmB,EAAE;;2CACR;AAGd;IADC,mBAAmB,EAAE;;8CACL;AAGjB;IADC,mBAAmB,EAAE;;2CACR;AAGd;IADC,mBAAmB,EAAE;;gDACH;AAGnB;IADC,mBAAmB,EAAE;;iDACF;AAGpB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;qDAC0B;AAGhD;IADC,mBAAmB,EAAE;;8CACL;AAGjB;IADC,mBAAmB,EAAE;;8CACL;AAGjB;IADC,mBAAmB,EAAE;;mDACK;AAG3B;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;qDACE;AAGxB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;+CACJ","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport type AnalticsUtm = {\n utm_source?: string;\n utm_campaign?: string;\n utm_medium?: string;\n};\n\nexport class CreateSociety {\n @ApiProperty()\n idUser: number;\n\n @ApiProperty()\n idTypeCompta: number;\n\n @ApiPropertyOptional()\n name?: string;\n\n @ApiPropertyOptional()\n address?: string;\n\n @ApiPropertyOptional()\n city?: string;\n\n @ApiPropertyOptional()\n idCountry?: number;\n\n @ApiPropertyOptional()\n idActivity?: number;\n\n @ApiPropertyOptional()\n idVatRegime?: number;\n\n @ApiPropertyOptional()\n idLegalForm?: number;\n\n @ApiPropertyOptional()\n exercicePeriod?: { start: string, end: string };\n\n @ApiPropertyOptional()\n nafCode?: string;\n\n @ApiPropertyOptional()\n zipCode?: string;\n\n @ApiPropertyOptional()\n analyticsUtm?: AnalticsUtm;\n\n @ApiPropertyOptional()\n confirmedAt?: string;\n\n @ApiPropertyOptional()\n idFiscalRegime?: number;\n\n @ApiPropertyOptional()\n profitsType?: number;\n\n @ApiPropertyOptional()\n idTaxSystem?: number;\n\n @ApiPropertyOptional()\n idSector?: number;\n}"]}
1
+ {"version":3,"file":"CreateSociety.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/CreateSociety.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAQtE,MAAM,OAAO,aAAa;CA+DzB;AA7DC;IADC,WAAW,EAAE;;6CACC;AAGf;IADC,WAAW,EAAE;;mDACO;AAGrB;IADC,mBAAmB,EAAE;;2CACR;AAGd;IADC,mBAAmB,EAAE;;8CACL;AAGjB;IADC,mBAAmB,EAAE;;2CACR;AAGd;IADC,mBAAmB,EAAE;;gDACH;AAGnB;IADC,mBAAmB,EAAE;;iDACF;AAGpB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;qDAC0B;AAGhD;IADC,mBAAmB,EAAE;;8CACL;AAGjB;IADC,mBAAmB,EAAE;;8CACL;AAGjB;IADC,mBAAmB,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;;+CACpB;AAG9B;IADC,mBAAmB,EAAE;;mDACK;AAG3B;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;qDACE;AAGxB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;+CACJ;AAGlB;IADC,mBAAmB,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;;yDACV;AAGtC;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,+CAA+C,EAAE,CAAC;;4DAChD","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { SubscriptionType } from '../../../Enum/SubscriptionType';\nimport { RegistrationSource } from '../../../Enum/RegistrationSource';\n\nexport type AnalticsUtm = {\n utm_source?: string;\n utm_campaign?: string;\n utm_medium?: string;\n};\n\nexport class CreateSociety {\n @ApiProperty()\n idUser: number;\n\n @ApiProperty()\n idTypeCompta: number;\n\n @ApiPropertyOptional()\n name?: string;\n\n @ApiPropertyOptional()\n address?: string;\n\n @ApiPropertyOptional()\n city?: string;\n\n @ApiPropertyOptional()\n idCountry?: number;\n\n @ApiPropertyOptional()\n idActivity?: number;\n\n @ApiPropertyOptional()\n idVatRegime?: number;\n\n @ApiPropertyOptional()\n idLegalForm?: number;\n\n @ApiPropertyOptional()\n exercicePeriod?: { start: string, end: string };\n\n @ApiPropertyOptional()\n nafCode?: string;\n\n @ApiPropertyOptional()\n zipCode?: string;\n\n @ApiPropertyOptional({ enum: RegistrationSource })\n idSource?: RegistrationSource;\n\n @ApiPropertyOptional()\n analyticsUtm?: AnalticsUtm;\n\n @ApiPropertyOptional()\n confirmedAt?: string;\n\n @ApiPropertyOptional()\n idFiscalRegime?: number;\n\n @ApiPropertyOptional()\n profitsType?: number;\n\n @ApiPropertyOptional()\n idTaxSystem?: number;\n\n @ApiPropertyOptional()\n idSector?: number;\n\n @ApiPropertyOptional({ enum: SubscriptionType })\n idSubscriptionType?: SubscriptionType;\n\n @ApiPropertyOptional({ description: 'Identifiant de l\\'Expert-Comptable partenaire' })\n idPartneredAccountant?: number | null;\n}"]}
@@ -1,3 +1,4 @@
1
+ import { ISociety } from '../../models/ISociety';
1
2
  export declare class UpdateSociety {
2
3
  idTypeCompta: number;
3
4
  idUser?: number;
@@ -17,4 +18,7 @@ export declare class UpdateSociety {
17
18
  };
18
19
  confirmedAt?: string;
19
20
  }
21
+ export declare class UpdateSocietyPayload {
22
+ society: Partial<ISociety>;
23
+ }
20
24
  //# sourceMappingURL=UpdateSociety.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateSociety.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/UpdateSociety.ts"],"names":[],"mappings":"AAEA,qBAAa,aAAa;IAExB,YAAY,EAAE,MAAM,CAAC;IAGrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,cAAc,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAGhD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"UpdateSociety.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/UpdateSociety.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,qBAAa,aAAa;IAExB,YAAY,EAAE,MAAM,CAAC;IAGrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,cAAc,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAGhD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBAAa,oBAAoB;IAE/B,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC5B"}
@@ -66,4 +66,10 @@ __decorate([
66
66
  ApiPropertyOptional(),
67
67
  __metadata("design:type", String)
68
68
  ], UpdateSociety.prototype, "confirmedAt", void 0);
69
+ export class UpdateSocietyPayload {
70
+ }
71
+ __decorate([
72
+ ApiPropertyOptional(),
73
+ __metadata("design:type", Object)
74
+ ], UpdateSocietyPayload.prototype, "society", void 0);
69
75
  //# sourceMappingURL=UpdateSociety.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateSociety.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/UpdateSociety.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,aAAa;CA0CzB;AAxCC;IADC,WAAW,EAAE;;mDACO;AAGrB;IADC,mBAAmB,EAAE;;6CACN;AAGhB;IADC,mBAAmB,EAAE;;2CACR;AAGd;IADC,mBAAmB,EAAE;;8CACL;AAGjB;IADC,mBAAmB,EAAE;;2CACR;AAGd;IADC,mBAAmB,EAAE;;gDACH;AAGnB;IADC,mBAAmB,EAAE;;iDACF;AAGpB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;qDACE;AAGxB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;qDAC0B;AAGhD;IADC,mBAAmB,EAAE;;kDACD","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateSociety {\n @ApiProperty()\n idTypeCompta: number;\n\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiPropertyOptional()\n name?: string;\n\n @ApiPropertyOptional()\n address?: string;\n\n @ApiPropertyOptional()\n city?: string;\n\n @ApiPropertyOptional()\n idCountry?: number;\n\n @ApiPropertyOptional()\n idActivity?: number;\n\n @ApiPropertyOptional()\n idVatRegime?: number;\n\n @ApiPropertyOptional()\n idLegalForm?: number;\n\n @ApiPropertyOptional()\n idFiscalRegime?: number;\n\n @ApiPropertyOptional()\n profitsType?: number;\n\n @ApiPropertyOptional()\n idTaxSystem?: number;\n\n @ApiPropertyOptional()\n exercicePeriod?: { start: string, end: string };\n\n @ApiPropertyOptional()\n confirmedAt?: string;\n}"]}
1
+ {"version":3,"file":"UpdateSociety.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/society/UpdateSociety.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAGrE,MAAM,OAAO,aAAa;CA0CzB;AAxCC;IADC,WAAW,EAAE;;mDACO;AAGrB;IADC,mBAAmB,EAAE;;6CACN;AAGhB;IADC,mBAAmB,EAAE;;2CACR;AAGd;IADC,mBAAmB,EAAE;;8CACL;AAGjB;IADC,mBAAmB,EAAE;;2CACR;AAGd;IADC,mBAAmB,EAAE;;gDACH;AAGnB;IADC,mBAAmB,EAAE;;iDACF;AAGpB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;qDACE;AAGxB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;qDAC0B;AAGhD;IADC,mBAAmB,EAAE;;kDACD;AAGvB,MAAM,OAAO,oBAAoB;CAGhC;AADC;IADC,mBAAmB,EAAE;;qDACK","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ISociety } from '../../models/ISociety';\n\nexport class UpdateSociety {\n @ApiProperty()\n idTypeCompta: number;\n\n @ApiPropertyOptional()\n idUser?: number;\n\n @ApiPropertyOptional()\n name?: string;\n\n @ApiPropertyOptional()\n address?: string;\n\n @ApiPropertyOptional()\n city?: string;\n\n @ApiPropertyOptional()\n idCountry?: number;\n\n @ApiPropertyOptional()\n idActivity?: number;\n\n @ApiPropertyOptional()\n idVatRegime?: number;\n\n @ApiPropertyOptional()\n idLegalForm?: number;\n\n @ApiPropertyOptional()\n idFiscalRegime?: number;\n\n @ApiPropertyOptional()\n profitsType?: number;\n\n @ApiPropertyOptional()\n idTaxSystem?: number;\n\n @ApiPropertyOptional()\n exercicePeriod?: { start: string, end: string };\n\n @ApiPropertyOptional()\n confirmedAt?: string;\n}\n\nexport class UpdateSocietyPayload {\n @ApiPropertyOptional()\n society: Partial<ISociety>;\n}"]}
@@ -1,5 +1,4 @@
1
- import { IProduct } from './IProduct';
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';
@@ -52,8 +51,7 @@ export interface IEstimateInvoice {
52
51
  createdAt?: Date | null;
53
52
  updatedAt?: Date | null;
54
53
  deletedAt?: Date | null;
55
- estimatesInvoicesProducts?: IProduct[];
56
- productItemsEstimates?: IItemEstimate[];
54
+ invoiceProducts?: IProductInvoice[];
57
55
  estimateInvoiceEstimateInvoiceRepeat?: IEstimateInvoiceRepeat;
58
56
  estimateInvoicePaymentExpectationCustomer?: IPaymentExpectationCustomer;
59
57
  estimatesInvoicesThirdParty?: IThirdParty;
@@ -1 +1 @@
1
- {"version":3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M,GAAG,IAAI,CAAC;IAC/C,6BAA6B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,YAAY,EAAE,MAAM,CAAC;IACrB,8BAA8B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,eAAe,CAAC,EAAE,eAAe,EAAE,CAAC;IACpC,oCAAoC,CAAC,EAAE,sBAAsB,CAAC;IAC9D,yCAAyC,CAAC,EAAE,2BAA2B,CAAC;IACxE,2BAA2B,CAAC,EAAE,WAAW,CAAC;IAC1C,0BAA0B,CAAC,EAAE,UAAU,CAAC;IACxC,qBAAqB,CAAC,EAAE,oBAAoB,CAAC;IAC7C,wBAAwB,CAAC,EAAE,QAAQ,CAAC;IACpC,+BAA+B,CAAC,EAAE,gBAAgB,CAAC;IACnD,iCAAiC,CAAC,EAAE,gBAAgB,CAAC;IACrD,6BAA6B,CAAC,EAAE,gBAAgB,CAAC;IACjD,8BAA8B,CAAC,EAAE,gBAAgB,CAAC;IAClD,cAAc,CAAC,EAAE,eAAe,CAAC;CAClC"}
@@ -1 +1 @@
1
- {"version":3,"file":"IEstimateInvoice.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEstimateInvoice.ts"],"names":[],"mappings":"","sourcesContent":["import { IProduct } from './IProduct';\nimport { IItemEstimate } from './IItemEstimate';\nimport { IEstimateInvoiceRepeat } from './IEstimateInvoiceRepeat';\nimport { IPaymentExpectationCustomer } from './IPaymentExpectationCustomer';\nimport { IThirdParty } from './IThirdParty';\nimport { IFrequency } from './IFrequency';\nimport { IEstimateInvoiceType } from './IEstimateInvoiceType';\nimport { ISociety } from './ISociety';\nimport { ISocietyRelance } from './ISocietyRelance';\n\n// estimatesInvoices\nexport interface IEstimateInvoice {\n id?: number;\n label: string | null;\n payment: string | null;\n estimateRef: string | null;\n fileEstimate: string | null;\n expirationDate: Date | null;\n estimateMailSend: Date | null;\n dateInvoiceCreated: Date | null;\n invoiceRef: string | null;\n deposit: number;\n totalHt: number;\n totalTtc: number;\n isDraft: boolean;\n dueDate: Date | null;\n fileInvoice: string | null;\n invoiceMailSend: Date | null;\n isPaid?: boolean;\n isUsed: boolean;\n isStripe: boolean;\n lastTryRepeat: Date | null;\n template: number | null;\n penalties: string | null;\n discount: string | null;\n recoveryCost: string | null;\n vatMention: string | null;\n freeText: string | null;\n greetings: boolean;\n generalComment: string | null;\n generalDiscount: number | null;\n lastRelanceDate: Date | null;\n isRefused: boolean;\n isCanceled: boolean;\n idRelatedEstimateOrderForm: number | null;\n idRelatedInvoice: number | null;\n idTypeEstimateInvoice: number | number[];\n idFrequency: number | null;\n idSociety: number;\n idEstimateInvoiceForThisAdvance: number | null;\n idEstimateInvoiceForThisAsset: number | null;\n idThirdParty: number;\n idEstimateInvoiceForThisRepeat: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n estimatesInvoicesProducts?: IProduct[];\n productItemsEstimates?: IItemEstimate[];\n estimateInvoiceEstimateInvoiceRepeat?: IEstimateInvoiceRepeat;\n estimateInvoicePaymentExpectationCustomer?: IPaymentExpectationCustomer;\n estimatesInvoicesThirdParty?: IThirdParty;\n estimatesInvoicesFrequency?: IFrequency;\n estimatesInvoicesType?: IEstimateInvoiceType;\n estimatesInvoicesSociety?: ISociety;\n estimatesInvoicesForThisAdvance?: IEstimateInvoice;\n assetRelatedToThisEstimateInvoice?: IEstimateInvoice;\n estimatesInvoicesForThisAsset?: IEstimateInvoice;\n estimatesInvoicesForThisRepeat?: IEstimateInvoice;\n societyRelance?: ISocietyRelance;\n}\n"]}
1
+ {"version":3,"file":"IEstimateInvoice.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEstimateInvoice.ts"],"names":[],"mappings":"","sourcesContent":["import { IProductInvoice } from './IProductInvoice';\nimport { IEstimateInvoiceRepeat } from './IEstimateInvoiceRepeat';\nimport { IPaymentExpectationCustomer } from './IPaymentExpectationCustomer';\nimport { IThirdParty } from './IThirdParty';\nimport { IFrequency } from './IFrequency';\nimport { IEstimateInvoiceType } from './IEstimateInvoiceType';\nimport { ISociety } from './ISociety';\nimport { ISocietyRelance } from './ISocietyRelance';\n\n// estimatesInvoices\nexport interface IEstimateInvoice {\n id?: number;\n label: string | null;\n payment: string | null;\n estimateRef: string | null;\n fileEstimate: string | null;\n expirationDate: Date | null;\n estimateMailSend: Date | null;\n dateInvoiceCreated: Date | null;\n invoiceRef: string | null;\n deposit: number;\n totalHt: number;\n totalTtc: number;\n isDraft: boolean;\n dueDate: Date | null;\n fileInvoice: string | null;\n invoiceMailSend: Date | null;\n isPaid?: boolean;\n isUsed: boolean;\n isStripe: boolean;\n lastTryRepeat: Date | null;\n template: number | null;\n penalties: string | null;\n discount: string | null;\n recoveryCost: string | null;\n vatMention: string | null;\n freeText: string | null;\n greetings: boolean;\n generalComment: string | null;\n generalDiscount: number | null;\n lastRelanceDate: Date | null;\n isRefused: boolean;\n isCanceled: boolean;\n idRelatedEstimateOrderForm: number | null;\n idRelatedInvoice: number | null;\n idTypeEstimateInvoice: number | number[];\n idFrequency: number | null;\n idSociety: number;\n idEstimateInvoiceForThisAdvance: number | null;\n idEstimateInvoiceForThisAsset: number | null;\n idThirdParty: number;\n idEstimateInvoiceForThisRepeat: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n invoiceProducts?: IProductInvoice[];\n estimateInvoiceEstimateInvoiceRepeat?: IEstimateInvoiceRepeat;\n estimateInvoicePaymentExpectationCustomer?: IPaymentExpectationCustomer;\n estimatesInvoicesThirdParty?: IThirdParty;\n estimatesInvoicesFrequency?: IFrequency;\n estimatesInvoicesType?: IEstimateInvoiceType;\n estimatesInvoicesSociety?: ISociety;\n estimatesInvoicesForThisAdvance?: IEstimateInvoice;\n assetRelatedToThisEstimateInvoice?: IEstimateInvoice;\n estimatesInvoicesForThisAsset?: IEstimateInvoice;\n estimatesInvoicesForThisRepeat?: IEstimateInvoice;\n societyRelance?: ISocietyRelance;\n}\n"]}
@@ -0,0 +1,12 @@
1
+ import { ISociety } from './ISociety';
2
+ import { IPartneredAccountant } from './IPartneredAccountant';
3
+ export interface IPartneredAccountantToSociety {
4
+ id?: number;
5
+ idPartneredAccountant: number;
6
+ idSociety: number;
7
+ createdAt?: number;
8
+ updatedAt?: number;
9
+ partneredAccountant?: IPartneredAccountant;
10
+ society?: ISociety;
11
+ }
12
+ //# sourceMappingURL=IPartneredAccountantToSociety.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPartneredAccountantToSociety.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPartneredAccountantToSociety.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,WAAW,6BAA6B;IAC5C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,qBAAqB,EAAE,MAAM,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAElB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,mBAAmB,CAAC,EAAE,oBAAoB,CAAC;IAC3C,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IPartneredAccountantToSociety.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPartneredAccountantToSociety.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPartneredAccountantToSociety.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IPartneredAccountant } from './IPartneredAccountant';\n\nexport interface IPartneredAccountantToSociety {\n id?: number;\n idPartneredAccountant: number;\n idSociety: number;\n\n createdAt?: number;\n updatedAt?: number;\n\n // Associations\n partneredAccountant?: IPartneredAccountant;\n society?: ISociety;\n}"]}
@@ -15,6 +15,6 @@ export interface IPermission {
15
15
  purchase: boolean;
16
16
  createdAt?: Date | null;
17
17
  updatedAt?: Date | null;
18
- usersSocietiesPermission: IUserSocietyPermission;
18
+ usersSocietiesPermission?: IUserSocietyPermission;
19
19
  }
20
20
  //# sourceMappingURL=IPermission.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IPermission.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPermission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,GAAG,EAAE,OAAO,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,wBAAwB,EAAE,sBAAsB,CAAC;CAClD"}
1
+ {"version":3,"file":"IPermission.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPermission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,GAAG,EAAE,OAAO,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,wBAAwB,CAAC,EAAE,sBAAsB,CAAC;CACnD"}
@@ -1 +1 @@
1
- {"version":3,"file":"IPermission.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPermission.ts"],"names":[],"mappings":"","sourcesContent":["import { IUserSocietyPermission } from './IUserSocietyPermission';\n\n// permissions\nexport interface IPermission {\n id?: number;\n gescom: boolean;\n compta: boolean;\n stats: boolean;\n docTreso: boolean;\n services: boolean;\n social: boolean;\n tva: boolean;\n simulation: boolean;\n simulationMultiple: boolean;\n balanceSheet: boolean;\n setting: boolean;\n purchase: boolean;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n usersSocietiesPermission: IUserSocietyPermission;\n}\n"]}
1
+ {"version":3,"file":"IPermission.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPermission.ts"],"names":[],"mappings":"","sourcesContent":["import { IUserSocietyPermission } from './IUserSocietyPermission';\n\n// permissions\nexport interface IPermission {\n id?: number;\n gescom: boolean;\n compta: boolean;\n stats: boolean;\n docTreso: boolean;\n services: boolean;\n social: boolean;\n tva: boolean;\n simulation: boolean;\n simulationMultiple: boolean;\n balanceSheet: boolean;\n setting: boolean;\n purchase: boolean;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n usersSocietiesPermission?: IUserSocietyPermission;\n}\n"]}
@@ -1,26 +1,19 @@
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
  export interface IProduct {
7
4
  id?: number;
8
5
  name: string;
9
- isFree: boolean;
10
6
  comment: string | null;
11
7
  codeProduct: string | null;
12
- price: number;
13
- idTva: number;
14
- idUnity: number | null;
15
- idTypeProduct: number | null;
8
+ priceTaxExcluded: number;
9
+ idVAT: number;
10
+ unit: number | null;
11
+ type: number | null;
16
12
  idSociety: number;
17
13
  createdAt?: Date | null;
18
14
  updatedAt?: Date | null;
19
15
  deletedAt?: Date | null;
20
- estimatesInvoices?: IEstimateInvoice[];
21
- productTva?: IVat;
22
- productUnity?: IUnit;
23
- productTypeProduct?: IProductType;
24
- productSociety?: ISociety;
16
+ vat?: IVat;
17
+ society?: ISociety;
25
18
  }
26
19
  //# sourceMappingURL=IProduct.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IProduct.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IProduct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,QAAQ;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,MAAM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CAAC,EAAE,QAAQ,CAAC;CACpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IProduct.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IProduct.ts"],"names":[],"mappings":"","sourcesContent":["import { IEstimateInvoice } from './IEstimateInvoice';\nimport { IVat } from './IVat';\nimport { IUnit } from './IUnit';\nimport { IProductType } from './IProductType';\nimport { ISociety } from './ISociety';\n\n// products\nexport interface IProduct {\n id?: number;\n name: string;\n isFree: boolean;\n comment: string | null;\n codeProduct: string | null;\n price: number;\n idTva: number;\n idUnity: number | null;\n idTypeProduct: number | null;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n estimatesInvoices?: IEstimateInvoice[];\n productTva?: IVat;\n productUnity?: IUnit;\n productTypeProduct?: IProductType;\n productSociety?: ISociety;\n}\n"]}
1
+ {"version":3,"file":"IProduct.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IProduct.ts"],"names":[],"mappings":"","sourcesContent":["import { IVat } from './IVat';\nimport { ISociety } from './ISociety';\n\n// products\nexport interface IProduct {\n id?: number;\n name: string;\n comment: string | null;\n codeProduct: string | null;\n priceTaxExcluded: number;\n idVAT: number;\n unit: number | null;\n type: number | null;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n vat?: IVat;\n society?: ISociety;\n}\n"]}
@@ -0,0 +1,22 @@
1
+ import { IVat } from './IVat';
2
+ import { IProduct } from './IProduct';
3
+ export interface IProductInvoice {
4
+ id?: number;
5
+ idEstimateInvoice: number;
6
+ idProduct: number | null;
7
+ idVAT: number;
8
+ unit: number;
9
+ type: number;
10
+ itemSaleName: string | null;
11
+ itemCodeProduct: string | null;
12
+ priceTaxExcluded: number;
13
+ quantity: number;
14
+ discount: number | null;
15
+ comment: string | null;
16
+ reorder: number | null;
17
+ createdAt?: Date | null;
18
+ updatedAt?: Date | null;
19
+ vat?: IVat;
20
+ product: IProduct;
21
+ }
22
+ //# sourceMappingURL=IProductInvoice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IProductInvoice.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IProductInvoice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,gBAAgB,EAAE,MAAM,CAAC;IACzB,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,GAAG,CAAC,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,QAAQ,CAAC;CACnB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IProductInvoice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IProductInvoice.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IProductInvoice.ts"],"names":[],"mappings":"","sourcesContent":["import { IVat } from './IVat';\nimport { IProduct } from './IProduct';\n\n// itemsEstimates\nexport interface IProductInvoice {\n id?: number;\n idEstimateInvoice: number;\n idProduct: number | null;\n idVAT: number;\n unit: number;\n type: number;\n itemSaleName: string | null;\n itemCodeProduct: string | null;\n priceTaxExcluded: 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 vat?: IVat;\n product: IProduct;\n}\n"]}