@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,58 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, } from 'class-validator';
11
- import { ApiProperty, ApiPropertyOptional } from '../../../..';
12
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
- export class QueryRevision {
14
- constructor() {
15
- // Interface paginate
16
- this.limit = 25;
17
- this.page = 1;
18
- }
19
- }
20
- __decorate([
21
- ApiProperty(),
22
- IsDate(),
23
- __metadata("design:type", Date)
24
- ], QueryRevision.prototype, "startDate", void 0);
25
- __decorate([
26
- ApiProperty(),
27
- IsDate(),
28
- __metadata("design:type", Date)
29
- ], QueryRevision.prototype, "endDate", void 0);
30
- __decorate([
31
- ApiProperty(),
32
- IsInt(),
33
- __metadata("design:type", Number)
34
- ], QueryRevision.prototype, "idSociety", void 0);
35
- __decorate([
36
- ApiPropertyOptional(),
37
- IsString(),
38
- IsOptional(),
39
- __metadata("design:type", String)
40
- ], QueryRevision.prototype, "orderBy", void 0);
41
- __decorate([
42
- ApiPropertyOptional(),
43
- IsBoolean(),
44
- ToBoolean(),
45
- IsOptional(),
46
- __metadata("design:type", Boolean)
47
- ], QueryRevision.prototype, "descending", void 0);
48
- __decorate([
49
- ApiProperty({ default: 25 }),
50
- IsNumber(),
51
- __metadata("design:type", Number)
52
- ], QueryRevision.prototype, "limit", void 0);
53
- __decorate([
54
- ApiProperty({ default: 1 }),
55
- IsNumber(),
56
- __metadata("design:type", Number)
57
- ], QueryRevision.prototype, "page", void 0);
58
- //# sourceMappingURL=QueryRevision.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevision.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevision.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GAC9C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,aAAa;IAA1B;QAwBE,qBAAqB;QAGnB,UAAK,GAAY,EAAE,CAAC;QAIpB,SAAI,GAAY,CAAC,CAAC;IACtB,CAAC;CAAA;AA/BC;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACI,IAAI;gDAAC;AAElB;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;8CAAC;AAEhB;IAAC,WAAW,EAAE;IACb,KAAK,EAAE;;gDACY;AAEpB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8CACmC;AAEhD;IAAC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;iDACU;AAGvB;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;4CACW;AAEtB;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;2CACS","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}"]}
@@ -1,12 +0,0 @@
1
- import { QueryPaginate } from '../../../..';
2
- export declare class QueryRevisionAccount implements QueryPaginate {
3
- page: number;
4
- startDate: Date;
5
- endDate: Date;
6
- limit: number;
7
- orderBy?: 'date' | 'designation' | 'idAccount' | 'debit' | 'credit';
8
- descending?: boolean;
9
- isRevised?: boolean;
10
- idSociety: number;
11
- }
12
- //# sourceMappingURL=QueryRevisionAccount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionAccount.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"names":[],"mappings":"AAIA,OAAO,EAAe,aAAa,EAAE,MAAM,aAAa,CAAC;AAIzD,qBAAa,oBAAqB,YAAW,aAAa;IAGtD,IAAI,EAAE,MAAM,CAAC;IAIb,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,KAAK,EAAE,MAAM,CAAC;IAKd,OAAO,CAAC,EAAE,MAAM,GAAG,aAAa,GAAG,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAC;IAMpE,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,SAAS,EAAE,MAAM,CAAC;CACrB"}
@@ -1,58 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, } from 'class-validator';
11
- import { ApiProperty } from '../../../..';
12
- import { ApiPropertyOptional } from '../../../../utils';
13
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
14
- export class QueryRevisionAccount {
15
- }
16
- __decorate([
17
- ApiProperty({ default: 1 }),
18
- IsNumber(),
19
- __metadata("design:type", Number)
20
- ], QueryRevisionAccount.prototype, "page", void 0);
21
- __decorate([
22
- ApiProperty(),
23
- IsDate(),
24
- __metadata("design:type", Date)
25
- ], QueryRevisionAccount.prototype, "startDate", void 0);
26
- __decorate([
27
- ApiProperty(),
28
- IsDate(),
29
- __metadata("design:type", Date)
30
- ], QueryRevisionAccount.prototype, "endDate", void 0);
31
- __decorate([
32
- ApiPropertyOptional({ default: 25 }),
33
- IsNumber(),
34
- __metadata("design:type", Number)
35
- ], QueryRevisionAccount.prototype, "limit", void 0);
36
- __decorate([
37
- ApiPropertyOptional({ default: 'date' }),
38
- IsString(),
39
- IsOptional(),
40
- __metadata("design:type", String)
41
- ], QueryRevisionAccount.prototype, "orderBy", void 0);
42
- __decorate([
43
- ApiPropertyOptional({ default: true }),
44
- IsBoolean(),
45
- ToBoolean(),
46
- IsOptional(),
47
- __metadata("design:type", Boolean)
48
- ], QueryRevisionAccount.prototype, "descending", void 0);
49
- __decorate([
50
- ApiPropertyOptional(),
51
- __metadata("design:type", Boolean)
52
- ], QueryRevisionAccount.prototype, "isRevised", void 0);
53
- __decorate([
54
- ApiProperty(),
55
- IsInt(),
56
- __metadata("design:type", Number)
57
- ], QueryRevisionAccount.prototype, "idSociety", void 0);
58
- //# sourceMappingURL=QueryRevisionAccount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionAccount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GAC9C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAiB,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,oBAAoB;CAkChC;AAjCC;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;kDACI;AAEf;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACI,IAAI;uDAAC;AAElB;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;qDAAC;AAEhB;IAAC,mBAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACpC,QAAQ,EAAE;;mDACK;AAEhB;IAAC,mBAAmB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IACxC,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACyD;AAEtE;IAAC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;wDACU;AAEvB;IAAC,mBAAmB,EAAE;;uDACA;AAEtB;IAAC,WAAW,EAAE;IACb,KAAK,EAAE;;uDACY","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}"]}
@@ -1,7 +0,0 @@
1
- export declare class QueryRevisionApprobation {
2
- startDate: Date;
3
- endDate: Date;
4
- idSociety: number;
5
- comment?: string;
6
- }
7
- //# sourceMappingURL=QueryRevisionApprobation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionApprobation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionApprobation.ts"],"names":[],"mappings":"AAKA,qBAAa,wBAAwB;IAGjC,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1,34 +0,0 @@
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 { IsDate, IsNumber, IsString, } from 'class-validator';
11
- import { ApiProperty, ApiPropertyOptional } from '../../../..';
12
- export class QueryRevisionApprobation {
13
- }
14
- __decorate([
15
- ApiProperty(),
16
- IsDate(),
17
- __metadata("design:type", Date)
18
- ], QueryRevisionApprobation.prototype, "startDate", void 0);
19
- __decorate([
20
- ApiProperty(),
21
- IsDate(),
22
- __metadata("design:type", Date)
23
- ], QueryRevisionApprobation.prototype, "endDate", void 0);
24
- __decorate([
25
- ApiProperty(),
26
- IsNumber(),
27
- __metadata("design:type", Number)
28
- ], QueryRevisionApprobation.prototype, "idSociety", void 0);
29
- __decorate([
30
- ApiPropertyOptional(),
31
- IsString(),
32
- __metadata("design:type", String)
33
- ], QueryRevisionApprobation.prototype, "comment", void 0);
34
- //# sourceMappingURL=QueryRevisionApprobation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionApprobation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionApprobation.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAC3B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE/D,MAAM,OAAO,wBAAwB;CAgBpC;AAfC;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACI,IAAI;2DAAC;AAElB;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;yDAAC;AAEhB;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;2DACS;AAEpB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;;yDACQ","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}"]}
@@ -1,8 +0,0 @@
1
- export declare class QueryRevisionMergeIntoAccount {
2
- startDate: Date;
3
- endDate: Date;
4
- idSociety: number;
5
- idAccounts?: Array<number>;
6
- idAccountingEntries?: Array<number>;
7
- }
8
- //# sourceMappingURL=QueryRevisionMergeIntoAccount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionMergeIntoAccount.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionMergeIntoAccount.ts"],"names":[],"mappings":"AAKA,qBAAa,6BAA6B;IAGtC,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,SAAS,EAAE,MAAM,CAAC;IAKlB,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAK3B,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACvC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionMergeIntoAccount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionMergeIntoAccount.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,GACtC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE/D,MAAM,OAAO,6BAA6B;CAsBzC;AArBC;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACI,IAAI;gEAAC;AAElB;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;8DAAC;AAEhB;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;gEACS;AAEpB;IAAC,mBAAmB,EAAE;IACrB,OAAO,EAAE;IACT,UAAU,EAAE;8BACE,KAAK;iEAAS;AAE7B;IAAC,mBAAmB,EAAE;IACrB,OAAO,EAAE;IACT,UAAU,EAAE;8BACW,KAAK;0EAAS","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}"]}
@@ -1,10 +0,0 @@
1
- export declare class QueryRevisionPaginate {
2
- startDate: Date;
3
- endDate: Date;
4
- idSociety: number;
5
- orderBy?: 'designation' | 'amount' | 'number';
6
- descending?: boolean;
7
- limit?: number;
8
- page?: number;
9
- }
10
- //# sourceMappingURL=QueryRevisionPaginate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionPaginate.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionPaginate.ts"],"names":[],"mappings":"AAOA,qBAAa,qBAAqB;IAG9B,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,SAAS,EAAE,MAAM,CAAC;IAKlB,OAAO,CAAC,EAAE,aAAa,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAM9C,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAM;IAIpB,IAAI,CAAC,EAAE,MAAM,CAAK;CACrB"}
@@ -1,58 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, } from 'class-validator';
11
- import { ApiProperty, ApiPropertyOptional } from '../../../..';
12
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
- export class QueryRevisionPaginate {
14
- constructor() {
15
- // Interface paginate
16
- this.limit = 25;
17
- this.page = 1;
18
- }
19
- }
20
- __decorate([
21
- ApiProperty(),
22
- IsDate(),
23
- __metadata("design:type", Date)
24
- ], QueryRevisionPaginate.prototype, "startDate", void 0);
25
- __decorate([
26
- ApiProperty(),
27
- IsDate(),
28
- __metadata("design:type", Date)
29
- ], QueryRevisionPaginate.prototype, "endDate", void 0);
30
- __decorate([
31
- ApiProperty(),
32
- IsInt(),
33
- __metadata("design:type", Number)
34
- ], QueryRevisionPaginate.prototype, "idSociety", void 0);
35
- __decorate([
36
- ApiPropertyOptional(),
37
- IsString(),
38
- IsOptional(),
39
- __metadata("design:type", String)
40
- ], QueryRevisionPaginate.prototype, "orderBy", void 0);
41
- __decorate([
42
- ApiPropertyOptional(),
43
- IsBoolean(),
44
- ToBoolean(),
45
- IsOptional(),
46
- __metadata("design:type", Boolean)
47
- ], QueryRevisionPaginate.prototype, "descending", void 0);
48
- __decorate([
49
- ApiProperty({ default: 25 }),
50
- IsNumber(),
51
- __metadata("design:type", Number)
52
- ], QueryRevisionPaginate.prototype, "limit", void 0);
53
- __decorate([
54
- ApiProperty({ default: 1 }),
55
- IsNumber(),
56
- __metadata("design:type", Number)
57
- ], QueryRevisionPaginate.prototype, "page", void 0);
58
- //# sourceMappingURL=QueryRevisionPaginate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionPaginate.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionPaginate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GAC9C,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,qBAAqB;IAAlC;QAwBE,qBAAqB;QAGnB,UAAK,GAAY,EAAE,CAAC;QAIpB,SAAI,GAAY,CAAC,CAAC;IACtB,CAAC;CAAA;AA/BC;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACI,IAAI;wDAAC;AAElB;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;sDAAC;AAEhB;IAAC,WAAW,EAAE;IACb,KAAK,EAAE;;wDACY;AAEpB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sDACmC;AAEhD;IAAC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;yDACU;AAGvB;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;oDACW;AAEtB;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;mDACS","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}"]}
@@ -1,21 +0,0 @@
1
- export declare class QueryRevisionSearchEntries {
2
- idSociety: number;
3
- startDate: Date;
4
- endDate: Date;
5
- idThirdParty?: number;
6
- amount?: number;
7
- difference?: number;
8
- designation?: string;
9
- startAccountNumber?: string;
10
- endAccountNumber?: string;
11
- minimumAmount?: number;
12
- maximumAmount?: number;
13
- idsAccountingJournal?: Array<number>;
14
- type?: number;
15
- isRevised?: boolean;
16
- orderBy?: 'date' | 'accountNumber' | 'amount' | 'designation' | 'vatRate' | 'debit' | 'credit';
17
- descending?: boolean;
18
- limit?: number;
19
- page?: number;
20
- }
21
- //# sourceMappingURL=QueryRevisionSearchEntries.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionSearchEntries.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts"],"names":[],"mappings":"AASA,qBAAa,0BAA0B;IAInC,SAAS,EAAE,MAAM,CAAC;IAIlB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAMd,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAM1B,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,oBAAoB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAKrC,IAAI,CAAC,EAAE,MAAM,CAAC;IAMd,SAAS,CAAC,EAAE,OAAO,CAAC;IAKpB,OAAO,CAAC,EAAE,MAAM,GAAG,eAAe,GAAG,QAAQ,GAAG,aAAa,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;IAM/F,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAM;IAIpB,IAAI,CAAC,EAAE,MAAM,CAAK;CACrB"}
@@ -1,126 +0,0 @@
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 { IsArray, IsBoolean, IsDate, IsNumber, IsOptional, IsString, } from 'class-validator';
11
- import { ApiProperty } from '../../../..';
12
- import { ApiPropertyOptional } from '../../../../utils';
13
- import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
14
- export class QueryRevisionSearchEntries {
15
- constructor() {
16
- // Interface paginate
17
- this.limit = 25;
18
- this.page = 1;
19
- }
20
- }
21
- __decorate([
22
- ApiProperty(),
23
- IsNumber(),
24
- __metadata("design:type", Number)
25
- ], QueryRevisionSearchEntries.prototype, "idSociety", void 0);
26
- __decorate([
27
- ApiProperty(),
28
- IsDate(),
29
- __metadata("design:type", Date)
30
- ], QueryRevisionSearchEntries.prototype, "startDate", void 0);
31
- __decorate([
32
- ApiProperty(),
33
- IsDate(),
34
- __metadata("design:type", Date)
35
- ], QueryRevisionSearchEntries.prototype, "endDate", void 0);
36
- __decorate([
37
- ApiPropertyOptional(),
38
- IsNumber(),
39
- IsOptional(),
40
- __metadata("design:type", Number)
41
- ], QueryRevisionSearchEntries.prototype, "idThirdParty", void 0);
42
- __decorate([
43
- ApiPropertyOptional(),
44
- IsNumber(),
45
- IsOptional(),
46
- __metadata("design:type", Number)
47
- ], QueryRevisionSearchEntries.prototype, "amount", void 0);
48
- __decorate([
49
- ApiPropertyOptional(),
50
- IsNumber(),
51
- IsOptional(),
52
- __metadata("design:type", Number)
53
- ], QueryRevisionSearchEntries.prototype, "difference", void 0);
54
- __decorate([
55
- ApiPropertyOptional(),
56
- IsString(),
57
- IsOptional(),
58
- __metadata("design:type", String)
59
- ], QueryRevisionSearchEntries.prototype, "designation", void 0);
60
- __decorate([
61
- ApiPropertyOptional(),
62
- IsString(),
63
- IsOptional(),
64
- __metadata("design:type", String)
65
- ], QueryRevisionSearchEntries.prototype, "startAccountNumber", void 0);
66
- __decorate([
67
- ApiPropertyOptional(),
68
- IsString(),
69
- IsOptional(),
70
- __metadata("design:type", String)
71
- ], QueryRevisionSearchEntries.prototype, "endAccountNumber", void 0);
72
- __decorate([
73
- ApiPropertyOptional(),
74
- IsNumber(),
75
- IsOptional(),
76
- __metadata("design:type", Number)
77
- ], QueryRevisionSearchEntries.prototype, "minimumAmount", void 0);
78
- __decorate([
79
- ApiPropertyOptional(),
80
- IsNumber(),
81
- IsOptional(),
82
- __metadata("design:type", Number)
83
- ], QueryRevisionSearchEntries.prototype, "maximumAmount", void 0);
84
- __decorate([
85
- ApiPropertyOptional(),
86
- IsArray(),
87
- IsOptional(),
88
- __metadata("design:type", Array)
89
- ], QueryRevisionSearchEntries.prototype, "idsAccountingJournal", void 0);
90
- __decorate([
91
- ApiPropertyOptional(),
92
- IsNumber(),
93
- IsOptional(),
94
- __metadata("design:type", Number)
95
- ], QueryRevisionSearchEntries.prototype, "type", void 0);
96
- __decorate([
97
- ApiPropertyOptional(),
98
- IsBoolean(),
99
- ToBoolean(),
100
- IsOptional(),
101
- __metadata("design:type", Boolean)
102
- ], QueryRevisionSearchEntries.prototype, "isRevised", void 0);
103
- __decorate([
104
- ApiPropertyOptional({ default: 'date' }),
105
- IsString(),
106
- IsOptional(),
107
- __metadata("design:type", String)
108
- ], QueryRevisionSearchEntries.prototype, "orderBy", void 0);
109
- __decorate([
110
- ApiPropertyOptional(),
111
- IsBoolean(),
112
- ToBoolean(),
113
- IsOptional(),
114
- __metadata("design:type", Boolean)
115
- ], QueryRevisionSearchEntries.prototype, "descending", void 0);
116
- __decorate([
117
- ApiProperty({ default: 25 }),
118
- IsNumber(),
119
- __metadata("design:type", Number)
120
- ], QueryRevisionSearchEntries.prototype, "limit", void 0);
121
- __decorate([
122
- ApiProperty({ default: 1 }),
123
- IsNumber(),
124
- __metadata("design:type", Number)
125
- ], QueryRevisionSearchEntries.prototype, "page", void 0);
126
- //# sourceMappingURL=QueryRevisionSearchEntries.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryRevisionSearchEntries.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,OAAO,EACP,SAAS,EACT,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GACvC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,0BAA0B;IAAvC;QAmFE,qBAAqB;QAGnB,UAAK,GAAY,EAAE,CAAC;QAIpB,SAAI,GAAY,CAAC,CAAC;IACtB,CAAC;CAAA;AAzFC;IAAC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACS;AAEpB;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACI,IAAI;6DAAC;AAElB;IAAC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;2DAAC;AAGhB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;gEACW;AAExB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;0DACK;AAElB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8DACS;AAEtB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+DACU;AAEvB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sEACiB;AAE9B;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;oEACe;AAG5B;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACY;AAEzB;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACY;AAEzB;IAAC,mBAAmB,EAAE;IACrB,OAAO,EAAE;IACT,UAAU,EAAE;8BACY,KAAK;wEAAS;AAEvC;IAAC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACG;AAEhB;IAAC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;6DACS;AAEtB;IAAC,mBAAmB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IACxC,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACoF;AAEjG;IAAC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;8DACU;AAGvB;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;yDACW;AAEtB;IAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;wDACS","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"]}
@@ -1,15 +0,0 @@
1
- import { IAccountDetail } from '../../models/IAccountDetail';
2
- export interface ReadRevision {
3
- balance: number;
4
- account: {
5
- id: number;
6
- name: string | null;
7
- number: number | null;
8
- accountDetails: Array<IAccountDetail>;
9
- };
10
- unlocked: number | null;
11
- locked: number | null;
12
- previousBalance: number;
13
- nextBalance: number;
14
- }
15
- //# sourceMappingURL=ReadRevision.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadRevision.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/ReadRevision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;KACtC,CAAC;IACF,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACrB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ReadRevision.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadRevision.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/ReadRevision.ts"],"names":[],"mappings":"","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}"]}
@@ -1,42 +0,0 @@
1
- import { IAccountDetail, IAccountingFile, IAccountingJournal, ILettering, IUser } from '../../..';
2
- export interface ReadRevisionAccount {
3
- id: number;
4
- master: boolean;
5
- dateValue: Date;
6
- designation: string | null;
7
- comment: string | null;
8
- debit: number;
9
- credit: number;
10
- isPerso: boolean;
11
- autoAnnotate: boolean;
12
- idInherit: number | null;
13
- idAccount: number;
14
- idThirdParty: number;
15
- idAccountingTransaction: number;
16
- idVat: number | null;
17
- idImmobilization: number | null;
18
- idLettering?: number | null;
19
- lettering?: ILettering;
20
- createdAt: Date;
21
- updatedAt: Date;
22
- accountingTransaction: {
23
- id: number;
24
- idBankAccount: number;
25
- dateLocked: Date | null;
26
- dateVerified: Date | null;
27
- idUser: number | null;
28
- exported: Date | null;
29
- idAccountingJournal: number;
30
- accountingFiles: Array<IAccountingFile>;
31
- accountingJournal: IAccountingJournal;
32
- user: IUser;
33
- };
34
- accountDetails: IAccountDetail[];
35
- thirdParty: {
36
- id: number;
37
- fullname: string;
38
- } | null;
39
- calculatedVat?: number[];
40
- balance: number | null;
41
- }
42
- //# sourceMappingURL=ReadRevisionAccount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadRevisionAccount.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/ReadRevisionAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,eAAe,EAAE,kBAAkB,EAAE,UAAU,EAAE,KAAK,EACvD,MAAM,UAAU,CAAC;AAElB,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,uBAAuB,EAAE,MAAM,CAAC;IAChC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,qBAAqB,EAAE;QACrB,EAAE,EAAE,MAAM,CAAC;QACX,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;QACxB,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;QAC1B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;QACtB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;QACxC,iBAAiB,EAAE,kBAAkB,CAAC;QACtC,IAAI,EAAE,KAAK,CAAC;KACb,CAAC;IACF,cAAc,EAAE,cAAc,EAAE,CAAC;IACjC,UAAU,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IACpD,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ReadRevisionAccount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadRevisionAccount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/ReadRevisionAccount.ts"],"names":[],"mappings":"","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}"]}
@@ -1,4 +0,0 @@
1
- export interface ReadRevisionMergeIntoAccount {
2
- updated: number;
3
- }
4
- //# sourceMappingURL=ReadRevisionMergeIntoAccount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadRevisionMergeIntoAccount.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/ReadRevisionMergeIntoAccount.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ReadRevisionMergeIntoAccount.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadRevisionMergeIntoAccount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/ReadRevisionMergeIntoAccount.ts"],"names":[],"mappings":"","sourcesContent":["export interface ReadRevisionMergeIntoAccount {\n updated: number;\n}"]}
@@ -1,60 +0,0 @@
1
- import { IFile } from '../../..';
2
- import { ThirdParty } from '../../../../api/resources/ThirdParty';
3
- export interface ReadRevisionTransactionDetail {
4
- id: number;
5
- invoiceNumber: string | null;
6
- label: string | null;
7
- reference: string | null;
8
- dateValue: Date;
9
- dateLocked: Date | null;
10
- dateVerified: Date | null;
11
- originalValue: number | null;
12
- idUser: number | null;
13
- isBlocked: boolean;
14
- isMerged: boolean;
15
- isAsset: boolean;
16
- exported: Date | null;
17
- kilometers: number | null;
18
- internComment: string | null;
19
- invoiceRequested: boolean;
20
- idBankAccount: number | null;
21
- idSociety: number;
22
- idCurrency?: number | null;
23
- idSocietyVehicle: number | null;
24
- idSocietyPartner: number | null;
25
- idRule: number | null;
26
- idAccountingJournal: number;
27
- idEstimateInvoice: number | null;
28
- idEAF: number | null;
29
- file: IFile[] | null;
30
- accountingEntries: RevisionAccountingEntries[];
31
- user?: {
32
- firstname: string;
33
- lastname: string;
34
- };
35
- }
36
- export interface RevisionAccountingEntries {
37
- id: number;
38
- master: boolean;
39
- dateValue: Date;
40
- designation: string;
41
- comment: string | null;
42
- debit: number;
43
- credit: number;
44
- isPerso: boolean;
45
- idInherit: number | null;
46
- idAccount: number | null;
47
- idThirdParty: number | null;
48
- idVat: number | null;
49
- idImmobilization?: number | null;
50
- account: RevisionAccount;
51
- thirdParty?: ThirdParty;
52
- }
53
- export interface RevisionAccount {
54
- id: number;
55
- number: number;
56
- name: string;
57
- idParentAccount: number | null;
58
- idVat: number | null;
59
- }
60
- //# sourceMappingURL=ReadRevisionTransactionDetail.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReadRevisionTransactionDetail.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/ReadRevisionTransactionDetail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAElE,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,IAAI,CAAC;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IACrB,iBAAiB,EAAE,yBAAyB,EAAE,CAAC;IAC/C,IAAI,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;KAAE,CAAC;CACjD;AAED,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,OAAO,EAAE,eAAe,CAAC;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB"}