@silexpert/core 1.1.124 → 1.1.127

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 (136) hide show
  1. package/es/api/resources/Revision.d.ts +2 -1
  2. package/es/api/resources/Revision.d.ts.map +1 -1
  3. package/es/api/resources/Revision.js +3 -0
  4. package/es/api/resources/Revision.js.map +1 -1
  5. package/es/api/resources/Society.d.ts +2 -1
  6. package/es/api/resources/Society.d.ts.map +1 -1
  7. package/es/api/resources/Society.js +3 -0
  8. package/es/api/resources/Society.js.map +1 -1
  9. package/es/types/Enum/BrandClementine.js +5 -5
  10. package/es/types/Enum/BrandClementine.js.map +1 -1
  11. package/es/types/Enum/BrandPourcentage.js +6 -6
  12. package/es/types/Enum/BrandPourcentage.js.map +1 -1
  13. package/es/types/Enum/StatutsSection.js +1 -1
  14. package/es/types/Enum/StatutsSection.js.map +1 -1
  15. package/es/types/Interface/api/revision/Query.d.ts +69 -0
  16. package/es/types/Interface/api/revision/Query.d.ts.map +1 -0
  17. package/es/types/Interface/api/revision/Query.js +336 -0
  18. package/es/types/Interface/api/revision/Query.js.map +1 -0
  19. package/es/types/Interface/api/revision/Read.d.ts +121 -0
  20. package/es/types/Interface/api/revision/Read.d.ts.map +1 -0
  21. package/es/types/Interface/api/revision/Read.js +2 -0
  22. package/es/types/Interface/api/revision/Read.js.map +1 -0
  23. package/es/types/Interface/api/revision/Revision.d.ts +2 -0
  24. package/es/types/Interface/api/revision/Revision.d.ts.map +1 -1
  25. package/es/types/Interface/api/revision/Revision.js.map +1 -1
  26. package/es/types/Interface/api/society/QueryArchived.d.ts +8 -0
  27. package/es/types/Interface/api/society/QueryArchived.d.ts.map +1 -0
  28. package/es/types/Interface/api/{revision/QueryRevisionMergeIntoAccount.js → society/QueryArchived.js} +25 -22
  29. package/es/types/Interface/api/society/QueryArchived.js.map +1 -0
  30. package/es/types/Interface/models/IAccountDetail.d.ts +3 -0
  31. package/es/types/Interface/models/IAccountDetail.d.ts.map +1 -1
  32. package/es/types/Interface/models/IAccountDetail.js.map +1 -1
  33. package/es/types/index.d.ts +3 -10
  34. package/es/types/index.d.ts.map +1 -1
  35. package/es/types/index.js +3 -10
  36. package/es/types/index.js.map +1 -1
  37. package/js/api/resources/Revision.js +3 -0
  38. package/js/api/resources/Revision.js.map +1 -1
  39. package/js/api/resources/Society.js +5 -0
  40. package/js/api/resources/Society.js.map +1 -1
  41. package/js/types/Enum/BrandClementine.js +5 -5
  42. package/js/types/Enum/BrandClementine.js.map +1 -1
  43. package/js/types/Enum/BrandPourcentage.js +6 -6
  44. package/js/types/Enum/BrandPourcentage.js.map +1 -1
  45. package/js/types/Enum/StatutsSection.js +1 -1
  46. package/js/types/Enum/StatutsSection.js.map +1 -1
  47. package/js/types/Interface/api/revision/Query.js +131 -0
  48. package/js/types/Interface/api/revision/Query.js.map +1 -0
  49. package/js/types/Interface/api/revision/{ReadRevision.js → Read.js} +1 -1
  50. package/js/types/Interface/api/revision/Read.js.map +1 -0
  51. package/js/types/Interface/api/revision/Revision.js.map +1 -1
  52. package/js/types/Interface/api/society/QueryArchived.js +30 -0
  53. package/js/types/Interface/api/society/QueryArchived.js.map +1 -0
  54. package/js/types/Interface/models/IAccountDetail.js.map +1 -1
  55. package/js/types/index.js +85 -155
  56. package/js/types/index.js.map +1 -1
  57. package/package.json +1 -1
  58. package/ts/api/resources/Revision.ts +5 -0
  59. package/ts/api/resources/Society.ts +5 -0
  60. package/ts/types/Enum/BrandClementine.ts +5 -5
  61. package/ts/types/Enum/BrandPourcentage.ts +6 -6
  62. package/ts/types/Enum/StatutsSection.ts +1 -1
  63. package/ts/types/Interface/api/revision/Query.ts +279 -0
  64. package/ts/types/Interface/api/revision/Read.ts +123 -0
  65. package/ts/types/Interface/api/revision/Revision.ts +2 -0
  66. package/ts/types/Interface/api/society/QueryArchived.ts +29 -0
  67. package/ts/types/Interface/models/IAccountDetail.ts +3 -0
  68. package/ts/types/index.ts +3 -10
  69. package/es/types/Interface/api/revision/QueryRevision.d.ts +0 -10
  70. package/es/types/Interface/api/revision/QueryRevision.d.ts.map +0 -1
  71. package/es/types/Interface/api/revision/QueryRevision.js +0 -58
  72. package/es/types/Interface/api/revision/QueryRevision.js.map +0 -1
  73. package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts +0 -12
  74. package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts.map +0 -1
  75. package/es/types/Interface/api/revision/QueryRevisionAccount.js +0 -58
  76. package/es/types/Interface/api/revision/QueryRevisionAccount.js.map +0 -1
  77. package/es/types/Interface/api/revision/QueryRevisionApprobation.d.ts +0 -7
  78. package/es/types/Interface/api/revision/QueryRevisionApprobation.d.ts.map +0 -1
  79. package/es/types/Interface/api/revision/QueryRevisionApprobation.js +0 -34
  80. package/es/types/Interface/api/revision/QueryRevisionApprobation.js.map +0 -1
  81. package/es/types/Interface/api/revision/QueryRevisionMergeIntoAccount.d.ts +0 -8
  82. package/es/types/Interface/api/revision/QueryRevisionMergeIntoAccount.d.ts.map +0 -1
  83. package/es/types/Interface/api/revision/QueryRevisionMergeIntoAccount.js.map +0 -1
  84. package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts +0 -10
  85. package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts.map +0 -1
  86. package/es/types/Interface/api/revision/QueryRevisionPaginate.js +0 -58
  87. package/es/types/Interface/api/revision/QueryRevisionPaginate.js.map +0 -1
  88. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +0 -21
  89. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +0 -1
  90. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js +0 -126
  91. package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +0 -1
  92. package/es/types/Interface/api/revision/ReadRevision.d.ts +0 -15
  93. package/es/types/Interface/api/revision/ReadRevision.d.ts.map +0 -1
  94. package/es/types/Interface/api/revision/ReadRevision.js +0 -2
  95. package/es/types/Interface/api/revision/ReadRevision.js.map +0 -1
  96. package/es/types/Interface/api/revision/ReadRevisionAccount.d.ts +0 -42
  97. package/es/types/Interface/api/revision/ReadRevisionAccount.d.ts.map +0 -1
  98. package/es/types/Interface/api/revision/ReadRevisionAccount.js +0 -2
  99. package/es/types/Interface/api/revision/ReadRevisionAccount.js.map +0 -1
  100. package/es/types/Interface/api/revision/ReadRevisionMergeIntoAccount.d.ts +0 -4
  101. package/es/types/Interface/api/revision/ReadRevisionMergeIntoAccount.d.ts.map +0 -1
  102. package/es/types/Interface/api/revision/ReadRevisionMergeIntoAccount.js +0 -2
  103. package/es/types/Interface/api/revision/ReadRevisionMergeIntoAccount.js.map +0 -1
  104. package/es/types/Interface/api/revision/ReadRevisionTransactionDetail.d.ts +0 -60
  105. package/es/types/Interface/api/revision/ReadRevisionTransactionDetail.d.ts.map +0 -1
  106. package/es/types/Interface/api/revision/ReadRevisionTransactionDetail.js +0 -2
  107. package/es/types/Interface/api/revision/ReadRevisionTransactionDetail.js.map +0 -1
  108. package/js/types/Interface/api/revision/QueryRevision.js +0 -39
  109. package/js/types/Interface/api/revision/QueryRevision.js.map +0 -1
  110. package/js/types/Interface/api/revision/QueryRevisionAccount.js +0 -39
  111. package/js/types/Interface/api/revision/QueryRevisionAccount.js.map +0 -1
  112. package/js/types/Interface/api/revision/QueryRevisionApprobation.js +0 -25
  113. package/js/types/Interface/api/revision/QueryRevisionApprobation.js.map +0 -1
  114. package/js/types/Interface/api/revision/QueryRevisionMergeIntoAccount.js +0 -26
  115. package/js/types/Interface/api/revision/QueryRevisionMergeIntoAccount.js.map +0 -1
  116. package/js/types/Interface/api/revision/QueryRevisionPaginate.js +0 -39
  117. package/js/types/Interface/api/revision/QueryRevisionPaginate.js.map +0 -1
  118. package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js +0 -53
  119. package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +0 -1
  120. package/js/types/Interface/api/revision/ReadRevision.js.map +0 -1
  121. package/js/types/Interface/api/revision/ReadRevisionAccount.js +0 -6
  122. package/js/types/Interface/api/revision/ReadRevisionAccount.js.map +0 -1
  123. package/js/types/Interface/api/revision/ReadRevisionMergeIntoAccount.js +0 -6
  124. package/js/types/Interface/api/revision/ReadRevisionMergeIntoAccount.js.map +0 -1
  125. package/js/types/Interface/api/revision/ReadRevisionTransactionDetail.js +0 -6
  126. package/js/types/Interface/api/revision/ReadRevisionTransactionDetail.js.map +0 -1
  127. package/ts/types/Interface/api/revision/QueryRevision.ts +0 -40
  128. package/ts/types/Interface/api/revision/QueryRevisionAccount.ts +0 -43
  129. package/ts/types/Interface/api/revision/QueryRevisionApprobation.ts +0 -22
  130. package/ts/types/Interface/api/revision/QueryRevisionMergeIntoAccount.ts +0 -28
  131. package/ts/types/Interface/api/revision/QueryRevisionPaginate.ts +0 -40
  132. package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +0 -101
  133. package/ts/types/Interface/api/revision/ReadRevision.ts +0 -15
  134. package/ts/types/Interface/api/revision/ReadRevisionAccount.ts +0 -42
  135. package/ts/types/Interface/api/revision/ReadRevisionMergeIntoAccount.ts +0 -3
  136. package/ts/types/Interface/api/revision/ReadRevisionTransactionDetail.ts +0 -59
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ReadRevisionTransactionDetail.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadRevisionTransactionDetail.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/ReadRevisionTransactionDetail.ts"],"names":[],"mappings":"","sourcesContent":["import { IFile } from '../../..';\nimport { ThirdParty } from '../../../../api/resources/ThirdParty';\n\nexport interface ReadRevisionTransactionDetail {\n id: number;\n invoiceNumber: string | null;\n label: string | null;\n reference: string | null;\n dateValue: Date;\n dateLocked: Date | null;\n dateVerified: Date | null;\n originalValue: number | null;\n idUser: number | null;\n isBlocked: boolean;\n isMerged: boolean;\n isAsset: boolean;\n exported: Date | null;\n kilometers: number | null;\n internComment: string | null;\n invoiceRequested: boolean;\n idBankAccount: number | null;\n idSociety: number;\n idCurrency?: number | null;\n idSocietyVehicle: number | null;\n idSocietyPartner: number | null;\n idRule: number | null;\n idAccountingJournal: number;\n idEstimateInvoice: number | null;\n idEAF: number | null;\n file: IFile[] | null;\n accountingEntries: RevisionAccountingEntries[];\n user?: { firstname: string; lastname: string; };\n}\n\nexport interface RevisionAccountingEntries {\n id: number;\n master: boolean;\n dateValue: Date;\n designation: string;\n comment: string | null;\n debit: number;\n credit: number;\n isPerso: boolean;\n idInherit: number | null;\n idAccount: number | null;\n idThirdParty: number | null;\n idVat: number | null;\n idImmobilization?: number | null;\n account: RevisionAccount;\n thirdParty?: ThirdParty;\n}\n\nexport interface RevisionAccount {\n id: number;\n number: number;\n name: string;\n idParentAccount: number | null;\n idVat: number | null;\n}\n"]}
@@ -1,39 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.QueryRevision = undefined;
7
- var _classValidator = require("class-validator");
8
- var _ = require("../../../..");
9
- var _boolean = require("../../../../utils/transforms/boolean.transform");
10
- var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11
- var c = arguments.length,
12
- r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
13
- d;
14
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
15
- return c > 3 && r && Object.defineProperty(target, key, r), r;
16
- };
17
- var __metadata = undefined && undefined.__metadata || function (k, v) {
18
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
19
- };
20
- class QueryRevision {
21
- constructor() {
22
- // Interface paginate
23
- this.limit = 25;
24
- this.page = 1;
25
- }
26
- }
27
- exports.QueryRevision = QueryRevision;
28
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevision.prototype, "startDate", void 0);
29
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevision.prototype, "endDate", void 0);
30
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryRevision.prototype, "idSociety", void 0);
31
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevision.prototype, "orderBy", void 0);
32
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryRevision.prototype, "descending", void 0);
33
- __decorate([(0, _.ApiProperty)({
34
- default: 25
35
- }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevision.prototype, "limit", void 0);
36
- __decorate([(0, _.ApiProperty)({
37
- default: 1
38
- }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevision.prototype, "page", void 0);
39
- //# sourceMappingURL=QueryRevision.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevision.js","names":["_classValidator","require","_","_boolean","QueryRevision","constructor","limit","page","exports","__decorate","ApiProperty","IsDate","Date","IsInt","ApiPropertyOptional","IsString","IsOptional","IsBoolean","ToBoolean","default","IsNumber"],"sources":["../../../../../ts/types/Interface/api/revision/QueryRevision.ts"],"sourcesContent":["import {\n IsBoolean,\n IsDate, IsInt, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryRevision {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n orderBy?: 'designation' | 'amount' | 'number';\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAIA,IAAAC,CAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,aAAa;EAA1BC,YAAA;IAwBE;IAGE,KAAAC,KAAK,GAAY,EAAE;IAInB,KAAAC,IAAI,GAAY,CAAC;EACrB;;AAACC,OAAA,CAhCYJ,aAAa,GAAbA,aAAa;AACxBK,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAC,sBAAM,GAAE,E,0BACIC,IAAI,E,+CAAC;AAElBH,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAC,sBAAM,GAAE,E,0BACEC,IAAI,E,6CAAC;AAEhBH,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAG,qBAAK,GAAE,E,iFACY;AAEpBJ,UAAA,EAAC,IAAAK,qBAAmB,GAAE,EACrB,IAAAC,wBAAQ,GAAE,EACV,IAAAC,0BAAU,GAAE,E,+EACmC;AAEhDP,UAAA,EAAC,IAAAK,qBAAmB,GAAE,EACrB,IAAAG,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,EACX,IAAAF,0BAAU,GAAE,E,mFACU;AAGvBP,UAAA,EAAC,IAAAC,aAAW,EAAC;EAAES,OAAO,EAAE;AAAE,CAAE,CAAC,EAC5B,IAAAC,wBAAQ,GAAE,E,6EACW;AAEtBX,UAAA,EAAC,IAAAC,aAAW,EAAC;EAAES,OAAO,EAAE;AAAC,CAAE,CAAC,EAC3B,IAAAC,wBAAQ,GAAE,E,4EACS"}
@@ -1,39 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.QueryRevisionAccount = undefined;
7
- var _classValidator = require("class-validator");
8
- var _ = require("../../../..");
9
- var _utils = require("../../../../utils");
10
- var _boolean = require("../../../../utils/transforms/boolean.transform");
11
- var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
12
- var c = arguments.length,
13
- r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
14
- d;
15
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
16
- return c > 3 && r && Object.defineProperty(target, key, r), r;
17
- };
18
- var __metadata = undefined && undefined.__metadata || function (k, v) {
19
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
20
- };
21
- class QueryRevisionAccount {}
22
- exports.QueryRevisionAccount = QueryRevisionAccount;
23
- __decorate([(0, _.ApiProperty)({
24
- default: 1
25
- }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionAccount.prototype, "page", void 0);
26
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionAccount.prototype, "startDate", void 0);
27
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionAccount.prototype, "endDate", void 0);
28
- __decorate([(0, _utils.ApiPropertyOptional)({
29
- default: 25
30
- }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionAccount.prototype, "limit", void 0);
31
- __decorate([(0, _utils.ApiPropertyOptional)({
32
- default: 'date'
33
- }), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevisionAccount.prototype, "orderBy", void 0);
34
- __decorate([(0, _utils.ApiPropertyOptional)({
35
- default: true
36
- }), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryRevisionAccount.prototype, "descending", void 0);
37
- __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], QueryRevisionAccount.prototype, "isRevised", void 0);
38
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryRevisionAccount.prototype, "idSociety", void 0);
39
- //# sourceMappingURL=QueryRevisionAccount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionAccount.js","names":["_classValidator","require","_","_utils","_boolean","QueryRevisionAccount","exports","__decorate","ApiProperty","default","IsNumber","IsDate","Date","ApiPropertyOptional","IsString","IsOptional","IsBoolean","ToBoolean","IsInt"],"sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"sourcesContent":["import {\n IsBoolean,\n IsDate, IsInt, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, QueryPaginate } from '../../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryRevisionAccount implements QueryPaginate {\n @ApiProperty({ default: 1 })\n @IsNumber()\n page: number;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiPropertyOptional({ default: 25 })\n @IsNumber()\n limit: number;\n\n @ApiPropertyOptional({ default: 'date' })\n @IsString()\n @IsOptional()\n orderBy?: 'date' | 'designation' | 'idAccount' | 'debit' | 'credit';\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n isRevised?: boolean;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAIA,IAAAC,CAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;;;;;;;;;;;AAEM,MAAOI,oBAAoB;AAkChCC,OAAA,CAlCYD,oBAAoB,GAApBA,oBAAoB;AAC/BE,UAAA,EAAC,IAAAC,aAAW,EAAC;EAAEC,OAAO,EAAE;AAAC,CAAE,CAAC,EAC3B,IAAAC,wBAAQ,GAAE,E,mFACI;AAEfH,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAG,sBAAM,GAAE,E,0BACIC,IAAI,E,sDAAC;AAElBL,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAG,sBAAM,GAAE,E,0BACEC,IAAI,E,oDAAC;AAEhBL,UAAA,EAAC,IAAAM,0BAAmB,EAAC;EAAEJ,OAAO,EAAE;AAAE,CAAE,CAAC,EACpC,IAAAC,wBAAQ,GAAE,E,oFACK;AAEhBH,UAAA,EAAC,IAAAM,0BAAmB,EAAC;EAAEJ,OAAO,EAAE;AAAM,CAAE,CAAC,EACxC,IAAAK,wBAAQ,GAAE,EACV,IAAAC,0BAAU,GAAE,E,sFACyD;AAEtER,UAAA,EAAC,IAAAM,0BAAmB,EAAC;EAAEJ,OAAO,EAAE;AAAI,CAAE,CAAC,EACtC,IAAAO,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,EACX,IAAAF,0BAAU,GAAE,E,0FACU;AAEvBR,UAAA,EAAC,IAAAM,0BAAmB,GAAE,E,yFACA;AAEtBN,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAU,qBAAK,GAAE,E,wFACY"}
@@ -1,25 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.QueryRevisionApprobation = undefined;
7
- var _classValidator = require("class-validator");
8
- var _ = require("../../../..");
9
- var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10
- var c = arguments.length,
11
- r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
12
- d;
13
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
14
- return c > 3 && r && Object.defineProperty(target, key, r), r;
15
- };
16
- var __metadata = undefined && undefined.__metadata || function (k, v) {
17
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
18
- };
19
- class QueryRevisionApprobation {}
20
- exports.QueryRevisionApprobation = QueryRevisionApprobation;
21
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionApprobation.prototype, "startDate", void 0);
22
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionApprobation.prototype, "endDate", void 0);
23
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionApprobation.prototype, "idSociety", void 0);
24
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryRevisionApprobation.prototype, "comment", void 0);
25
- //# sourceMappingURL=QueryRevisionApprobation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionApprobation.js","names":["_classValidator","require","_","QueryRevisionApprobation","exports","__decorate","ApiProperty","IsDate","Date","IsNumber","ApiPropertyOptional","IsString"],"sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionApprobation.ts"],"sourcesContent":["import {\n IsDate, IsNumber, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\n\nexport class QueryRevisionApprobation {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsString()\n comment?: string;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,CAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,wBAAwB;AAgBpCC,OAAA,CAhBYD,wBAAwB,GAAxBA,wBAAwB;AACnCE,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAC,sBAAM,GAAE,E,0BACIC,IAAI,E,0DAAC;AAElBH,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAC,sBAAM,GAAE,E,0BACEC,IAAI,E,wDAAC;AAEhBH,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAG,wBAAQ,GAAE,E,4FACS;AAEpBJ,UAAA,EAAC,IAAAK,qBAAmB,GAAE,EACrB,IAAAC,wBAAQ,GAAE,E,0FACQ"}
@@ -1,26 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.QueryRevisionMergeIntoAccount = undefined;
7
- var _classValidator = require("class-validator");
8
- var _ = require("../../../..");
9
- var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
10
- var c = arguments.length,
11
- r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
12
- d;
13
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
14
- return c > 3 && r && Object.defineProperty(target, key, r), r;
15
- };
16
- var __metadata = undefined && undefined.__metadata || function (k, v) {
17
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
18
- };
19
- class QueryRevisionMergeIntoAccount {}
20
- exports.QueryRevisionMergeIntoAccount = QueryRevisionMergeIntoAccount;
21
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionMergeIntoAccount.prototype, "startDate", void 0);
22
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionMergeIntoAccount.prototype, "endDate", void 0);
23
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionMergeIntoAccount.prototype, "idSociety", void 0);
24
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsArray)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Array)], QueryRevisionMergeIntoAccount.prototype, "idAccounts", void 0);
25
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsArray)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Array)], QueryRevisionMergeIntoAccount.prototype, "idAccountingEntries", void 0);
26
- //# sourceMappingURL=QueryRevisionMergeIntoAccount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionMergeIntoAccount.js","names":["_classValidator","require","_","QueryRevisionMergeIntoAccount","exports","__decorate","ApiProperty","IsDate","Date","IsNumber","ApiPropertyOptional","IsArray","IsOptional","Array"],"sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionMergeIntoAccount.ts"],"sourcesContent":["import {\n IsArray, IsDate, IsNumber, IsOptional,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\n\nexport class QueryRevisionMergeIntoAccount {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n idAccounts?: Array<number>;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n idAccountingEntries?: Array<number>;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,CAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,6BAA6B;AAsBzCC,OAAA,CAtBYD,6BAA6B,GAA7BA,6BAA6B;AACxCE,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAC,sBAAM,GAAE,E,0BACIC,IAAI,E,+DAAC;AAElBH,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAC,sBAAM,GAAE,E,0BACEC,IAAI,E,6DAAC;AAEhBH,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAG,wBAAQ,GAAE,E,iGACS;AAEpBJ,UAAA,EAAC,IAAAK,qBAAmB,GAAE,EACrB,IAAAC,uBAAO,GAAE,EACT,IAAAC,0BAAU,GAAE,E,0BACEC,KAAK,E,gEAAS;AAE7BR,UAAA,EAAC,IAAAK,qBAAmB,GAAE,EACrB,IAAAC,uBAAO,GAAE,EACT,IAAAC,0BAAU,GAAE,E,0BACWC,KAAK,E,yEAAS"}
@@ -1,39 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.QueryRevisionPaginate = undefined;
7
- var _classValidator = require("class-validator");
8
- var _ = require("../../../..");
9
- var _boolean = require("../../../../utils/transforms/boolean.transform");
10
- var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11
- var c = arguments.length,
12
- r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
13
- d;
14
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
15
- return c > 3 && r && Object.defineProperty(target, key, r), r;
16
- };
17
- var __metadata = undefined && undefined.__metadata || function (k, v) {
18
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
19
- };
20
- class QueryRevisionPaginate {
21
- constructor() {
22
- // Interface paginate
23
- this.limit = 25;
24
- this.page = 1;
25
- }
26
- }
27
- exports.QueryRevisionPaginate = QueryRevisionPaginate;
28
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionPaginate.prototype, "startDate", void 0);
29
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionPaginate.prototype, "endDate", void 0);
30
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryRevisionPaginate.prototype, "idSociety", void 0);
31
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevisionPaginate.prototype, "orderBy", void 0);
32
- __decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryRevisionPaginate.prototype, "descending", void 0);
33
- __decorate([(0, _.ApiProperty)({
34
- default: 25
35
- }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionPaginate.prototype, "limit", void 0);
36
- __decorate([(0, _.ApiProperty)({
37
- default: 1
38
- }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionPaginate.prototype, "page", void 0);
39
- //# sourceMappingURL=QueryRevisionPaginate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionPaginate.js","names":["_classValidator","require","_","_boolean","QueryRevisionPaginate","constructor","limit","page","exports","__decorate","ApiProperty","IsDate","Date","IsInt","ApiPropertyOptional","IsString","IsOptional","IsBoolean","ToBoolean","default","IsNumber"],"sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionPaginate.ts"],"sourcesContent":["import {\n IsBoolean,\n IsDate, IsInt, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../..';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryRevisionPaginate {\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n orderBy?: 'designation' | 'amount' | 'number';\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAIA,IAAAC,CAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,qBAAqB;EAAlCC,YAAA;IAwBE;IAGE,KAAAC,KAAK,GAAY,EAAE;IAInB,KAAAC,IAAI,GAAY,CAAC;EACrB;;AAACC,OAAA,CAhCYJ,qBAAqB,GAArBA,qBAAqB;AAChCK,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAC,sBAAM,GAAE,E,0BACIC,IAAI,E,uDAAC;AAElBH,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAC,sBAAM,GAAE,E,0BACEC,IAAI,E,qDAAC;AAEhBH,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAG,qBAAK,GAAE,E,yFACY;AAEpBJ,UAAA,EAAC,IAAAK,qBAAmB,GAAE,EACrB,IAAAC,wBAAQ,GAAE,EACV,IAAAC,0BAAU,GAAE,E,uFACmC;AAEhDP,UAAA,EAAC,IAAAK,qBAAmB,GAAE,EACrB,IAAAG,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,EACX,IAAAF,0BAAU,GAAE,E,2FACU;AAGvBP,UAAA,EAAC,IAAAC,aAAW,EAAC;EAAES,OAAO,EAAE;AAAE,CAAE,CAAC,EAC5B,IAAAC,wBAAQ,GAAE,E,qFACW;AAEtBX,UAAA,EAAC,IAAAC,aAAW,EAAC;EAAES,OAAO,EAAE;AAAC,CAAE,CAAC,EAC3B,IAAAC,wBAAQ,GAAE,E,oFACS"}
@@ -1,53 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.QueryRevisionSearchEntries = undefined;
7
- var _classValidator = require("class-validator");
8
- var _ = require("../../../..");
9
- var _utils = require("../../../../utils");
10
- var _boolean = require("../../../../utils/transforms/boolean.transform");
11
- var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
12
- var c = arguments.length,
13
- r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
14
- d;
15
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
16
- return c > 3 && r && Object.defineProperty(target, key, r), r;
17
- };
18
- var __metadata = undefined && undefined.__metadata || function (k, v) {
19
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
20
- };
21
- class QueryRevisionSearchEntries {
22
- constructor() {
23
- // Interface paginate
24
- this.limit = 25;
25
- this.page = 1;
26
- }
27
- }
28
- exports.QueryRevisionSearchEntries = QueryRevisionSearchEntries;
29
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "idSociety", void 0);
30
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionSearchEntries.prototype, "startDate", void 0);
31
- __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionSearchEntries.prototype, "endDate", void 0);
32
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "idThirdParty", void 0);
33
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "amount", void 0);
34
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "difference", void 0);
35
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevisionSearchEntries.prototype, "designation", void 0);
36
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevisionSearchEntries.prototype, "startAccountNumber", void 0);
37
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevisionSearchEntries.prototype, "endAccountNumber", void 0);
38
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "minimumAmount", void 0);
39
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "maximumAmount", void 0);
40
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsArray)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Array)], QueryRevisionSearchEntries.prototype, "idsAccountingJournal", void 0);
41
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "type", void 0);
42
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryRevisionSearchEntries.prototype, "isRevised", void 0);
43
- __decorate([(0, _utils.ApiPropertyOptional)({
44
- default: 'date'
45
- }), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevisionSearchEntries.prototype, "orderBy", void 0);
46
- __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryRevisionSearchEntries.prototype, "descending", void 0);
47
- __decorate([(0, _.ApiProperty)({
48
- default: 25
49
- }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "limit", void 0);
50
- __decorate([(0, _.ApiProperty)({
51
- default: 1
52
- }), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionSearchEntries.prototype, "page", void 0);
53
- //# sourceMappingURL=QueryRevisionSearchEntries.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionSearchEntries.js","names":["_classValidator","require","_","_utils","_boolean","QueryRevisionSearchEntries","constructor","limit","page","exports","__decorate","ApiProperty","IsNumber","IsDate","Date","ApiPropertyOptional","IsOptional","IsString","IsArray","Array","IsBoolean","ToBoolean","default"],"sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts"],"sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiProperty } from '../../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryRevisionSearchEntries {\n // Mandatory\n @ApiProperty()\n @IsNumber()\n idSociety: number;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n // Optional\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amount?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n difference?: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n designation?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n startAccountNumber?: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n endAccountNumber?: string;\n\n // advanced search\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n minimumAmount?: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n maximumAmount?: number;\n\n @ApiPropertyOptional()\n @IsArray()\n @IsOptional()\n idsAccountingJournal?: Array<number>;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n type?: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isRevised?: boolean;\n\n @ApiPropertyOptional({ default: 'date' })\n @IsString()\n @IsOptional()\n orderBy?: 'date' | 'accountNumber' | 'amount' | 'designation' | 'vatRate' | 'debit' | 'credit';\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n // Interface paginate\n @ApiProperty({ default: 25 })\n @IsNumber()\n limit?: number = 25;\n\n @ApiProperty({ default: 1 })\n @IsNumber()\n page?: number = 1;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAKA,IAAAC,CAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;;;;;;;;;;;AAEM,MAAOI,0BAA0B;EAAvCC,YAAA;IAmFE;IAGE,KAAAC,KAAK,GAAY,EAAE;IAInB,KAAAC,IAAI,GAAY,CAAC;EACrB;;AAACC,OAAA,CA3FYJ,0BAA0B,GAA1BA,0BAA0B;AAErCK,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAC,wBAAQ,GAAE,E,8FACS;AAEpBF,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAE,sBAAM,GAAE,E,0BACIC,IAAI,E,4DAAC;AAElBJ,UAAA,EAAC,IAAAC,aAAW,GAAE,EACb,IAAAE,sBAAM,GAAE,E,0BACEC,IAAI,E,0DAAC;AAGhBJ,UAAA,EAAC,IAAAK,0BAAmB,GAAE,EACrB,IAAAH,wBAAQ,GAAE,EACV,IAAAI,0BAAU,GAAE,E,iGACW;AAExBN,UAAA,EAAC,IAAAK,0BAAmB,GAAE,EACrB,IAAAH,wBAAQ,GAAE,EACV,IAAAI,0BAAU,GAAE,E,2FACK;AAElBN,UAAA,EAAC,IAAAK,0BAAmB,GAAE,EACrB,IAAAH,wBAAQ,GAAE,EACV,IAAAI,0BAAU,GAAE,E,+FACS;AAEtBN,UAAA,EAAC,IAAAK,0BAAmB,GAAE,EACrB,IAAAE,wBAAQ,GAAE,EACV,IAAAD,0BAAU,GAAE,E,gGACU;AAEvBN,UAAA,EAAC,IAAAK,0BAAmB,GAAE,EACrB,IAAAE,wBAAQ,GAAE,EACV,IAAAD,0BAAU,GAAE,E,uGACiB;AAE9BN,UAAA,EAAC,IAAAK,0BAAmB,GAAE,EACrB,IAAAE,wBAAQ,GAAE,EACV,IAAAD,0BAAU,GAAE,E,qGACe;AAG5BN,UAAA,EAAC,IAAAK,0BAAmB,GAAE,EACrB,IAAAH,wBAAQ,GAAE,EACV,IAAAI,0BAAU,GAAE,E,kGACY;AAEzBN,UAAA,EAAC,IAAAK,0BAAmB,GAAE,EACrB,IAAAH,wBAAQ,GAAE,EACV,IAAAI,0BAAU,GAAE,E,kGACY;AAEzBN,UAAA,EAAC,IAAAK,0BAAmB,GAAE,EACrB,IAAAG,uBAAO,GAAE,EACT,IAAAF,0BAAU,GAAE,E,0BACYG,KAAK,E,uEAAS;AAEvCT,UAAA,EAAC,IAAAK,0BAAmB,GAAE,EACrB,IAAAH,wBAAQ,GAAE,EACV,IAAAI,0BAAU,GAAE,E,yFACG;AAEhBN,UAAA,EAAC,IAAAK,0BAAmB,GAAE,EACrB,IAAAK,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,EACX,IAAAL,0BAAU,GAAE,E,+FACS;AAEtBN,UAAA,EAAC,IAAAK,0BAAmB,EAAC;EAAEO,OAAO,EAAE;AAAM,CAAE,CAAC,EACxC,IAAAL,wBAAQ,GAAE,EACV,IAAAD,0BAAU,GAAE,E,4FACoF;AAEjGN,UAAA,EAAC,IAAAK,0BAAmB,GAAE,EACrB,IAAAK,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,EACX,IAAAL,0BAAU,GAAE,E,gGACU;AAGvBN,UAAA,EAAC,IAAAC,aAAW,EAAC;EAAEW,OAAO,EAAE;AAAE,CAAE,CAAC,EAC5B,IAAAV,wBAAQ,GAAE,E,0FACW;AAEtBF,UAAA,EAAC,IAAAC,aAAW,EAAC;EAAEW,OAAO,EAAE;AAAC,CAAE,CAAC,EAC3B,IAAAV,wBAAQ,GAAE,E,yFACS"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadRevision.js","names":[],"sources":["../../../../../ts/types/Interface/api/revision/ReadRevision.ts"],"sourcesContent":["import { IAccountDetail } from '../../models/IAccountDetail';\n\nexport interface ReadRevision {\n balance: number;\n account: {\n id: number,\n name: string | null,\n number: number | null,\n accountDetails: Array<IAccountDetail>\n },\n unlocked: number | null;\n locked: number | null;\n previousBalance: number;\n nextBalance: number;\n}"],"mappings":""}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=ReadRevisionAccount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadRevisionAccount.js","names":[],"sources":["../../../../../ts/types/Interface/api/revision/ReadRevisionAccount.ts"],"sourcesContent":["import {\n IAccountDetail,\n IAccountingFile, IAccountingJournal, ILettering, IUser,\n} from '../../..';\n\nexport interface ReadRevisionAccount {\n id: number;\n master: boolean;\n dateValue: Date;\n designation: string | null;\n comment: string | null;\n debit: number;\n credit: number;\n isPerso: boolean;\n autoAnnotate: boolean;\n idInherit: number | null;\n idAccount: number;\n idThirdParty: number;\n idAccountingTransaction: number;\n idVat: number | null;\n idImmobilization: number | null;\n idLettering?: number | null;\n lettering?: ILettering;\n createdAt: Date;\n updatedAt: Date;\n accountingTransaction: {\n id: number;\n idBankAccount: number,\n dateLocked: Date | null;\n dateVerified: Date | null;\n idUser: number | null;\n exported: Date | null;\n idAccountingJournal: number;\n accountingFiles: Array<IAccountingFile>;\n accountingJournal: IAccountingJournal;\n user: IUser;\n },\n accountDetails: IAccountDetail[],\n thirdParty: { id: number, fullname: string } | null,\n calculatedVat?: number[];\n balance: number | null;\n}"],"mappings":""}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=ReadRevisionMergeIntoAccount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadRevisionMergeIntoAccount.js","names":[],"sources":["../../../../../ts/types/Interface/api/revision/ReadRevisionMergeIntoAccount.ts"],"sourcesContent":["export interface ReadRevisionMergeIntoAccount {\n updated: number;\n}"],"mappings":""}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=ReadRevisionTransactionDetail.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadRevisionTransactionDetail.js","names":[],"sources":["../../../../../ts/types/Interface/api/revision/ReadRevisionTransactionDetail.ts"],"sourcesContent":["import { IFile } from '../../..';\nimport { ThirdParty } from '../../../../api/resources/ThirdParty';\n\nexport interface ReadRevisionTransactionDetail {\n id: number;\n invoiceNumber: string | null;\n label: string | null;\n reference: string | null;\n dateValue: Date;\n dateLocked: Date | null;\n dateVerified: Date | null;\n originalValue: number | null;\n idUser: number | null;\n isBlocked: boolean;\n isMerged: boolean;\n isAsset: boolean;\n exported: Date | null;\n kilometers: number | null;\n internComment: string | null;\n invoiceRequested: boolean;\n idBankAccount: number | null;\n idSociety: number;\n idCurrency?: number | null;\n idSocietyVehicle: number | null;\n idSocietyPartner: number | null;\n idRule: number | null;\n idAccountingJournal: number;\n idEstimateInvoice: number | null;\n idEAF: number | null;\n file: IFile[] | null;\n accountingEntries: RevisionAccountingEntries[];\n user?: { firstname: string; lastname: string; };\n}\n\nexport interface RevisionAccountingEntries {\n id: number;\n master: boolean;\n dateValue: Date;\n designation: string;\n comment: string | null;\n debit: number;\n credit: number;\n isPerso: boolean;\n idInherit: number | null;\n idAccount: number | null;\n idThirdParty: number | null;\n idVat: number | null;\n idImmobilization?: number | null;\n account: RevisionAccount;\n thirdParty?: ThirdParty;\n}\n\nexport interface RevisionAccount {\n id: number;\n number: number;\n name: string;\n idParentAccount: number | null;\n idVat: number | null;\n}\n"],"mappings":""}
@@ -1,40 +0,0 @@
1
- import {
2
- IsBoolean,
3
- IsDate, IsInt, IsNumber, IsOptional, IsString,
4
- } from 'class-validator';
5
- import { ApiProperty, ApiPropertyOptional } from '../../../..';
6
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
7
-
8
- export class QueryRevision {
9
- @ApiProperty()
10
- @IsDate()
11
- startDate: Date;
12
-
13
- @ApiProperty()
14
- @IsDate()
15
- endDate: Date;
16
-
17
- @ApiProperty()
18
- @IsInt()
19
- idSociety: number;
20
-
21
- @ApiPropertyOptional()
22
- @IsString()
23
- @IsOptional()
24
- orderBy?: 'designation' | 'amount' | 'number';
25
-
26
- @ApiPropertyOptional()
27
- @IsBoolean()
28
- @ToBoolean()
29
- @IsOptional()
30
- descending?: boolean;
31
-
32
- // Interface paginate
33
- @ApiProperty({ default: 25 })
34
- @IsNumber()
35
- limit?: number = 25;
36
-
37
- @ApiProperty({ default: 1 })
38
- @IsNumber()
39
- page?: number = 1;
40
- }
@@ -1,43 +0,0 @@
1
- import {
2
- IsBoolean,
3
- IsDate, IsInt, IsNumber, IsOptional, IsString,
4
- } from 'class-validator';
5
- import { ApiProperty, QueryPaginate } from '../../../..';
6
- import { ApiPropertyOptional } from '../../../../utils';
7
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
8
-
9
- export class QueryRevisionAccount implements QueryPaginate {
10
- @ApiProperty({ default: 1 })
11
- @IsNumber()
12
- page: number;
13
-
14
- @ApiProperty()
15
- @IsDate()
16
- startDate: Date;
17
-
18
- @ApiProperty()
19
- @IsDate()
20
- endDate: Date;
21
-
22
- @ApiPropertyOptional({ default: 25 })
23
- @IsNumber()
24
- limit: number;
25
-
26
- @ApiPropertyOptional({ default: 'date' })
27
- @IsString()
28
- @IsOptional()
29
- orderBy?: 'date' | 'designation' | 'idAccount' | 'debit' | 'credit';
30
-
31
- @ApiPropertyOptional({ default: true })
32
- @IsBoolean()
33
- @ToBoolean()
34
- @IsOptional()
35
- descending?: boolean;
36
-
37
- @ApiPropertyOptional()
38
- isRevised?: boolean;
39
-
40
- @ApiProperty()
41
- @IsInt()
42
- idSociety: number;
43
- }
@@ -1,22 +0,0 @@
1
- import {
2
- IsDate, IsNumber, IsString,
3
- } from 'class-validator';
4
- import { ApiProperty, ApiPropertyOptional } from '../../../..';
5
-
6
- export class QueryRevisionApprobation {
7
- @ApiProperty()
8
- @IsDate()
9
- startDate: Date;
10
-
11
- @ApiProperty()
12
- @IsDate()
13
- endDate: Date;
14
-
15
- @ApiProperty()
16
- @IsNumber()
17
- idSociety: number;
18
-
19
- @ApiPropertyOptional()
20
- @IsString()
21
- comment?: string;
22
- }
@@ -1,28 +0,0 @@
1
- import {
2
- IsArray, IsDate, IsNumber, IsOptional,
3
- } from 'class-validator';
4
- import { ApiProperty, ApiPropertyOptional } from '../../../..';
5
-
6
- export class QueryRevisionMergeIntoAccount {
7
- @ApiProperty()
8
- @IsDate()
9
- startDate: Date;
10
-
11
- @ApiProperty()
12
- @IsDate()
13
- endDate: Date;
14
-
15
- @ApiProperty()
16
- @IsNumber()
17
- idSociety: number;
18
-
19
- @ApiPropertyOptional()
20
- @IsArray()
21
- @IsOptional()
22
- idAccounts?: Array<number>;
23
-
24
- @ApiPropertyOptional()
25
- @IsArray()
26
- @IsOptional()
27
- idAccountingEntries?: Array<number>;
28
- }
@@ -1,40 +0,0 @@
1
- import {
2
- IsBoolean,
3
- IsDate, IsInt, IsNumber, IsOptional, IsString,
4
- } from 'class-validator';
5
- import { ApiProperty, ApiPropertyOptional } from '../../../..';
6
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
7
-
8
- export class QueryRevisionPaginate {
9
- @ApiProperty()
10
- @IsDate()
11
- startDate: Date;
12
-
13
- @ApiProperty()
14
- @IsDate()
15
- endDate: Date;
16
-
17
- @ApiProperty()
18
- @IsInt()
19
- idSociety: number;
20
-
21
- @ApiPropertyOptional()
22
- @IsString()
23
- @IsOptional()
24
- orderBy?: 'designation' | 'amount' | 'number';
25
-
26
- @ApiPropertyOptional()
27
- @IsBoolean()
28
- @ToBoolean()
29
- @IsOptional()
30
- descending?: boolean;
31
-
32
- // Interface paginate
33
- @ApiProperty({ default: 25 })
34
- @IsNumber()
35
- limit?: number = 25;
36
-
37
- @ApiProperty({ default: 1 })
38
- @IsNumber()
39
- page?: number = 1;
40
- }
@@ -1,101 +0,0 @@
1
- import {
2
- IsArray,
3
- IsBoolean,
4
- IsDate, IsNumber, IsOptional, IsString,
5
- } from 'class-validator';
6
- import { ApiProperty } from '../../../..';
7
- import { ApiPropertyOptional } from '../../../../utils';
8
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
9
-
10
- export class QueryRevisionSearchEntries {
11
- // Mandatory
12
- @ApiProperty()
13
- @IsNumber()
14
- idSociety: number;
15
-
16
- @ApiProperty()
17
- @IsDate()
18
- startDate: Date;
19
-
20
- @ApiProperty()
21
- @IsDate()
22
- endDate: Date;
23
-
24
- // Optional
25
- @ApiPropertyOptional()
26
- @IsNumber()
27
- @IsOptional()
28
- idThirdParty?: number;
29
-
30
- @ApiPropertyOptional()
31
- @IsNumber()
32
- @IsOptional()
33
- amount?: number;
34
-
35
- @ApiPropertyOptional()
36
- @IsNumber()
37
- @IsOptional()
38
- difference?: number;
39
-
40
- @ApiPropertyOptional()
41
- @IsString()
42
- @IsOptional()
43
- designation?: string;
44
-
45
- @ApiPropertyOptional()
46
- @IsString()
47
- @IsOptional()
48
- startAccountNumber?: string;
49
-
50
- @ApiPropertyOptional()
51
- @IsString()
52
- @IsOptional()
53
- endAccountNumber?: string;
54
-
55
- // advanced search
56
- @ApiPropertyOptional()
57
- @IsNumber()
58
- @IsOptional()
59
- minimumAmount?: number;
60
-
61
- @ApiPropertyOptional()
62
- @IsNumber()
63
- @IsOptional()
64
- maximumAmount?: number;
65
-
66
- @ApiPropertyOptional()
67
- @IsArray()
68
- @IsOptional()
69
- idsAccountingJournal?: Array<number>;
70
-
71
- @ApiPropertyOptional()
72
- @IsNumber()
73
- @IsOptional()
74
- type?: number;
75
-
76
- @ApiPropertyOptional()
77
- @IsBoolean()
78
- @ToBoolean()
79
- @IsOptional()
80
- isRevised?: boolean;
81
-
82
- @ApiPropertyOptional({ default: 'date' })
83
- @IsString()
84
- @IsOptional()
85
- orderBy?: 'date' | 'accountNumber' | 'amount' | 'designation' | 'vatRate' | 'debit' | 'credit';
86
-
87
- @ApiPropertyOptional()
88
- @IsBoolean()
89
- @ToBoolean()
90
- @IsOptional()
91
- descending?: boolean;
92
-
93
- // Interface paginate
94
- @ApiProperty({ default: 25 })
95
- @IsNumber()
96
- limit?: number = 25;
97
-
98
- @ApiProperty({ default: 1 })
99
- @IsNumber()
100
- page?: number = 1;
101
- }
@@ -1,15 +0,0 @@
1
- import { IAccountDetail } from '../../models/IAccountDetail';
2
-
3
- export interface ReadRevision {
4
- balance: number;
5
- account: {
6
- id: number,
7
- name: string | null,
8
- number: number | null,
9
- accountDetails: Array<IAccountDetail>
10
- },
11
- unlocked: number | null;
12
- locked: number | null;
13
- previousBalance: number;
14
- nextBalance: number;
15
- }