@silexpert/core 0.4.27 → 0.4.28

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 (165) hide show
  1. package/es/api/resources/Immobilization.d.ts +4 -0
  2. package/es/api/resources/Immobilization.d.ts.map +1 -1
  3. package/es/api/resources/Immobilization.js +3 -0
  4. package/es/api/resources/Immobilization.js.map +1 -1
  5. package/es/api/resources/PromoCode.d.ts +9 -0
  6. package/es/api/resources/PromoCode.d.ts.map +1 -0
  7. package/es/api/resources/PromoCode.js +16 -0
  8. package/es/api/resources/PromoCode.js.map +1 -0
  9. package/es/api/resources/Society.d.ts +2 -1
  10. package/es/api/resources/Society.d.ts.map +1 -1
  11. package/es/api/resources/Society.js +3 -0
  12. package/es/api/resources/Society.js.map +1 -1
  13. package/es/api/resources.d.ts +2 -0
  14. package/es/api/resources.d.ts.map +1 -1
  15. package/es/api/resources.js +2 -0
  16. package/es/api/resources.js.map +1 -1
  17. package/es/types/Enum/Activity.d.ts +7 -0
  18. package/es/types/Enum/Activity.d.ts.map +1 -0
  19. package/es/types/Enum/Activity.js +8 -0
  20. package/es/types/Enum/Activity.js.map +1 -0
  21. package/es/types/Enum/CerfaType.d.ts +15 -0
  22. package/es/types/Enum/CerfaType.d.ts.map +1 -0
  23. package/es/types/Enum/CerfaType.js +15 -0
  24. package/es/types/Enum/CerfaType.js.map +1 -0
  25. package/es/types/Enum/FiscalRegime.d.ts +6 -0
  26. package/es/types/Enum/FiscalRegime.d.ts.map +1 -0
  27. package/es/types/Enum/FiscalRegime.js +7 -0
  28. package/es/types/Enum/FiscalRegime.js.map +1 -0
  29. package/es/types/Enum/GlobalRegime.d.ts +30 -0
  30. package/es/types/Enum/GlobalRegime.d.ts.map +1 -0
  31. package/es/types/Enum/GlobalRegime.js +412 -0
  32. package/es/types/Enum/GlobalRegime.js.map +1 -0
  33. package/es/types/Enum/ImmobilizationType.d.ts +46 -0
  34. package/es/types/Enum/ImmobilizationType.d.ts.map +1 -1
  35. package/es/types/Enum/ImmobilizationType.js +47 -1
  36. package/es/types/Enum/ImmobilizationType.js.map +1 -1
  37. package/es/types/Enum/ProfitsType.d.ts +5 -0
  38. package/es/types/Enum/ProfitsType.d.ts.map +1 -0
  39. package/es/types/Enum/ProfitsType.js +6 -0
  40. package/es/types/Enum/ProfitsType.js.map +1 -0
  41. package/es/types/Enum/TaxSystem.d.ts +6 -0
  42. package/es/types/Enum/TaxSystem.d.ts.map +1 -0
  43. package/es/types/Enum/TaxSystem.js +7 -0
  44. package/es/types/Enum/TaxSystem.js.map +1 -0
  45. package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.d.ts +5 -0
  46. package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.d.ts.map +1 -0
  47. package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js +22 -0
  48. package/es/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js.map +1 -0
  49. package/es/types/Interface/api/immobilization/CreateImmobilization.d.ts +7 -1
  50. package/es/types/Interface/api/immobilization/CreateImmobilization.d.ts.map +1 -1
  51. package/es/types/Interface/api/immobilization/CreateImmobilization.js +19 -1
  52. package/es/types/Interface/api/immobilization/CreateImmobilization.js.map +1 -1
  53. package/es/types/Interface/api/promoCode/CreatePromoCode.d.ts +12 -0
  54. package/es/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +1 -0
  55. package/es/types/Interface/api/promoCode/CreatePromoCode.js +49 -0
  56. package/es/types/Interface/api/promoCode/CreatePromoCode.js.map +1 -0
  57. package/es/types/Interface/api/promoCode/UpdatePromoCode.d.ts +12 -0
  58. package/es/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +1 -0
  59. package/es/types/Interface/api/promoCode/UpdatePromoCode.js +49 -0
  60. package/es/types/Interface/api/promoCode/UpdatePromoCode.js.map +1 -0
  61. package/es/types/Interface/api/society/UpdateSociety.d.ts +3 -0
  62. package/es/types/Interface/api/society/UpdateSociety.d.ts.map +1 -1
  63. package/es/types/Interface/api/society/UpdateSociety.js +12 -0
  64. package/es/types/Interface/api/society/UpdateSociety.js.map +1 -1
  65. package/es/types/Interface/models/IApiError.d.ts +2 -0
  66. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  67. package/es/types/Interface/models/IApiError.js +2 -0
  68. package/es/types/Interface/models/IApiError.js.map +1 -1
  69. package/es/types/Interface/models/ICustomerTva.d.ts +2 -0
  70. package/es/types/Interface/models/ICustomerTva.d.ts.map +1 -1
  71. package/es/types/Interface/models/ICustomerTva.js.map +1 -1
  72. package/es/types/Interface/models/IExerciceComment.d.ts +13 -0
  73. package/es/types/Interface/models/IExerciceComment.d.ts.map +1 -0
  74. package/es/types/Interface/models/IExerciceComment.js +2 -0
  75. package/es/types/Interface/models/IExerciceComment.js.map +1 -0
  76. package/es/types/Interface/models/IExerciceDetail.d.ts +2 -0
  77. package/es/types/Interface/models/IExerciceDetail.d.ts.map +1 -1
  78. package/es/types/Interface/models/IExerciceDetail.js.map +1 -1
  79. package/es/types/Interface/models/IImmobilization.d.ts +3 -0
  80. package/es/types/Interface/models/IImmobilization.d.ts.map +1 -1
  81. package/es/types/Interface/models/IImmobilization.js.map +1 -1
  82. package/es/types/Interface/models/IPromoCode.d.ts +15 -0
  83. package/es/types/Interface/models/IPromoCode.d.ts.map +1 -0
  84. package/es/types/Interface/models/IPromoCode.js +2 -0
  85. package/es/types/Interface/models/IPromoCode.js.map +1 -0
  86. package/es/types/Interface/models/IRefund.d.ts +3 -3
  87. package/es/types/Interface/models/IRefund.d.ts.map +1 -1
  88. package/es/types/Interface/models/IRefund.js.map +1 -1
  89. package/es/types/Interface/models/ISocietyDetail.d.ts +5 -1
  90. package/es/types/Interface/models/ISocietyDetail.d.ts.map +1 -1
  91. package/es/types/Interface/models/ISocietyDetail.js.map +1 -1
  92. package/es/types/Interface/models/IUser.d.ts +1 -0
  93. package/es/types/Interface/models/IUser.d.ts.map +1 -1
  94. package/es/types/Interface/models/IUser.js.map +1 -1
  95. package/es/types/index.d.ts +10 -0
  96. package/es/types/index.d.ts.map +1 -1
  97. package/es/types/index.js +10 -0
  98. package/es/types/index.js.map +1 -1
  99. package/js/api/resources/Immobilization.js +4 -0
  100. package/js/api/resources/Immobilization.js.map +1 -1
  101. package/js/api/resources/PromoCode.js +30 -0
  102. package/js/api/resources/PromoCode.js.map +1 -0
  103. package/js/api/resources/Society.js +4 -0
  104. package/js/api/resources/Society.js.map +1 -1
  105. package/js/api/resources.js +4 -1
  106. package/js/api/resources.js.map +1 -1
  107. package/js/types/Enum/Activity.js +14 -0
  108. package/js/types/Enum/Activity.js.map +1 -0
  109. package/js/types/Enum/CerfaType.js +20 -0
  110. package/js/types/Enum/CerfaType.js.map +1 -0
  111. package/js/types/Enum/FiscalRegime.js +13 -0
  112. package/js/types/Enum/FiscalRegime.js.map +1 -0
  113. package/js/types/Enum/GlobalRegime.js +376 -0
  114. package/js/types/Enum/GlobalRegime.js.map +1 -0
  115. package/js/types/Enum/ImmobilizationType.js +85 -37
  116. package/js/types/Enum/ImmobilizationType.js.map +1 -1
  117. package/js/types/Enum/ProfitsType.js +12 -0
  118. package/js/types/Enum/ProfitsType.js.map +1 -0
  119. package/js/types/Enum/TaxSystem.js +13 -0
  120. package/js/types/Enum/TaxSystem.js.map +1 -0
  121. package/js/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js +31 -0
  122. package/js/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.js.map +1 -0
  123. package/js/types/Interface/api/immobilization/CreateImmobilization.js +17 -1
  124. package/js/types/Interface/api/immobilization/CreateImmobilization.js.map +1 -1
  125. package/js/types/Interface/api/promoCode/CreatePromoCode.js +43 -0
  126. package/js/types/Interface/api/promoCode/CreatePromoCode.js.map +1 -0
  127. package/js/types/Interface/api/promoCode/UpdatePromoCode.js +43 -0
  128. package/js/types/Interface/api/promoCode/UpdatePromoCode.js.map +1 -0
  129. package/js/types/Interface/api/society/UpdateSociety.js +6 -0
  130. package/js/types/Interface/api/society/UpdateSociety.js.map +1 -1
  131. package/js/types/Interface/models/IApiError.js +3 -1
  132. package/js/types/Interface/models/IApiError.js.map +1 -1
  133. package/js/types/Interface/models/IExerciceComment.js +6 -0
  134. package/js/types/Interface/models/IExerciceComment.js.map +1 -0
  135. package/js/types/Interface/models/IPromoCode.js +6 -0
  136. package/js/types/Interface/models/IPromoCode.js.map +1 -0
  137. package/js/types/index.js +120 -0
  138. package/js/types/index.js.map +1 -1
  139. package/package.json +1 -1
  140. package/ts/api/resources/Immobilization.ts +4 -0
  141. package/ts/api/resources/PromoCode.ts +20 -0
  142. package/ts/api/resources/Society.ts +4 -0
  143. package/ts/api/resources.ts +2 -0
  144. package/ts/types/Enum/Activity.ts +6 -0
  145. package/ts/types/Enum/CerfaType.ts +14 -0
  146. package/ts/types/Enum/FiscalRegime.ts +5 -0
  147. package/ts/types/Enum/GlobalRegime.ts +441 -0
  148. package/ts/types/Enum/ImmobilizationType.ts +51 -4
  149. package/ts/types/Enum/ProfitsType.ts +4 -0
  150. package/ts/types/Enum/TaxSystem.ts +5 -0
  151. package/ts/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.ts +10 -0
  152. package/ts/types/Interface/api/immobilization/CreateImmobilization.ts +16 -2
  153. package/ts/types/Interface/api/promoCode/CreatePromoCode.ts +30 -0
  154. package/ts/types/Interface/api/promoCode/UpdatePromoCode.ts +30 -0
  155. package/ts/types/Interface/api/society/UpdateSociety.ts +9 -0
  156. package/ts/types/Interface/models/IApiError.ts +2 -0
  157. package/ts/types/Interface/models/ICustomerTva.ts +2 -0
  158. package/ts/types/Interface/models/IExerciceComment.ts +16 -0
  159. package/ts/types/Interface/models/IExerciceDetail.ts +2 -0
  160. package/ts/types/Interface/models/IImmobilization.ts +3 -0
  161. package/ts/types/Interface/models/IPromoCode.ts +14 -0
  162. package/ts/types/Interface/models/IRefund.ts +3 -3
  163. package/ts/types/Interface/models/ISocietyDetail.ts +5 -1
  164. package/ts/types/Interface/models/IUser.ts +1 -0
  165. package/ts/types/index.ts +10 -0
@@ -0,0 +1,6 @@
1
+ export var ProfitsType;
2
+ (function (ProfitsType) {
3
+ ProfitsType[ProfitsType["BIC"] = 1] = "BIC";
4
+ ProfitsType[ProfitsType["BNC"] = 2] = "BNC";
5
+ })(ProfitsType || (ProfitsType = {}));
6
+ //# sourceMappingURL=ProfitsType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProfitsType.js","sourceRoot":"","sources":["../../../ts/types/Enum/ProfitsType.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,2CAAO,CAAA;IACP,2CAAO,CAAA;AACT,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB","sourcesContent":["export enum ProfitsType {\n BIC = 1,\n BNC = 2,\n}"]}
@@ -0,0 +1,6 @@
1
+ export declare enum TaxSystem {
2
+ IS = 1,
3
+ IR = 2,
4
+ NA = 3
5
+ }
6
+ //# sourceMappingURL=TaxSystem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaxSystem.d.ts","sourceRoot":"","sources":["../../../ts/types/Enum/TaxSystem.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,EAAE,IAAI;IACN,EAAE,IAAI;IACN,EAAE,IAAI;CACP"}
@@ -0,0 +1,7 @@
1
+ export var TaxSystem;
2
+ (function (TaxSystem) {
3
+ TaxSystem[TaxSystem["IS"] = 1] = "IS";
4
+ TaxSystem[TaxSystem["IR"] = 2] = "IR";
5
+ TaxSystem[TaxSystem["NA"] = 3] = "NA";
6
+ })(TaxSystem || (TaxSystem = {}));
7
+ //# sourceMappingURL=TaxSystem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaxSystem.js","sourceRoot":"","sources":["../../../ts/types/Enum/TaxSystem.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,qCAAM,CAAA;IACN,qCAAM,CAAA;IACN,qCAAM,CAAA;AACR,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB","sourcesContent":["export enum TaxSystem {\n IS = 1,\n IR = 2,\n NA = 3,\n}"]}
@@ -0,0 +1,5 @@
1
+ export declare class CreateBudgetBalanceBankAccount {
2
+ dateStart: string;
3
+ dateEnd: string;
4
+ }
5
+ //# sourceMappingURL=CreateBudgetBalanceBankAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateBudgetBalanceBankAccount.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.ts"],"names":[],"mappings":"AAGA,qBAAa,8BAA8B;IAEzC,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -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 { ApiProperty } from '../../../..';
11
+ import { ApiPropertyOptional } from '../../../../utils';
12
+ export class CreateBudgetBalanceBankAccount {
13
+ }
14
+ __decorate([
15
+ ApiProperty(),
16
+ __metadata("design:type", String)
17
+ ], CreateBudgetBalanceBankAccount.prototype, "dateStart", void 0);
18
+ __decorate([
19
+ ApiPropertyOptional(),
20
+ __metadata("design:type", String)
21
+ ], CreateBudgetBalanceBankAccount.prototype, "dateEnd", void 0);
22
+ //# sourceMappingURL=CreateBudgetBalanceBankAccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateBudgetBalanceBankAccount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/balanceBankAccount/CreateBudgetBalanceBankAccount.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,8BAA8B;CAM1C;AAJC;IADC,WAAW,EAAE;;iEACI;AAGlB;IADC,mBAAmB,EAAE;;+DACN","sourcesContent":["import { ApiProperty } from '../../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateBudgetBalanceBankAccount {\n @ApiProperty()\n dateStart: string;\n\n @ApiPropertyOptional()\n dateEnd: string;\n}"]}
@@ -1,4 +1,4 @@
1
- import { DepreciationMethods } from '../../../Enum/ImmobilizationType';
1
+ import { DepreciationMethods, EndOfImmobilizationType } from '../../../Enum/ImmobilizationType';
2
2
  export declare class CreateImmobilizationForm {
3
3
  reference: string;
4
4
  designation: string;
@@ -11,4 +11,10 @@ export declare class CreateImmobilizationForm {
11
11
  provider: string;
12
12
  idAccount: number;
13
13
  }
14
+ export declare class CreateEndOfImmobilizationForm {
15
+ type: typeof EndOfImmobilizationType[keyof typeof EndOfImmobilizationType];
16
+ quantity: number;
17
+ date: Date;
18
+ amount?: number;
19
+ }
14
20
  //# sourceMappingURL=CreateImmobilization.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateImmobilization.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/immobilization/CreateImmobilization.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,qBAAa,wBAAwB;IAEnC,SAAS,EAAE,MAAM,CAAC;IAGlB,WAAW,EAAE,MAAM,CAAC;IAGpB,eAAe,EAAE,IAAI,CAAC;IAGtB,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;IAGjB,kBAAkB,EAAE,mBAAmB,CAAC;IAGxC,yBAAyB,EAAE,MAAM,CAAC;IAGlC,qBAAqB,EAAE,MAAM,CAAC;IAG9B,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"CreateImmobilization.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/immobilization/CreateImmobilization.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAEhG,qBAAa,wBAAwB;IAEnC,SAAS,EAAE,MAAM,CAAC;IAGlB,WAAW,EAAE,MAAM,CAAC;IAGpB,eAAe,EAAE,IAAI,CAAC;IAGtB,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;IAGjB,kBAAkB,EAAE,mBAAmB,CAAC;IAGxC,yBAAyB,EAAE,MAAM,CAAC;IAGlC,qBAAqB,EAAE,MAAM,CAAC;IAG9B,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,6BAA6B;IAExC,IAAI,EAAE,OAAO,uBAAuB,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;IAG3E,QAAQ,EAAE,MAAM,CAAC;IAGjB,IAAI,EAAE,IAAI,CAAC;IAGX,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  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
- import { ApiProperty } from '../../../../utils';
10
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
11
11
  import { DepreciationMethods } from '../../../Enum/ImmobilizationType';
12
12
  export class CreateImmobilizationForm {
13
13
  }
@@ -51,4 +51,22 @@ __decorate([
51
51
  ApiProperty(),
52
52
  __metadata("design:type", Number)
53
53
  ], CreateImmobilizationForm.prototype, "idAccount", void 0);
54
+ export class CreateEndOfImmobilizationForm {
55
+ }
56
+ __decorate([
57
+ ApiProperty(),
58
+ __metadata("design:type", Object)
59
+ ], CreateEndOfImmobilizationForm.prototype, "type", void 0);
60
+ __decorate([
61
+ ApiProperty(),
62
+ __metadata("design:type", Number)
63
+ ], CreateEndOfImmobilizationForm.prototype, "quantity", void 0);
64
+ __decorate([
65
+ ApiProperty({ description: 'Date of cession / trash' }),
66
+ __metadata("design:type", Date)
67
+ ], CreateEndOfImmobilizationForm.prototype, "date", void 0);
68
+ __decorate([
69
+ ApiPropertyOptional({ description: 'If sell type, amount' }),
70
+ __metadata("design:type", Number)
71
+ ], CreateEndOfImmobilizationForm.prototype, "amount", void 0);
54
72
  //# sourceMappingURL=CreateImmobilization.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateImmobilization.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/immobilization/CreateImmobilization.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,MAAM,OAAO,wBAAwB;CA8BpC;AA5BC;IADC,WAAW,EAAE;;2DACI;AAGlB;IADC,WAAW,EAAE;;6DACM;AAGpB;IADC,WAAW,EAAE;8BACG,IAAI;iEAAC;AAGtB;IADC,WAAW,EAAE;;0DACG;AAGjB;IADC,WAAW,EAAE;;0DACG;AAGjB;IADC,WAAW,EAAE;;oEAC0B;AAGxC;IADC,WAAW,EAAE;;2EACoB;AAGlC;IADC,WAAW,EAAE;;uEACgB;AAG9B;IADC,WAAW,EAAE;;0DACG;AAGjB;IADC,WAAW,EAAE;;2DACI","sourcesContent":["import { ApiProperty } from '../../../../utils';\nimport { DepreciationMethods } from '../../../Enum/ImmobilizationType';\n\nexport class CreateImmobilizationForm {\n @ApiProperty()\n reference: string;\n\n @ApiProperty()\n designation: string;\n\n @ApiProperty()\n acquisitionDate: Date;\n\n @ApiProperty()\n duration: number;\n\n @ApiProperty()\n quantity: number;\n\n @ApiProperty()\n depreciationMethod: DepreciationMethods;\n\n @ApiProperty()\n amountTotalImmobilization: number;\n\n @ApiProperty()\n amountAlreadyDeducted: number;\n\n @ApiProperty()\n provider: string;\n\n @ApiProperty()\n idAccount: number;\n}"]}
1
+ {"version":3,"file":"CreateImmobilization.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/immobilization/CreateImmobilization.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAA2B,MAAM,kCAAkC,CAAC;AAEhG,MAAM,OAAO,wBAAwB;CA8BpC;AA5BC;IADC,WAAW,EAAE;;2DACI;AAGlB;IADC,WAAW,EAAE;;6DACM;AAGpB;IADC,WAAW,EAAE;8BACG,IAAI;iEAAC;AAGtB;IADC,WAAW,EAAE;;0DACG;AAGjB;IADC,WAAW,EAAE;;0DACG;AAGjB;IADC,WAAW,EAAE;;oEAC0B;AAGxC;IADC,WAAW,EAAE;;2EACoB;AAGlC;IADC,WAAW,EAAE;;uEACgB;AAG9B;IADC,WAAW,EAAE;;0DACG;AAGjB;IADC,WAAW,EAAE;;2DACI;AAGpB,MAAM,OAAO,6BAA6B;CAYzC;AAVC;IADC,WAAW,EAAE;;2DAC6D;AAG3E;IADC,WAAW,EAAE;;+DACG;AAGjB;IADC,WAAW,CAAC,EAAE,WAAW,EAAE,yBAAyB,EAAE,CAAC;8BAClD,IAAI;2DAAC;AAGX;IADC,mBAAmB,CAAC,EAAE,WAAW,EAAE,sBAAsB,EAAE,CAAC;;6DAC7C","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { DepreciationMethods, EndOfImmobilizationType } from '../../../Enum/ImmobilizationType';\n\nexport class CreateImmobilizationForm {\n @ApiProperty()\n reference: string;\n\n @ApiProperty()\n designation: string;\n\n @ApiProperty()\n acquisitionDate: Date;\n\n @ApiProperty()\n duration: number;\n\n @ApiProperty()\n quantity: number;\n\n @ApiProperty()\n depreciationMethod: DepreciationMethods;\n\n @ApiProperty()\n amountTotalImmobilization: number;\n\n @ApiProperty()\n amountAlreadyDeducted: number;\n\n @ApiProperty()\n provider: string;\n\n @ApiProperty()\n idAccount: number;\n}\n\nexport class CreateEndOfImmobilizationForm {\n @ApiProperty()\n type: typeof EndOfImmobilizationType[keyof typeof EndOfImmobilizationType];\n\n @ApiProperty()\n quantity: number;\n\n @ApiProperty({ description: 'Date of cession / trash' })\n date: Date;\n\n @ApiPropertyOptional({ description: 'If sell type, amount' })\n amount?: number;\n}"]}
@@ -0,0 +1,12 @@
1
+ export declare class CreatePromoCode {
2
+ name: string;
3
+ microMonthly?: string | null;
4
+ microMonthlyDescription?: string | null;
5
+ microYearly?: string | null;
6
+ microYearlyDescription?: string | null;
7
+ businessMonthly?: string | null;
8
+ businessMonthlyDescription?: string | null;
9
+ businessYearly?: string | null;
10
+ businessYearlyDescription?: string | null;
11
+ }
12
+ //# sourceMappingURL=CreatePromoCode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreatePromoCode.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/promoCode/CreatePromoCode.ts"],"names":[],"mappings":"AAEA,qBAAa,eAAe;IAE1B,IAAI,EAAE,MAAM,CAAC;IAGb,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG7B,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGhC,0BAA0B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3C,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG/B,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3C"}
@@ -0,0 +1,49 @@
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 { ApiPropertyOptional, ApiProperty } from '../../../../utils';
11
+ export class CreatePromoCode {
12
+ }
13
+ __decorate([
14
+ ApiProperty(),
15
+ __metadata("design:type", String)
16
+ ], CreatePromoCode.prototype, "name", void 0);
17
+ __decorate([
18
+ ApiPropertyOptional(),
19
+ __metadata("design:type", Object)
20
+ ], CreatePromoCode.prototype, "microMonthly", void 0);
21
+ __decorate([
22
+ ApiPropertyOptional(),
23
+ __metadata("design:type", Object)
24
+ ], CreatePromoCode.prototype, "microMonthlyDescription", void 0);
25
+ __decorate([
26
+ ApiPropertyOptional(),
27
+ __metadata("design:type", Object)
28
+ ], CreatePromoCode.prototype, "microYearly", void 0);
29
+ __decorate([
30
+ ApiPropertyOptional(),
31
+ __metadata("design:type", Object)
32
+ ], CreatePromoCode.prototype, "microYearlyDescription", void 0);
33
+ __decorate([
34
+ ApiPropertyOptional(),
35
+ __metadata("design:type", Object)
36
+ ], CreatePromoCode.prototype, "businessMonthly", void 0);
37
+ __decorate([
38
+ ApiPropertyOptional(),
39
+ __metadata("design:type", Object)
40
+ ], CreatePromoCode.prototype, "businessMonthlyDescription", void 0);
41
+ __decorate([
42
+ ApiPropertyOptional(),
43
+ __metadata("design:type", Object)
44
+ ], CreatePromoCode.prototype, "businessYearly", void 0);
45
+ __decorate([
46
+ ApiPropertyOptional(),
47
+ __metadata("design:type", Object)
48
+ ], CreatePromoCode.prototype, "businessYearlyDescription", void 0);
49
+ //# sourceMappingURL=CreatePromoCode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreatePromoCode.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/promoCode/CreatePromoCode.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,eAAe;CA2B3B;AAzBC;IADC,WAAW,EAAE;;6CACD;AAGb;IADC,mBAAmB,EAAE;;qDACO;AAG7B;IADC,mBAAmB,EAAE;;gEACkB;AAGxC;IADC,mBAAmB,EAAE;;oDACM;AAG5B;IADC,mBAAmB,EAAE;;+DACiB;AAGvC;IADC,mBAAmB,EAAE;;wDACU;AAGhC;IADC,mBAAmB,EAAE;;mEACqB;AAG3C;IADC,mBAAmB,EAAE;;uDACS;AAG/B;IADC,mBAAmB,EAAE;;kEACoB","sourcesContent":["import { ApiPropertyOptional, ApiProperty } from '../../../../utils';\n\nexport class CreatePromoCode {\n @ApiProperty()\n name: string;\n\n @ApiPropertyOptional()\n microMonthly?: string | null;\n\n @ApiPropertyOptional()\n microMonthlyDescription?: string | null;\n\n @ApiPropertyOptional()\n microYearly?: string | null;\n\n @ApiPropertyOptional()\n microYearlyDescription?: string | null;\n\n @ApiPropertyOptional()\n businessMonthly?: string | null;\n\n @ApiPropertyOptional()\n businessMonthlyDescription?: string | null;\n\n @ApiPropertyOptional()\n businessYearly?: string | null;\n\n @ApiPropertyOptional()\n businessYearlyDescription?: string | null;\n}"]}
@@ -0,0 +1,12 @@
1
+ export declare class UpdatePromoCode {
2
+ name?: string;
3
+ microMonthly?: string | null;
4
+ microMonthlyDescription?: string | null;
5
+ microYearly?: string | null;
6
+ microYearlyDescription?: string | null;
7
+ businessMonthly?: string | null;
8
+ businessMonthlyDescription?: string | null;
9
+ businessYearly?: string | null;
10
+ businessYearlyDescription?: string | null;
11
+ }
12
+ //# sourceMappingURL=UpdatePromoCode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdatePromoCode.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/promoCode/UpdatePromoCode.ts"],"names":[],"mappings":"AAEA,qBAAa,eAAe;IAE1B,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG7B,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGhC,0BAA0B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3C,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG/B,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3C"}
@@ -0,0 +1,49 @@
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 { ApiPropertyOptional } from '../../../../utils';
11
+ export class UpdatePromoCode {
12
+ }
13
+ __decorate([
14
+ ApiPropertyOptional(),
15
+ __metadata("design:type", String)
16
+ ], UpdatePromoCode.prototype, "name", void 0);
17
+ __decorate([
18
+ ApiPropertyOptional(),
19
+ __metadata("design:type", Object)
20
+ ], UpdatePromoCode.prototype, "microMonthly", void 0);
21
+ __decorate([
22
+ ApiPropertyOptional(),
23
+ __metadata("design:type", Object)
24
+ ], UpdatePromoCode.prototype, "microMonthlyDescription", void 0);
25
+ __decorate([
26
+ ApiPropertyOptional(),
27
+ __metadata("design:type", Object)
28
+ ], UpdatePromoCode.prototype, "microYearly", void 0);
29
+ __decorate([
30
+ ApiPropertyOptional(),
31
+ __metadata("design:type", Object)
32
+ ], UpdatePromoCode.prototype, "microYearlyDescription", void 0);
33
+ __decorate([
34
+ ApiPropertyOptional(),
35
+ __metadata("design:type", Object)
36
+ ], UpdatePromoCode.prototype, "businessMonthly", void 0);
37
+ __decorate([
38
+ ApiPropertyOptional(),
39
+ __metadata("design:type", Object)
40
+ ], UpdatePromoCode.prototype, "businessMonthlyDescription", void 0);
41
+ __decorate([
42
+ ApiPropertyOptional(),
43
+ __metadata("design:type", Object)
44
+ ], UpdatePromoCode.prototype, "businessYearly", void 0);
45
+ __decorate([
46
+ ApiPropertyOptional(),
47
+ __metadata("design:type", Object)
48
+ ], UpdatePromoCode.prototype, "businessYearlyDescription", void 0);
49
+ //# sourceMappingURL=UpdatePromoCode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdatePromoCode.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/promoCode/UpdatePromoCode.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,eAAe;CA2B3B;AAzBC;IADC,mBAAmB,EAAE;;6CACR;AAGd;IADC,mBAAmB,EAAE;;qDACO;AAG7B;IADC,mBAAmB,EAAE;;gEACkB;AAGxC;IADC,mBAAmB,EAAE;;oDACM;AAG5B;IADC,mBAAmB,EAAE;;+DACiB;AAGvC;IADC,mBAAmB,EAAE;;wDACU;AAGhC;IADC,mBAAmB,EAAE;;mEACqB;AAG3C;IADC,mBAAmB,EAAE;;uDACS;AAG/B;IADC,mBAAmB,EAAE;;kEACoB","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdatePromoCode {\n @ApiPropertyOptional()\n name?: string;\n\n @ApiPropertyOptional()\n microMonthly?: string | null;\n\n @ApiPropertyOptional()\n microMonthlyDescription?: string | null;\n\n @ApiPropertyOptional()\n microYearly?: string | null;\n\n @ApiPropertyOptional()\n microYearlyDescription?: string | null;\n\n @ApiPropertyOptional()\n businessMonthly?: string | null;\n\n @ApiPropertyOptional()\n businessMonthlyDescription?: string | null;\n\n @ApiPropertyOptional()\n businessYearly?: string | null;\n\n @ApiPropertyOptional()\n businessYearlyDescription?: string | null;\n}"]}
@@ -8,6 +8,9 @@ export declare class UpdateSociety {
8
8
  idActivity?: number;
9
9
  idTvaRegime?: number;
10
10
  idLegalForm?: number;
11
+ idFiscalRegime?: number;
12
+ profitsType?: number;
13
+ idTaxSystem?: number;
11
14
  exercicePeriod?: {
12
15
  start: string;
13
16
  end: string;
@@ -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;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":"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"}
@@ -46,6 +46,18 @@ __decorate([
46
46
  ApiPropertyOptional(),
47
47
  __metadata("design:type", Number)
48
48
  ], UpdateSociety.prototype, "idLegalForm", void 0);
49
+ __decorate([
50
+ ApiPropertyOptional(),
51
+ __metadata("design:type", Number)
52
+ ], UpdateSociety.prototype, "idFiscalRegime", void 0);
53
+ __decorate([
54
+ ApiPropertyOptional(),
55
+ __metadata("design:type", Number)
56
+ ], UpdateSociety.prototype, "profitsType", void 0);
57
+ __decorate([
58
+ ApiPropertyOptional(),
59
+ __metadata("design:type", Number)
60
+ ], UpdateSociety.prototype, "idTaxSystem", void 0);
49
61
  __decorate([
50
62
  ApiPropertyOptional(),
51
63
  __metadata("design:type", Object)
@@ -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;CAiCzB;AA/BC;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;;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 idTvaRegime?: number;\n\n @ApiPropertyOptional()\n idLegalForm?: 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;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 idTvaRegime?: 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}"]}
@@ -29,12 +29,14 @@ export declare enum Code {
29
29
  immobilizationNotSetWithAccountStartTwo = "immobilization_not_set_with_account_start_two",
30
30
  immobilizationCanOnlyBeSetForDebit = "immobilization_can_only_be_set_for_debit",
31
31
  immobilizationCanNotBeSetWithoutAccount = "immobilization_can_not_be_set_without_account",
32
+ immobilizationNotExist = "immobilization_not_exist",
32
33
  accountIsNotDepreciable = "account_is_not_depreciable",
33
34
  invalidNetBookValue = "invalid_net_book_value",
34
35
  noExerciceFoundForImmobilization = "no_exercice_found_for_immobilization",
35
36
  amountImmobilizationLessThanAmountTransaction = "amount_immobilization_less_than_amount_transaction",
36
37
  amountImmobilizationLessThanAmountAllTaxIncluded = "amount_immobilization_less_than_amount_all_tax_included",
37
38
  amountImmobilizationIsGreaterThanTotalAmountTransactions = "amount_immobilization_is_greater_than_total_amount_transactions",
39
+ immobilizationNotFound = "immobilization_not_found",
38
40
  mergeFailed = "merge_failed",
39
41
  generationError = "generation_error",
40
42
  parseError = "parse_error",
@@ -1 +1 @@
1
- {"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,QAAQ,cAAc;IACtB,SAAS,yBAAyB;IAClC,aAAa,cAAc;CAC5B;AAED,oBAAY,IAAI;IAEd,YAAY,iCAAiC;IAC7C,qBAAqB,uCAAuC;IAC5D,QAAQ,uBAAuB;IAC/B,eAAe,8BAA8B;IAC7C,eAAe,8BAA8B;IAC7C,UAAU,iBAAiB;IAC3B,mBAAmB,0BAA0B;IAC7C,kBAAkB,sBAAsB;IACxC,kBAAkB,wBAAwB;IAG1C,kBAAkB,yBAAyB;IAC3C,+BAA+B,2CAA2C;IAC1E,6BAA6B,yCAAyC;IACtE,uDAAuD,yEAAyE;IAChI,iBAAiB,wBAAwB;IACzC,mCAAmC,6CAA6C;IAChF,+BAA+B,0CAA0C;IACzE,+BAA+B,2CAA2C;IAC1E,6BAA6B,wCAAwC;IACrE,8BAA8B,wCAAwC;IACtE,4BAA4B,oCAAoC;IAChE,oBAAoB,6BAA6B;IACjD,iBAAiB,yBAAyB;IAC1C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IAG/B,gBAAgB,uBAAuB;IACvC,WAAW,gBAAgB;IAG3B,8BAA8B,uCAAuC;IACrE,kCAAkC,2CAA2C;IAC7E,0BAA0B,kCAAkC;IAC5D,0BAA0B,kCAAkC;IAE5D,cAAc,qBAAqB;CAEpC;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -33,12 +33,14 @@ export var Code;
33
33
  Code["immobilizationNotSetWithAccountStartTwo"] = "immobilization_not_set_with_account_start_two";
34
34
  Code["immobilizationCanOnlyBeSetForDebit"] = "immobilization_can_only_be_set_for_debit";
35
35
  Code["immobilizationCanNotBeSetWithoutAccount"] = "immobilization_can_not_be_set_without_account";
36
+ Code["immobilizationNotExist"] = "immobilization_not_exist";
36
37
  Code["accountIsNotDepreciable"] = "account_is_not_depreciable";
37
38
  Code["invalidNetBookValue"] = "invalid_net_book_value";
38
39
  Code["noExerciceFoundForImmobilization"] = "no_exercice_found_for_immobilization";
39
40
  Code["amountImmobilizationLessThanAmountTransaction"] = "amount_immobilization_less_than_amount_transaction";
40
41
  Code["amountImmobilizationLessThanAmountAllTaxIncluded"] = "amount_immobilization_less_than_amount_all_tax_included";
41
42
  Code["amountImmobilizationIsGreaterThanTotalAmountTransactions"] = "amount_immobilization_is_greater_than_total_amount_transactions";
43
+ Code["immobilizationNotFound"] = "immobilization_not_found";
42
44
  // PDF error
43
45
  Code["mergeFailed"] = "merge_failed";
44
46
  Code["generationError"] = "generation_error";
@@ -1 +1 @@
1
- {"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;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IACzD,qEAA6D,CAAA;IAC7D,2EAAmE,CAAA;IACnE,iEAAyD,CAAA;IACzD,yGAAiG,CAAA;IACjG,iFAAyE,CAAA;IACzE,iFAAyE,CAAA;IACzE,iFAAyE,CAAA;IACzE,+FAAuF,CAAA;IACvF,6FAAqF,CAAA;IACrF,qFAA6E,CAAA;IAC7E,2FAAmF,CAAA;IACnF,qFAA6E,CAAA;IAC7E,mFAA2E,CAAA;IAC3E,mFAA2E,CAAA;IAC3E,mFAA2E,CAAA;IAC3E,2HAAmH,CAAA;IACnH,mFAA2E,CAAA;IAC3E,+EAAuE,CAAA;IACvE,mDAA2C,CAAA;IAC3C,iDAAyC,CAAA;IACzC,iDAAyC,CAAA;IAEzC,gBAAgB;IAChB,8DAAsD,CAAA;IAEtD,UAAU;IACV,kFAA0E,CAAA;IAE1E,gBAAgB;IAChB,2DAAmD,CAAA;IACnD,iDAAyC,CAAA;IACzC,sEAA8D,CAAA;IAC9D,2CAAmC,CAAA;IACnC,uDAA+C,CAAA;IAC/C,uCAA+B,CAAA;IAE/B,QAAQ;IACR,+CAAuC,CAAA;IACvC,mCAA2B,CAAA;IAE3B,cAAc;IACd,6EAAqE,CAAA;IACrE,qFAA6E,CAAA;IAC7E,oEAA4D,CAAA;IAC5D,oEAA4D,CAAA;IAE5D,2CAAmC,CAAA;AAErC,CAAC,EA/GW,IAAI,KAAJ,IAAI,QA+Gf","sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n serviceUnavailable = 'service_unavailable',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n accountIsNotDepreciable = 'account_is_not_depreciable',\n invalidNetBookValue = 'invalid_net_book_value',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n parseError = 'parse_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Shine errors\n AUTHORIZATION_CLIENT_NOT_FOUND = 'AUTHORIZATION_CLIENT_NOT_FOUND',\n AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH = 'AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH',\n AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED',\n AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID = 'AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID',\n AUTHORIZATION_CLIENT_STATUS_NOT_VALID = 'AUTHORIZATION_CLIENT_STATUS_NOT_VALID',\n AUTHORIZATION_CODE_MISSING = 'AUTHORIZATION_CODE_MISSING',\n AUTHORIZATION_CODE_NOT_FOUND = 'AUTHORIZATION_CODE_NOT_FOUND',\n AUTHORIZATION_CODE_ALREADY_USED = 'AUTHORIZATION_CODE_ALREADY_USED',\n AUTHORIZATION_CODE_EXPIRED = 'AUTHORIZATION_CODE_EXPIRED',\n AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_ACCESS_TOKEN_EXPIRED = 'AUTHORIZATION_ACCESS_TOKEN_EXPIRED',\n AUTHORIZATION_INVALID_ACCESS_TOKEN = 'AUTHORIZATION_INVALID_ACCESS_TOKEN',\n AUTHORIZATION_MISSING_ACCESS_TOKEN = 'AUTHORIZATION_MISSING_ACCESS_TOKEN',\n AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE = 'AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE',\n AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE = 'AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE',\n AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN = 'AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN',\n AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE = 'AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE',\n AUTHORIZATION_UNSUPPORTED_GRANT_TYPE = 'AUTHORIZATION_UNSUPPORTED_GRANT_TYPE',\n AUTHORIZATION_REFRESH_TOKEN_MISSING = 'AUTHORIZATION_REFRESH_TOKEN_MISSING',\n AUTHORIZATION_REFRESH_TOKEN_EXPIRED = 'AUTHORIZATION_REFRESH_TOKEN_EXPIRED',\n AUTHORIZATION_REFRESH_TOKEN_INVALID = 'AUTHORIZATION_REFRESH_TOKEN_INVALID',\n AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REFRESH_TOKEN_REVOKED = 'AUTHORIZATION_REFRESH_TOKEN_REVOKED',\n AUTHORIZATION_USER_NOT_AUTHORIZED = 'AUTHORIZATION_USER_NOT_AUTHORIZED',\n responseNotManaged = 'response_not_managed',\n bankAccountsError = 'bank_accounts_error',\n refreshTokenError = 'refresh_token_error',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n userPermissionDoesNotExists = 'user-permission-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n invalidData = 'invalidData',\n\n // Sponsorship\n emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',\n idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',\n sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',\n sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',\n\n payloadIsEmpty = 'payload_is_empty',\n\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
1
+ {"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,wCAA2B,CAAA;AAC7B,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAED,MAAM,CAAN,IAAY,IAiHX;AAjHD,WAAY,IAAI;IACd,aAAa;IACb,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,uCAA+B,CAAA;IAC/B,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,mCAA2B,CAAA;IAC3B,qDAA6C,CAAA;IAC7C,gDAAwC,CAAA;IACxC,kDAA0C,CAAA;IAE1C,mBAAmB;IACnB,mDAA2C,CAAA;IAC3C,kFAA0E,CAAA;IAC1E,8EAAsE,CAAA;IACtE,wIAAgI,CAAA;IAChI,iDAAyC,CAAA;IACzC,wFAAgF,CAAA;IAChF,iFAAyE,CAAA;IACzE,kFAA0E,CAAA;IAC1E,6EAAqE,CAAA;IACrE,8EAAsE,CAAA;IACtE,wEAAgE,CAAA;IAChE,yDAAiD,CAAA;IACjD,kDAA0C,CAAA;IAC1C,iGAAyF,CAAA;IACzF,uFAA+E,CAAA;IAC/E,iGAAyF,CAAA;IACzF,2DAAmD,CAAA;IACnD,8DAAsD,CAAA;IACtD,sDAA8C,CAAA;IAC9C,iFAAyE,CAAA;IACzE,4GAAoG,CAAA;IACpG,oHAA4G,CAAA;IA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CAAA;IAC7E,oEAA4D,CAAA;IAC5D,oEAA4D,CAAA;IAE5D,2CAAmC,CAAA;AAErC,CAAC,EAjHW,IAAI,KAAJ,IAAI,QAiHf","sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n serviceUnavailable = 'service_unavailable',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n immobilizationNotExist = 'immobilization_not_exist',\n accountIsNotDepreciable = 'account_is_not_depreciable',\n invalidNetBookValue = 'invalid_net_book_value',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n immobilizationNotFound = 'immobilization_not_found',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n parseError = 'parse_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Shine errors\n AUTHORIZATION_CLIENT_NOT_FOUND = 'AUTHORIZATION_CLIENT_NOT_FOUND',\n AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH = 'AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH',\n AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED',\n AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID = 'AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID',\n AUTHORIZATION_CLIENT_STATUS_NOT_VALID = 'AUTHORIZATION_CLIENT_STATUS_NOT_VALID',\n AUTHORIZATION_CODE_MISSING = 'AUTHORIZATION_CODE_MISSING',\n AUTHORIZATION_CODE_NOT_FOUND = 'AUTHORIZATION_CODE_NOT_FOUND',\n AUTHORIZATION_CODE_ALREADY_USED = 'AUTHORIZATION_CODE_ALREADY_USED',\n AUTHORIZATION_CODE_EXPIRED = 'AUTHORIZATION_CODE_EXPIRED',\n AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_ACCESS_TOKEN_EXPIRED = 'AUTHORIZATION_ACCESS_TOKEN_EXPIRED',\n AUTHORIZATION_INVALID_ACCESS_TOKEN = 'AUTHORIZATION_INVALID_ACCESS_TOKEN',\n AUTHORIZATION_MISSING_ACCESS_TOKEN = 'AUTHORIZATION_MISSING_ACCESS_TOKEN',\n AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE = 'AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE',\n AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE = 'AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE',\n AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN = 'AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN',\n AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE = 'AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE',\n AUTHORIZATION_UNSUPPORTED_GRANT_TYPE = 'AUTHORIZATION_UNSUPPORTED_GRANT_TYPE',\n AUTHORIZATION_REFRESH_TOKEN_MISSING = 'AUTHORIZATION_REFRESH_TOKEN_MISSING',\n AUTHORIZATION_REFRESH_TOKEN_EXPIRED = 'AUTHORIZATION_REFRESH_TOKEN_EXPIRED',\n AUTHORIZATION_REFRESH_TOKEN_INVALID = 'AUTHORIZATION_REFRESH_TOKEN_INVALID',\n AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REFRESH_TOKEN_REVOKED = 'AUTHORIZATION_REFRESH_TOKEN_REVOKED',\n AUTHORIZATION_USER_NOT_AUTHORIZED = 'AUTHORIZATION_USER_NOT_AUTHORIZED',\n responseNotManaged = 'response_not_managed',\n bankAccountsError = 'bank_accounts_error',\n refreshTokenError = 'refresh_token_error',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n userPermissionDoesNotExists = 'user-permission-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n invalidData = 'invalidData',\n\n // Sponsorship\n emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',\n idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',\n sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',\n sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',\n\n payloadIsEmpty = 'payload_is_empty',\n\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
@@ -15,6 +15,8 @@ export interface ICustomerTva {
15
15
  amountBaseTva: number | null;
16
16
  comment: string | null;
17
17
  token: string | null;
18
+ acceptation: boolean | null;
19
+ acceptationDate: Date | null;
18
20
  idMail: number | null;
19
21
  idVatDeclaration: number | null;
20
22
  createdAt?: Date | null;
@@ -1 +1 @@
1
- {"version":3,"file":"ICustomerTva.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ICustomerTva.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,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MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,EAAE,QAAQ,CAAC;IACtB,SAAS,EAAE,UAAU,CAAC;IACtB,cAAc,EAAE,eAAe,CAAC;CACjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ICustomerTva.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ICustomerTva.ts"],"names":[],"mappings":"","sourcesContent":["import { IExercice } from './IExercice';\nimport { IWebMail } from './IWebMail';\nimport { IChecklist } from './IChecklist';\nimport { IVatDeclaration } from './IVatDeclaration';\n\n// customersTva\nexport interface ICustomerTva {\n id?: number;\n stateAmount: number;\n amount: number;\n type: number;\n state: number;\n status: number | null;\n idExercice: number;\n dateTva: Date | null;\n isCA12: boolean;\n amountBaseTva: number | null;\n comment: string | null;\n token: string | null;\n idMail: number | null;\n idVatDeclaration: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n exercice: IExercice;\n webmailMail: IWebMail;\n checklist: IChecklist;\n vatDeclaration: IVatDeclaration;\n}\n"]}
1
+ {"version":3,"file":"ICustomerTva.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ICustomerTva.ts"],"names":[],"mappings":"","sourcesContent":["import { IExercice } from './IExercice';\nimport { IWebMail } from './IWebMail';\nimport { IChecklist } from './IChecklist';\nimport { IVatDeclaration } from './IVatDeclaration';\n\n// customersTva\nexport interface ICustomerTva {\n id?: number;\n stateAmount: number;\n amount: number;\n type: number;\n state: number;\n status: number | null;\n idExercice: number;\n dateTva: Date | null;\n isCA12: boolean;\n amountBaseTva: number | null;\n comment: string | null;\n token: string | null;\n acceptation: boolean | null;\n acceptationDate: Date | null;\n idMail: number | null;\n idVatDeclaration: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n exercice: IExercice;\n webmailMail: IWebMail;\n checklist: IChecklist;\n vatDeclaration: IVatDeclaration;\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import { IExercice } from './IExercice';
2
+ import { IUser } from './IUser';
3
+ export interface IExerciceComment {
4
+ id?: number;
5
+ comment: string;
6
+ idExercice: number;
7
+ idUser: number;
8
+ createdAt?: Date | null;
9
+ updatedAt?: Date | null;
10
+ exercice?: IExercice;
11
+ user?: IUser;
12
+ }
13
+ //# sourceMappingURL=IExerciceComment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IExerciceComment.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IExerciceComment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IExerciceComment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IExerciceComment.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IExerciceComment.ts"],"names":[],"mappings":"","sourcesContent":["import { IExercice } from './IExercice';\nimport { IUser } from './IUser';\n\n// exerciceComments\nexport interface IExerciceComment {\n id?: number;\n comment: string;\n idExercice: number;\n idUser: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n exercice?: IExercice;\n user?: IUser;\n}\n"]}
@@ -9,6 +9,8 @@ export interface IExerciceDetail {
9
9
  checklistMaj: boolean | null;
10
10
  statutReview: number | null;
11
11
  isDone: boolean;
12
+ acceptation: boolean | null;
13
+ acceptationDate: Date | null;
12
14
  idExercice: number;
13
15
  createdAt?: Date | null;
14
16
  updatedAt?: Date | null;
@@ -1 +1 @@
1
- {"version":3,"file":"IExerciceDetail.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IExerciceDetail.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,iBAAiB,EAAE,OAAO,GAAG,IAAI,CAAC;IAClC,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
1
+ {"version":3,"file":"IExerciceDetail.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IExerciceDetail.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,iBAAiB,EAAE,OAAO,GAAG,IAAI,CAAC;IAClC,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IExerciceDetail.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IExerciceDetail.ts"],"names":[],"mappings":"","sourcesContent":["// exerciceDetails\nexport interface IExerciceDetail {\n id?: number;\n commentProblem: string | null;\n comment: string | null;\n token: string | null;\n clientAcceptation: boolean | null;\n lastDateMaj: Date | null;\n cyclesToReview: string | null;\n checklistMaj: boolean | null;\n statutReview: number | null;\n isDone: boolean;\n idExercice: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
1
+ {"version":3,"file":"IExerciceDetail.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IExerciceDetail.ts"],"names":[],"mappings":"","sourcesContent":["// exerciceDetails\nexport interface IExerciceDetail {\n id?: number;\n commentProblem: string | null;\n comment: string | null;\n token: string | null;\n clientAcceptation: boolean | null;\n lastDateMaj: Date | null;\n cyclesToReview: string | null;\n checklistMaj: boolean | null;\n statutReview: number | null;\n isDone: boolean;\n acceptation: boolean | null;\n acceptationDate: Date | null;\n idExercice: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"]}
@@ -6,12 +6,15 @@ export interface IImmobilization {
6
6
  reference: string;
7
7
  designation: string;
8
8
  quantity: number;
9
+ quantityTrashed?: number;
10
+ quantitySelled?: number;
9
11
  acquisitionDate?: Date;
10
12
  duration: number;
11
13
  provider: string;
12
14
  depreciationMethod?: DepreciationMethods;
13
15
  amountTotalImmobilization: number;
14
16
  amountAlreadyDeducted?: number;
17
+ idAccount?: number | null;
15
18
  idSociety: number;
16
19
  createdAt?: Date | null;
17
20
  updatedAt?: Date | null;
@@ -1 +1 @@
1
- {"version":3,"file":"IImmobilization.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IImmobilization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;IACzC,yBAAyB,EAAG,MAAM,CAAC;IACnC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACxC"}
1
+ {"version":3,"file":"IImmobilization.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IImmobilization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,CAAC,EAAE,mBAAmB,CAAC;IACzC,yBAAyB,EAAG,MAAM,CAAC;IACnC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAC;CACxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmobilization.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IImmobilization.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccountingEntry } from './IAccountingEntry';\nimport { ISociety } from './ISociety';\nimport { DepreciationMethods } from '../../Enum/ImmobilizationType';\n\nexport interface IImmobilization {\n id?: number;\n reference: string;\n designation: string;\n quantity: number;\n acquisitionDate?: Date; // si il n'y a pas d'acquisition date, c'est un acompte\n duration: number;\n provider: string;\n depreciationMethod?: DepreciationMethods;\n amountTotalImmobilization : number;\n amountAlreadyDeducted?: number;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n accountingEntries?: IAccountingEntry[];\n}\n"]}
1
+ {"version":3,"file":"IImmobilization.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IImmobilization.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccountingEntry } from './IAccountingEntry';\nimport { ISociety } from './ISociety';\nimport { DepreciationMethods } from '../../Enum/ImmobilizationType';\n\nexport interface IImmobilization {\n id?: number;\n reference: string;\n designation: string;\n quantity: number;\n quantityTrashed?: number;\n quantitySelled?: number;\n acquisitionDate?: Date; // si il n'y a pas d'acquisition date, c'est un acompte\n duration: number;\n provider: string;\n depreciationMethod?: DepreciationMethods;\n amountTotalImmobilization : number;\n amountAlreadyDeducted?: number;\n idAccount?: number | null;\n idSociety: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n accountingEntries?: IAccountingEntry[];\n}\n"]}
@@ -0,0 +1,15 @@
1
+ export interface IPromoCode {
2
+ id?: number;
3
+ name: string;
4
+ microMonthly?: string | null;
5
+ microMonthlyDescription?: string | null;
6
+ microYearly?: string | null;
7
+ microYearlyDescription?: string | null;
8
+ businessMonthly?: string | null;
9
+ businessMonthlyDescription?: string | null;
10
+ businessYearly?: string | null;
11
+ businessYearlyDescription?: string | null;
12
+ createdAt?: Date | null;
13
+ updatedAt?: Date | null;
14
+ }
15
+ //# sourceMappingURL=IPromoCode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPromoCode.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPromoCode.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,0BAA0B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IPromoCode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPromoCode.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPromoCode.ts"],"names":[],"mappings":"","sourcesContent":["export interface IPromoCode {\n id?: number;\n name: string;\n microMonthly?: string | null;\n microMonthlyDescription?: string | null;\n microYearly?: string | null;\n microYearlyDescription?: string | null;\n businessMonthly?: string | null;\n businessMonthlyDescription?: string | null;\n businessYearly?: string | null;\n businessYearlyDescription?: string | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}"]}
@@ -4,14 +4,14 @@ import { IFile } from './IFile';
4
4
  import { IUser } from './IUser';
5
5
  export interface IRefund {
6
6
  id?: number;
7
- amount: number;
7
+ amount: number | null;
8
8
  comment: string | null;
9
- refundDate: Date;
9
+ refundDate: Date | null;
10
10
  processed: boolean;
11
11
  idRefundMotif: number;
12
12
  idSociety: number;
13
13
  idUserDemand: number;
14
- idFile: number;
14
+ idFile: number | null;
15
15
  createdAt?: Date | null;
16
16
  updatedAt?: Date | null;
17
17
  refundsMotif: IRefundMotif;
@@ -1 +1 @@
1
- {"version":3,"file":"IRefund.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IRefund.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,OAAO;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,IAAI,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,YAAY,EAAE,YAAY,CAAC;IAC3B,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC;IACZ,UAAU,EAAE,KAAK,CAAC;CACnB"}
1
+ {"version":3,"file":"IRefund.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IRefund.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM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