@silexpert/core 0.4.261 → 0.4.263
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.
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts +1 -0
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +7 -1
- package/es/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevision.d.ts +2 -0
- package/es/types/Interface/api/revision/QueryRevision.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevision.js +16 -2
- package/es/types/Interface/api/revision/QueryRevision.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts +1 -1
- package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionAccount.js +11 -5
- package/es/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts +2 -0
- package/es/types/Interface/api/revision/QueryRevisionPaginate.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionPaginate.js +16 -2
- package/es/types/Interface/api/revision/QueryRevisionPaginate.js.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts +1 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
- package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts +1 -0
- package/es/types/Interface/api/thirdParty/QueryThirdParty.d.ts.map +1 -1
- package/es/types/Interface/api/thirdParty/QueryThirdParty.js +7 -1
- package/es/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
- package/es/types/Interface/models/IEngagementBankTransaction.d.ts +0 -2
- package/es/types/Interface/models/IEngagementBankTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IEngagementBankTransaction.js.map +1 -1
- package/es/types/Interface/models/ILoan.d.ts +2 -0
- package/es/types/Interface/models/ILoan.d.ts.map +1 -1
- package/es/types/Interface/models/ILoan.js.map +1 -1
- package/es/types/Interface/models/IPartnerTransaction.d.ts +0 -1
- package/es/types/Interface/models/IPartnerTransaction.d.ts.map +1 -1
- package/es/types/Interface/models/IPartnerTransaction.js.map +1 -1
- package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js +2 -0
- package/js/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevision.js +6 -0
- package/js/types/Interface/api/revision/QueryRevision.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionAccount.js +7 -5
- package/js/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionPaginate.js +6 -0
- package/js/types/Interface/api/revision/QueryRevisionPaginate.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionSearchEntries.js.map +1 -1
- package/js/types/Interface/api/thirdParty/QueryThirdParty.js +2 -0
- package/js/types/Interface/api/thirdParty/QueryThirdParty.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts +6 -1
- package/ts/types/Interface/api/revision/QueryRevision.ts +15 -2
- package/ts/types/Interface/api/revision/QueryRevisionAccount.ts +11 -4
- package/ts/types/Interface/api/revision/QueryRevisionPaginate.ts +15 -2
- package/ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts +1 -1
- package/ts/types/Interface/api/thirdParty/QueryThirdParty.ts +8 -1
- package/ts/types/Interface/models/IEngagementBankTransaction.ts +0 -2
- package/ts/types/Interface/models/ILoan.ts +2 -0
- package/ts/types/Interface/models/IPartnerTransaction.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGeneralLedgerAuxiliary.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":"AAQA,qBAAa,2BAA2B;IAGtC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,gBAAgB,EAAE,MAAM,CAAC;IAKzB,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAMb,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryGeneralLedgerAuxiliary.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":"AAQA,qBAAa,2BAA2B;IAGtC,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAIhB,gBAAgB,EAAE,MAAM,CAAC;IAKzB,KAAK,EAAE,MAAM,CAAC;IAKd,IAAI,EAAE,MAAM,CAAC;IAMb,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, } from 'class-validator';
|
|
10
|
+
import { IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber, } from 'class-validator';
|
|
11
11
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
12
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
13
|
import { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';
|
|
@@ -61,4 +61,10 @@ __decorate([
|
|
|
61
61
|
IsOptional(),
|
|
62
62
|
__metadata("design:type", String)
|
|
63
63
|
], QueryGeneralLedgerAuxiliary.prototype, "search", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
ApiPropertyOptional(),
|
|
66
|
+
IsNumber(),
|
|
67
|
+
IsOptional(),
|
|
68
|
+
__metadata("design:type", Number)
|
|
69
|
+
], QueryGeneralLedgerAuxiliary.prototype, "idThirdParty", void 0);
|
|
64
70
|
//# sourceMappingURL=QueryGeneralLedgerAuxiliary.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGeneralLedgerAuxiliary.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"QueryGeneralLedgerAuxiliary.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,QAAQ,GAC9D,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AACnG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,OAAO,2BAA2B;CA4CvC;AAzCC;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;8DACN;AAIlB;IAFC,WAAW,EAAE;IACb,qBAAqB,EAAE;;4DACR;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,cAAc,CAAC;;qEACE;AAKzB;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;0DACO;AAKd;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,GAAG,CAAC,CAAC,CAAC;;yDACM;AAMb;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,+DAA+D,EAAE,CAAC;IAClH,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;kEACW;AAMxB;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;+DACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACS","sourcesContent":["import {\n IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ThirdPartyType } from '../../../Enum/ThirdPartyType';\n\nexport class QueryGeneralLedgerAuxiliary {\n @ApiProperty()\n @IsFormattedDateString()\n dateStart: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n dateEnd: string;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiPropertyOptional({ default: false, describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevision.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevision.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QueryRevision.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevision.ts"],"names":[],"mappings":"AAOA,qBAAa,aAAa;IAGxB,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;CACnB"}
|
|
@@ -7,8 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsDate, IsInt, IsNumber, } from 'class-validator';
|
|
11
|
-
import { ApiProperty } from '../../../..';
|
|
10
|
+
import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, } from 'class-validator';
|
|
11
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
12
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
12
13
|
export class QueryRevision {
|
|
13
14
|
constructor() {
|
|
14
15
|
// Interface paginate
|
|
@@ -31,6 +32,19 @@ __decorate([
|
|
|
31
32
|
IsInt(),
|
|
32
33
|
__metadata("design:type", Number)
|
|
33
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);
|
|
34
48
|
__decorate([
|
|
35
49
|
ApiProperty({ default: 25 }),
|
|
36
50
|
IsNumber(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevision.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevision.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,KAAK,EAAE,QAAQ,
|
|
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;QAGrB,UAAK,GAAY,EAAE,CAAC;QAIpB,SAAI,GAAY,CAAC,CAAC;IACpB,CAAC;CAAA;AA7BC;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;gDAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;8CAAC;AAId;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;gDACU;AAKlB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8CACiC;AAM9C;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;iDACQ;AAKrB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;4CACS;AAIpB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;2CACO","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,10 +1,10 @@
|
|
|
1
1
|
import { QueryPaginate } from '../../../..';
|
|
2
2
|
export declare class QueryRevisionAccount implements QueryPaginate {
|
|
3
3
|
page: number;
|
|
4
|
-
orderBy?: string;
|
|
5
4
|
startDate: Date;
|
|
6
5
|
endDate: Date;
|
|
7
6
|
limit: number;
|
|
7
|
+
orderBy?: 'date' | 'designation' | 'idAccount' | 'debit' | 'credit';
|
|
8
8
|
descending?: boolean;
|
|
9
9
|
isRevised?: boolean;
|
|
10
10
|
idSociety: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevisionAccount.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"names":[],"mappings":"
|
|
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;IAGxD,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;CACnB"}
|
|
@@ -7,9 +7,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsDate, IsInt, IsNumber, } from 'class-validator';
|
|
10
|
+
import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, } from 'class-validator';
|
|
11
11
|
import { ApiProperty } from '../../../..';
|
|
12
12
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
13
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
14
|
export class QueryRevisionAccount {
|
|
14
15
|
}
|
|
15
16
|
__decorate([
|
|
@@ -17,10 +18,6 @@ __decorate([
|
|
|
17
18
|
IsNumber(),
|
|
18
19
|
__metadata("design:type", Number)
|
|
19
20
|
], QueryRevisionAccount.prototype, "page", void 0);
|
|
20
|
-
__decorate([
|
|
21
|
-
ApiPropertyOptional({ default: 'idAccount' }),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], QueryRevisionAccount.prototype, "orderBy", void 0);
|
|
24
21
|
__decorate([
|
|
25
22
|
ApiProperty(),
|
|
26
23
|
IsDate(),
|
|
@@ -36,8 +33,17 @@ __decorate([
|
|
|
36
33
|
IsNumber(),
|
|
37
34
|
__metadata("design:type", Number)
|
|
38
35
|
], QueryRevisionAccount.prototype, "limit", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
ApiPropertyOptional({ default: 'idAccount' }),
|
|
38
|
+
IsString(),
|
|
39
|
+
IsOptional(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], QueryRevisionAccount.prototype, "orderBy", void 0);
|
|
39
42
|
__decorate([
|
|
40
43
|
ApiPropertyOptional({ default: true }),
|
|
44
|
+
IsBoolean(),
|
|
45
|
+
ToBoolean(),
|
|
46
|
+
IsOptional(),
|
|
41
47
|
__metadata("design:type", Boolean)
|
|
42
48
|
], QueryRevisionAccount.prototype, "descending", void 0);
|
|
43
49
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevisionAccount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,KAAK,EAAE,QAAQ,
|
|
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;AA/BC;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;kDACE;AAIb;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;uDAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;qDAAC;AAId;IAFC,mBAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACpC,QAAQ,EAAE;;mDACG;AAKd;IAHC,mBAAmB,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC;IAC7C,QAAQ,EAAE;IACV,UAAU,EAAE;;qDACuD;AAMpE;IAJC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IACtC,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;wDACQ;AAGrB;IADC,mBAAmB,EAAE;;uDACF;AAIpB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;uDACU","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: 'idAccount' })\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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevisionPaginate.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionPaginate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QueryRevisionPaginate.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionPaginate.ts"],"names":[],"mappings":"AAOA,qBAAa,qBAAqB;IAGhC,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;CACnB"}
|
|
@@ -7,8 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsDate, IsInt, IsNumber, } from 'class-validator';
|
|
11
|
-
import { ApiProperty } from '../../../..';
|
|
10
|
+
import { IsBoolean, IsDate, IsInt, IsNumber, IsOptional, IsString, } from 'class-validator';
|
|
11
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
12
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
12
13
|
export class QueryRevisionPaginate {
|
|
13
14
|
constructor() {
|
|
14
15
|
// Interface paginate
|
|
@@ -31,6 +32,19 @@ __decorate([
|
|
|
31
32
|
IsInt(),
|
|
32
33
|
__metadata("design:type", Number)
|
|
33
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);
|
|
34
48
|
__decorate([
|
|
35
49
|
ApiProperty({ default: 25 }),
|
|
36
50
|
IsNumber(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevisionPaginate.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionPaginate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,KAAK,EAAE,QAAQ,
|
|
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;QAGrB,UAAK,GAAY,EAAE,CAAC;QAIpB,SAAI,GAAY,CAAC,CAAC;IACpB,CAAC;CAAA;AA7BC;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;wDAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;sDAAC;AAId;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;wDACU;AAKlB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sDACiC;AAM9C;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;yDACQ;AAKrB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;oDACS;AAIpB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;mDACO","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}"]}
|
|
@@ -13,7 +13,7 @@ export declare class QueryRevisionSearchEntries {
|
|
|
13
13
|
idsAccountingJournal?: Array<number>;
|
|
14
14
|
type?: number;
|
|
15
15
|
isRevised?: boolean;
|
|
16
|
-
orderBy?: 'date' | 'accountNumber' | 'amount' | 'designation' | 'vatRate';
|
|
16
|
+
orderBy?: 'date' | 'accountNumber' | 'amount' | 'designation' | 'vatRate' | 'debit' | 'credit';
|
|
17
17
|
descending?: boolean;
|
|
18
18
|
limit?: number;
|
|
19
19
|
page?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevisionSearchEntries.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts"],"names":[],"mappings":"AASA,qBAAa,0BAA0B;IAIrC,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,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryRevisionSearchEntries.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionSearchEntries.ts"],"names":[],"mappings":"AASA,qBAAa,0BAA0B;IAIrC,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;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
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;QAGrB,UAAK,GAAY,EAAE,CAAC;QAIpB,SAAI,GAAY,CAAC,CAAC;IACpB,CAAC;CAAA;AAvFC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACO;AAIlB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;6DAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;2DAAC;AAMd;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;gEACS;AAKtB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;0DACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8DACO;AAKpB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+DACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sEACe;AAK5B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;oEACa;AAM1B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACU;AAKvB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACU;AAKvB;IAHC,mBAAmB,EAAE;IACrB,OAAO,EAAE;IACT,UAAU,EAAE;8BACU,KAAK;wEAAS;AAKrC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACC;AAMd;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;6DACO;AAKpB;IAHC,mBAAmB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IACxC,QAAQ,EAAE;IACV,UAAU,EAAE;;
|
|
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;QAGrB,UAAK,GAAY,EAAE,CAAC;QAIpB,SAAI,GAAY,CAAC,CAAC;IACpB,CAAC;CAAA;AAvFC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACO;AAIlB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;6DAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;2DAAC;AAMd;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;gEACS;AAKtB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;0DACG;AAKhB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;8DACO;AAKpB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;+DACQ;AAKrB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;sEACe;AAK5B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;oEACa;AAM1B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACU;AAKvB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;iEACU;AAKvB;IAHC,mBAAmB,EAAE;IACrB,OAAO,EAAE;IACT,UAAU,EAAE;8BACU,KAAK;wEAAS;AAKrC;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;wDACC;AAMd;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;6DACO;AAKpB;IAHC,mBAAmB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IACxC,QAAQ,EAAE;IACV,UAAU,EAAE;;2DACkF;AAM/F;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;8DACQ;AAKrB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,QAAQ,EAAE;;yDACS;AAIpB;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;wDACO","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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryThirdParty.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/QueryThirdParty.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QueryThirdParty.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/QueryThirdParty.ts"],"names":[],"mappings":"AAMA,qBAAa,eAAe;IAI1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsEnum, IsOptional, IsString } from 'class-validator';
|
|
10
|
+
import { IsEnum, IsNumber, IsOptional, IsString, } from 'class-validator';
|
|
11
11
|
import { ThirdPartyType } from '../../..';
|
|
12
12
|
import { ApiPropertyOptional } from '../../../..';
|
|
13
13
|
export class QueryThirdParty {
|
|
@@ -24,4 +24,10 @@ __decorate([
|
|
|
24
24
|
IsEnum(ThirdPartyType),
|
|
25
25
|
__metadata("design:type", Number)
|
|
26
26
|
], QueryThirdParty.prototype, "type", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
ApiPropertyOptional(),
|
|
29
|
+
IsOptional(),
|
|
30
|
+
IsNumber(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], QueryThirdParty.prototype, "idThirdParty", void 0);
|
|
27
33
|
//# sourceMappingURL=QueryThirdParty.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryThirdParty.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/QueryThirdParty.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"QueryThirdParty.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/QueryThirdParty.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,GACvC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,OAAO,eAAe;CAe3B;AAXC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACK;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,CAAC;;6CACT;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;qDACW","sourcesContent":["import {\n IsEnum, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiPropertyOptional } from '../../../..';\n\nexport class QueryThirdParty {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ThirdPartyType)\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idThirdParty?: number;\n}"]}
|
|
@@ -3,7 +3,6 @@ import { IEngagementAccountingEntry } from './IEngagementAccountingEntry';
|
|
|
3
3
|
import { IAccountingJournal } from './IAccountingJournal';
|
|
4
4
|
import { IUser } from './IUser';
|
|
5
5
|
import { ILettering } from './ILettering';
|
|
6
|
-
import { IPartnerTransaction } from './IPartnerTransaction';
|
|
7
6
|
export interface IEngagementBankTransaction {
|
|
8
7
|
id?: number;
|
|
9
8
|
migrate: boolean;
|
|
@@ -30,6 +29,5 @@ export interface IEngagementBankTransaction {
|
|
|
30
29
|
accountingJournal: IAccountingJournal;
|
|
31
30
|
user: IUser;
|
|
32
31
|
lettering: ILettering;
|
|
33
|
-
partnersTransaction: IPartnerTransaction;
|
|
34
32
|
}
|
|
35
33
|
//# sourceMappingURL=IEngagementBankTransaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEngagementBankTransaction.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEngagementBankTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"IEngagementBankTransaction.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEngagementBankTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,WAAW,0BAA0B;IACzC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,OAAO,CAAC;IACjB,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,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtB,WAAW,EAAE,YAAY,CAAC;IAC1B,2BAA2B,EAAE,0BAA0B,EAAE,CAAC;IAC1D,iBAAiB,EAAE,kBAAkB,CAAC;IACtC,IAAI,EAAE,KAAK,CAAC;IACZ,SAAS,EAAE,UAAU,CAAC;CACvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEngagementBankTransaction.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEngagementBankTransaction.ts"],"names":[],"mappings":"","sourcesContent":["import { IBankAccount } from './IBankAccount';\nimport { IEngagementAccountingEntry } from './IEngagementAccountingEntry';\nimport { IAccountingJournal } from './IAccountingJournal';\nimport { IUser } from './IUser';\nimport { ILettering } from './ILettering';\
|
|
1
|
+
{"version":3,"file":"IEngagementBankTransaction.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEngagementBankTransaction.ts"],"names":[],"mappings":"","sourcesContent":["import { IBankAccount } from './IBankAccount';\nimport { IEngagementAccountingEntry } from './IEngagementAccountingEntry';\nimport { IAccountingJournal } from './IAccountingJournal';\nimport { IUser } from './IUser';\nimport { ILettering } from './ILettering';\n\n// engagementBankTransactions\nexport interface IEngagementBankTransaction {\n id?: number;\n migrate: boolean;\n reference: string | null;\n dateValue: Date;\n dateLocked: Date | null;\n dateVerified: Date | null;\n isBlocked: boolean;\n exported: Date | null;\n noInvoice: boolean;\n isReadMobile: boolean;\n isLockedMobile: boolean;\n idBankAccount: number | null;\n idSociety: number;\n idPaymentMethod: number | null;\n idRule: number | null;\n idAccountingJournal: number;\n idLettering: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n idUser: number | null;\n\n // Associations\n bankAccount: IBankAccount;\n engagementAccountingEntries: IEngagementAccountingEntry[];\n accountingJournal: IAccountingJournal;\n user: IUser;\n lettering: ILettering;\n}\n"]}
|
|
@@ -19,6 +19,7 @@ export interface ILoan {
|
|
|
19
19
|
idAccountBenefit: number;
|
|
20
20
|
idAccountInsurance: number;
|
|
21
21
|
idAccountCommission: number;
|
|
22
|
+
idAccountReleaseLoanCapital: number;
|
|
22
23
|
createdAt?: Date | null;
|
|
23
24
|
updatedAt?: Date | null;
|
|
24
25
|
society?: ISociety;
|
|
@@ -27,6 +28,7 @@ export interface ILoan {
|
|
|
27
28
|
accountBenefit?: IAccount;
|
|
28
29
|
accountInsurance?: IAccount;
|
|
29
30
|
accountCommission?: IAccount;
|
|
31
|
+
accountReleaseLoanCapital?: IAccount;
|
|
30
32
|
loanFiles?: ILoanFile[];
|
|
31
33
|
}
|
|
32
34
|
//# sourceMappingURL=ILoan.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ILoan.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ILoan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,iBAAiB,CAAC,EAAE,QAAQ,CAAC;IAC7B,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;CACzB"}
|
|
1
|
+
{"version":3,"file":"ILoan.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ILoan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,2BAA2B,EAAE,MAAM,CAAC;IACpC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,iBAAiB,CAAC,EAAE,QAAQ,CAAC;IAC7B,yBAAyB,CAAC,EAAE,QAAQ,CAAC;IACrC,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ILoan.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ILoan.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IAccount } from './IAccount';\nimport { ILoanFile } from './ILoanFile';\n\nexport interface ILoan {\n id?: number;\n name: string;\n lenderDesignation: string;\n number: number;\n accountCount: number;\n amount: number;\n assetBeforeExercice: number;\n assetAfterExercice: number;\n monthDuration?: number;\n rate?: number;\n idExercice: number;\n idSociety: number;\n idAccountRefund: number;\n idAccountBenefit: number;\n idAccountInsurance: number;\n idAccountCommission: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n exercice?: IExercice;\n accountRefund?: IAccount;\n accountBenefit?: IAccount;\n accountInsurance?: IAccount;\n accountCommission?: IAccount;\n loanFiles?: ILoanFile[];\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ILoan.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ILoan.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IAccount } from './IAccount';\nimport { ILoanFile } from './ILoanFile';\n\nexport interface ILoan {\n id?: number;\n name: string;\n lenderDesignation: string;\n number: number;\n accountCount: number;\n amount: number;\n assetBeforeExercice: number;\n assetAfterExercice: number;\n monthDuration?: number;\n rate?: number;\n idExercice: number;\n idSociety: number;\n idAccountRefund: number;\n idAccountBenefit: number;\n idAccountInsurance: number;\n idAccountCommission: number;\n idAccountReleaseLoanCapital: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n exercice?: IExercice;\n accountRefund?: IAccount;\n accountBenefit?: IAccount;\n accountInsurance?: IAccount;\n accountCommission?: IAccount;\n accountReleaseLoanCapital?: IAccount;\n loanFiles?: ILoanFile[];\n}\n"]}
|
|
@@ -8,7 +8,6 @@ export interface IPartnerTransaction {
|
|
|
8
8
|
idAccountingTransaction: number | null;
|
|
9
9
|
createdAt?: Date | null;
|
|
10
10
|
updatedAt?: Date | null;
|
|
11
|
-
idEngagementBankTransaction: number | null;
|
|
12
11
|
typePartnerTransaction?: IPartnerTransactionType;
|
|
13
12
|
}
|
|
14
13
|
//# sourceMappingURL=IPartnerTransaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPartnerTransaction.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPartnerTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAGpE,MAAM,WAAW,mBAAmB;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,wBAAwB,EAAE,sBAAsB,CAAC;IACjD,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"IPartnerTransaction.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPartnerTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAGpE,MAAM,WAAW,mBAAmB;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,wBAAwB,EAAE,sBAAsB,CAAC;IACjD,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,sBAAsB,CAAC,EAAE,uBAAuB,CAAC;CAClD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPartnerTransaction.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPartnerTransaction.ts"],"names":[],"mappings":"","sourcesContent":["import { PartnerTransactionType } from '../../Enum/PartnerTransactionType';\nimport { IPartnerTransactionType } from './IPartnerTransactionType';\n\n// partnersTransactions\nexport interface IPartnerTransaction {\n id?: number;\n tokenString: string | null;\n tokenInteger: number | null;\n idTypePartnerTransaction: PartnerTransactionType;\n idAccountingTransaction: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n
|
|
1
|
+
{"version":3,"file":"IPartnerTransaction.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPartnerTransaction.ts"],"names":[],"mappings":"","sourcesContent":["import { PartnerTransactionType } from '../../Enum/PartnerTransactionType';\nimport { IPartnerTransactionType } from './IPartnerTransactionType';\n\n// partnersTransactions\nexport interface IPartnerTransaction {\n id?: number;\n tokenString: string | null;\n tokenInteger: number | null;\n idTypePartnerTransaction: PartnerTransactionType;\n idAccountingTransaction: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n typePartnerTransaction?: IPartnerTransactionType;\n}\n"]}
|
|
@@ -51,4 +51,6 @@ __decorate([(0, _utils.ApiPropertyOptional)({
|
|
|
51
51
|
}), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryGeneralLedgerAuxiliary.prototype, "descending", void 0);
|
|
52
52
|
|
|
53
53
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryGeneralLedgerAuxiliary.prototype, "search", void 0);
|
|
54
|
+
|
|
55
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsNumber)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Number)], QueryGeneralLedgerAuxiliary.prototype, "idThirdParty", void 0);
|
|
54
56
|
//# sourceMappingURL=QueryGeneralLedgerAuxiliary.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGeneralLedgerAuxiliary.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,2BAAP,CAAkC;;QAA3BA,2B,GAAAA,2B;;AAGXC,YAFC,yBAED,EADC,iDACD;;AAIAA,YAFC,yBAED,EADC,iDACD;;AAIAA,YAFC,yBAED,EADC,4BAAOC,8BAAP,CACD;;AAKAD,YAHC,yBAGD,EAFC,4BAED,EADC,yBAAI,CAAJ,CACD;;AAKAA,YAHC,yBAGD,EAFC,4BAED,EADC,yBAAI,CAAJ,CACD;;AAMAA,YAJC,gCAAoB;EAAEE,OAAO,EAAE,KAAX;EAAkBC,QAAQ,EAAE;AAA5B,CAApB,CAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAMAH,YAJC,gCAAoB;EAAEE,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAF,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD","names":["QueryGeneralLedgerAuxiliary","__decorate","ThirdPartyType","default","describe"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"sourcesContent":["import {\n IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ThirdPartyType } from '../../../Enum/ThirdPartyType';\n\nexport class QueryGeneralLedgerAuxiliary {\n @ApiProperty()\n @IsFormattedDateString()\n dateStart: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n dateEnd: string;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiPropertyOptional({ default: false, describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n}"]}
|
|
1
|
+
{"version":3,"file":"QueryGeneralLedgerAuxiliary.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,2BAAP,CAAkC;;QAA3BA,2B,GAAAA,2B;;AAGXC,YAFC,yBAED,EADC,iDACD;;AAIAA,YAFC,yBAED,EADC,iDACD;;AAIAA,YAFC,yBAED,EADC,4BAAOC,8BAAP,CACD;;AAKAD,YAHC,yBAGD,EAFC,4BAED,EADC,yBAAI,CAAJ,CACD;;AAKAA,YAHC,yBAGD,EAFC,4BAED,EADC,yBAAI,CAAJ,CACD;;AAMAA,YAJC,gCAAoB;EAAEE,OAAO,EAAE,KAAX;EAAkBC,QAAQ,EAAE;AAA5B,CAApB,CAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAMAH,YAJC,gCAAoB;EAAEE,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAF,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD","names":["QueryGeneralLedgerAuxiliary","__decorate","ThirdPartyType","default","describe"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/generalLedger/QueryGeneralLedgerAuxiliary.ts"],"sourcesContent":["import {\n IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ThirdPartyType } from '../../../Enum/ThirdPartyType';\n\nexport class QueryGeneralLedgerAuxiliary {\n @ApiProperty()\n @IsFormattedDateString()\n dateStart: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n dateEnd: string;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n limit: number;\n\n @ApiProperty()\n @IsInt()\n @Min(1)\n page: number;\n\n @ApiPropertyOptional({ default: false, describe: 'If set to true, it will search only entries with no lettering' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n omitLettering?: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idThirdParty?: number;\n}"]}
|
|
@@ -9,6 +9,8 @@ var _classValidator = require("class-validator");
|
|
|
9
9
|
|
|
10
10
|
var _ = require("../../../..");
|
|
11
11
|
|
|
12
|
+
var _boolean = require("../../../../utils/transforms/boolean.transform");
|
|
13
|
+
|
|
12
14
|
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
15
|
var c = arguments.length,
|
|
14
16
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -38,6 +40,10 @@ __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("des
|
|
|
38
40
|
|
|
39
41
|
__decorate([(0, _.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryRevision.prototype, "idSociety", void 0);
|
|
40
42
|
|
|
43
|
+
__decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevision.prototype, "orderBy", void 0);
|
|
44
|
+
|
|
45
|
+
__decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryRevision.prototype, "descending", void 0);
|
|
46
|
+
|
|
41
47
|
__decorate([(0, _.ApiProperty)({
|
|
42
48
|
default: 25
|
|
43
49
|
}), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevision.prototype, "limit", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevision.js","mappings":";;;;;;;AAAA;;
|
|
1
|
+
{"version":3,"file":"QueryRevision.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,aAAP,CAAoB;EAA1BC;IAwBE;IAGA,aAAiB,EAAjB;IAIA,YAAgB,CAAhB;EACD;;AAhCyB;;QAAbD,a,GAAAA,a;;AAGXE,YAFC,oBAED,EADC,6BACD,4BAAWC,KAAX;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAASC,KAAT;;AAIAD,YAFC,oBAED,EADC,4BACD;;AAKAA,YAHC,4BAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAJC,4BAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAFC,mBAAY;EAAEE,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAF,YAFC,mBAAY;EAAEE,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD","names":["QueryRevision","constructor","__decorate","Date","default"],"sourceRoot":"","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}"]}
|
|
@@ -11,6 +11,8 @@ var _ = require("../../../..");
|
|
|
11
11
|
|
|
12
12
|
var _utils = require("../../../../utils");
|
|
13
13
|
|
|
14
|
+
var _boolean = require("../../../../utils/transforms/boolean.transform");
|
|
15
|
+
|
|
14
16
|
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
15
17
|
var c = arguments.length,
|
|
16
18
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -31,10 +33,6 @@ __decorate([(0, _.ApiProperty)({
|
|
|
31
33
|
default: 1
|
|
32
34
|
}), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionAccount.prototype, "page", void 0);
|
|
33
35
|
|
|
34
|
-
__decorate([(0, _utils.ApiPropertyOptional)({
|
|
35
|
-
default: 'idAccount'
|
|
36
|
-
}), __metadata("design:type", String)], QueryRevisionAccount.prototype, "orderBy", void 0);
|
|
37
|
-
|
|
38
36
|
__decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionAccount.prototype, "startDate", void 0);
|
|
39
37
|
|
|
40
38
|
__decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionAccount.prototype, "endDate", void 0);
|
|
@@ -43,9 +41,13 @@ __decorate([(0, _utils.ApiPropertyOptional)({
|
|
|
43
41
|
default: 25
|
|
44
42
|
}), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionAccount.prototype, "limit", void 0);
|
|
45
43
|
|
|
44
|
+
__decorate([(0, _utils.ApiPropertyOptional)({
|
|
45
|
+
default: 'idAccount'
|
|
46
|
+
}), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevisionAccount.prototype, "orderBy", void 0);
|
|
47
|
+
|
|
46
48
|
__decorate([(0, _utils.ApiPropertyOptional)({
|
|
47
49
|
default: true
|
|
48
|
-
}), __metadata("design:type", Boolean)], QueryRevisionAccount.prototype, "descending", void 0);
|
|
50
|
+
}), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryRevisionAccount.prototype, "descending", void 0);
|
|
49
51
|
|
|
50
52
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], QueryRevisionAccount.prototype, "isRevised", void 0);
|
|
51
53
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevisionAccount.js","mappings":";;;;;;;AAAA;;
|
|
1
|
+
{"version":3,"file":"QueryRevisionAccount.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAGXC,YAFC,mBAAY;EAAEC,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAAWE,KAAX;;AAIAF,YAFC,oBAED,EADC,6BACD,4BAASE,KAAT;;AAIAF,YAFC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAED,EADC,+BACD;;AAKAD,YAHC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,+BAED,EADC,iCACD;;AAMAD,YAJC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAGAD,YADC,iCACD;;AAIAA,YAFC,oBAED,EADC,4BACD","names":["QueryRevisionAccount","__decorate","default","Date"],"sourceRoot":"","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: 'idAccount' })\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}"]}
|
|
@@ -9,6 +9,8 @@ var _classValidator = require("class-validator");
|
|
|
9
9
|
|
|
10
10
|
var _ = require("../../../..");
|
|
11
11
|
|
|
12
|
+
var _boolean = require("../../../../utils/transforms/boolean.transform");
|
|
13
|
+
|
|
12
14
|
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
15
|
var c = arguments.length,
|
|
14
16
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -38,6 +40,10 @@ __decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("des
|
|
|
38
40
|
|
|
39
41
|
__decorate([(0, _.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryRevisionPaginate.prototype, "idSociety", void 0);
|
|
40
42
|
|
|
43
|
+
__decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsString)(), (0, _classValidator.IsOptional)(), __metadata("design:type", String)], QueryRevisionPaginate.prototype, "orderBy", void 0);
|
|
44
|
+
|
|
45
|
+
__decorate([(0, _.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], QueryRevisionPaginate.prototype, "descending", void 0);
|
|
46
|
+
|
|
41
47
|
__decorate([(0, _.ApiProperty)({
|
|
42
48
|
default: 25
|
|
43
49
|
}), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryRevisionPaginate.prototype, "limit", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevisionPaginate.js","mappings":";;;;;;;AAAA;;
|
|
1
|
+
{"version":3,"file":"QueryRevisionPaginate.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,qBAAP,CAA4B;EAAlCC;IAwBE;IAGA,aAAiB,EAAjB;IAIA,YAAgB,CAAhB;EACD;;AAhCiC;;QAArBD,qB,GAAAA,qB;;AAGXE,YAFC,oBAED,EADC,6BACD,4BAAWC,KAAX;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAASC,KAAT;;AAIAD,YAFC,oBAED,EADC,4BACD;;AAKAA,YAHC,4BAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAJC,4BAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAFC,mBAAY;EAAEE,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAF,YAFC,mBAAY;EAAEE,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD","names":["QueryRevisionPaginate","constructor","__decorate","Date","default"],"sourceRoot":"","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}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevisionSearchEntries.js","mappings":";;;;;;;AAAA;;AAKA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,0BAAP,CAAiC;EAAvCC;IAmFE;IAGA,aAAiB,EAAjB;IAIA,YAAgB,CAAhB;EACD;;AA3FsC;;QAA1BD,0B,GAAAA,0B;;AAIXE,YAFC,oBAED,EADC,+BACD;;AAIAA,YAFC,oBAED,EADC,6BACD,4BAAWC,KAAX;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAASC,KAAT;;AAMAD,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,8BAED,EADC,iCACD,4BAAuBE,MAAvB;;AAKAF,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAHC,gCAAoB;EAAEG,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,+BAED,EADC,iCACD;;AAMAH,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAFC,mBAAY;EAAEG,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAH,YAFC,mBAAY;EAAEG,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD","names":["QueryRevisionSearchEntries","constructor","__decorate","Date","Array","default"],"sourceRoot":"","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';\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
|
+
{"version":3,"file":"QueryRevisionSearchEntries.js","mappings":";;;;;;;AAAA;;AAKA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,0BAAP,CAAiC;EAAvCC;IAmFE;IAGA,aAAiB,EAAjB;IAIA,YAAgB,CAAhB;EACD;;AA3FsC;;QAA1BD,0B,GAAAA,0B;;AAIXE,YAFC,oBAED,EADC,+BACD;;AAIAA,YAFC,oBAED,EADC,6BACD,4BAAWC,KAAX;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAASC,KAAT;;AAMAD,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,8BAED,EADC,iCACD,4BAAuBE,MAAvB;;AAKAF,YAHC,iCAGD,EAFC,+BAED,EADC,iCACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAHC,gCAAoB;EAAEG,OAAO,EAAE;AAAX,CAApB,CAGD,EAFC,+BAED,EADC,iCACD;;AAMAH,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAFC,mBAAY;EAAEG,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAIAH,YAFC,mBAAY;EAAEG,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD","names":["QueryRevisionSearchEntries","constructor","__decorate","Date","Array","default"],"sourceRoot":"","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"]}
|
|
@@ -30,4 +30,6 @@ exports.QueryThirdParty = QueryThirdParty;
|
|
|
30
30
|
__decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryThirdParty.prototype, "search", void 0);
|
|
31
31
|
|
|
32
32
|
__decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsEnum)(_.ThirdPartyType), __metadata("design:type", Number)], QueryThirdParty.prototype, "type", void 0);
|
|
33
|
+
|
|
34
|
+
__decorate([(0, _2.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryThirdParty.prototype, "idThirdParty", void 0);
|
|
33
35
|
//# sourceMappingURL=QueryThirdParty.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryThirdParty.js","mappings":";;;;;;;AAAA;;
|
|
1
|
+
{"version":3,"file":"QueryThirdParty.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,eAAP,CAAsB;;QAAfA,e,GAAAA,e;;AAIXC,YAHC,6BAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,6BAGD,EAFC,iCAED,EADC,4BAAOC,gBAAP,CACD;;AAKAD,YAHC,6BAGD,EAFC,iCAED,EADC,+BACD","names":["QueryThirdParty","__decorate","ThirdPartyType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/QueryThirdParty.ts"],"sourcesContent":["import {\n IsEnum, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiPropertyOptional } from '../../../..';\n\nexport class QueryThirdParty {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ThirdPartyType)\n type?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idThirdParty?: number;\n}"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.263",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "js/index.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min,
|
|
2
|
+
IsBoolean, IsEnum, IsInt, IsOptional, IsString, Min, IsNumber,
|
|
3
3
|
} from 'class-validator';
|
|
4
4
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
5
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
@@ -45,4 +45,9 @@ export class QueryGeneralLedgerAuxiliary {
|
|
|
45
45
|
@IsString()
|
|
46
46
|
@IsOptional()
|
|
47
47
|
search?: string;
|
|
48
|
+
|
|
49
|
+
@ApiPropertyOptional()
|
|
50
|
+
@IsNumber()
|
|
51
|
+
@IsOptional()
|
|
52
|
+
idThirdParty?: number;
|
|
48
53
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
IsBoolean,
|
|
3
|
+
IsDate, IsInt, IsNumber, IsOptional, IsString,
|
|
3
4
|
} from 'class-validator';
|
|
4
|
-
import { ApiProperty } from '../../../..';
|
|
5
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
6
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
5
7
|
|
|
6
8
|
export class QueryRevision {
|
|
7
9
|
@ApiProperty()
|
|
@@ -16,6 +18,17 @@ export class QueryRevision {
|
|
|
16
18
|
@IsInt()
|
|
17
19
|
idSociety: number;
|
|
18
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
|
+
|
|
19
32
|
// Interface paginate
|
|
20
33
|
@ApiProperty({ default: 25 })
|
|
21
34
|
@IsNumber()
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
IsBoolean,
|
|
3
|
+
IsDate, IsInt, IsNumber, IsOptional, IsString,
|
|
3
4
|
} from 'class-validator';
|
|
4
5
|
import { ApiProperty, QueryPaginate } from '../../../..';
|
|
5
6
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
7
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
6
8
|
|
|
7
9
|
export class QueryRevisionAccount implements QueryPaginate {
|
|
8
10
|
@ApiProperty({ default: 1 })
|
|
9
11
|
@IsNumber()
|
|
10
12
|
page: number;
|
|
11
13
|
|
|
12
|
-
@ApiPropertyOptional({ default: 'idAccount' })
|
|
13
|
-
orderBy?: string;
|
|
14
|
-
|
|
15
14
|
@ApiProperty()
|
|
16
15
|
@IsDate()
|
|
17
16
|
startDate: Date;
|
|
@@ -24,7 +23,15 @@ export class QueryRevisionAccount implements QueryPaginate {
|
|
|
24
23
|
@IsNumber()
|
|
25
24
|
limit: number;
|
|
26
25
|
|
|
26
|
+
@ApiPropertyOptional({ default: 'idAccount' })
|
|
27
|
+
@IsString()
|
|
28
|
+
@IsOptional()
|
|
29
|
+
orderBy?: 'date' | 'designation' | 'idAccount' | 'debit' | 'credit';
|
|
30
|
+
|
|
27
31
|
@ApiPropertyOptional({ default: true })
|
|
32
|
+
@IsBoolean()
|
|
33
|
+
@ToBoolean()
|
|
34
|
+
@IsOptional()
|
|
28
35
|
descending?: boolean;
|
|
29
36
|
|
|
30
37
|
@ApiPropertyOptional()
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
IsBoolean,
|
|
3
|
+
IsDate, IsInt, IsNumber, IsOptional, IsString,
|
|
3
4
|
} from 'class-validator';
|
|
4
|
-
import { ApiProperty } from '../../../..';
|
|
5
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../..';
|
|
6
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
5
7
|
|
|
6
8
|
export class QueryRevisionPaginate {
|
|
7
9
|
@ApiProperty()
|
|
@@ -16,6 +18,17 @@ export class QueryRevisionPaginate {
|
|
|
16
18
|
@IsInt()
|
|
17
19
|
idSociety: number;
|
|
18
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
|
+
|
|
19
32
|
// Interface paginate
|
|
20
33
|
@ApiProperty({ default: 25 })
|
|
21
34
|
@IsNumber()
|
|
@@ -82,7 +82,7 @@ export class QueryRevisionSearchEntries {
|
|
|
82
82
|
@ApiPropertyOptional({ default: 'date' })
|
|
83
83
|
@IsString()
|
|
84
84
|
@IsOptional()
|
|
85
|
-
orderBy?: 'date' | 'accountNumber' | 'amount' | 'designation' | 'vatRate';
|
|
85
|
+
orderBy?: 'date' | 'accountNumber' | 'amount' | 'designation' | 'vatRate' | 'debit' | 'credit';
|
|
86
86
|
|
|
87
87
|
@ApiPropertyOptional()
|
|
88
88
|
@IsBoolean()
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
IsEnum, IsNumber, IsOptional, IsString,
|
|
3
|
+
} from 'class-validator';
|
|
2
4
|
import { ThirdPartyType } from '../../..';
|
|
3
5
|
import { ApiPropertyOptional } from '../../../..';
|
|
4
6
|
|
|
@@ -12,4 +14,9 @@ export class QueryThirdParty {
|
|
|
12
14
|
@IsOptional()
|
|
13
15
|
@IsEnum(ThirdPartyType)
|
|
14
16
|
type?: number;
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
@IsOptional()
|
|
20
|
+
@IsNumber()
|
|
21
|
+
idThirdParty?: number;
|
|
15
22
|
}
|
|
@@ -3,7 +3,6 @@ import { IEngagementAccountingEntry } from './IEngagementAccountingEntry';
|
|
|
3
3
|
import { IAccountingJournal } from './IAccountingJournal';
|
|
4
4
|
import { IUser } from './IUser';
|
|
5
5
|
import { ILettering } from './ILettering';
|
|
6
|
-
import { IPartnerTransaction } from './IPartnerTransaction';
|
|
7
6
|
|
|
8
7
|
// engagementBankTransactions
|
|
9
8
|
export interface IEngagementBankTransaction {
|
|
@@ -34,5 +33,4 @@ export interface IEngagementBankTransaction {
|
|
|
34
33
|
accountingJournal: IAccountingJournal;
|
|
35
34
|
user: IUser;
|
|
36
35
|
lettering: ILettering;
|
|
37
|
-
partnersTransaction: IPartnerTransaction;
|
|
38
36
|
}
|
|
@@ -20,6 +20,7 @@ export interface ILoan {
|
|
|
20
20
|
idAccountBenefit: number;
|
|
21
21
|
idAccountInsurance: number;
|
|
22
22
|
idAccountCommission: number;
|
|
23
|
+
idAccountReleaseLoanCapital: number;
|
|
23
24
|
createdAt?: Date | null;
|
|
24
25
|
updatedAt?: Date | null;
|
|
25
26
|
|
|
@@ -30,5 +31,6 @@ export interface ILoan {
|
|
|
30
31
|
accountBenefit?: IAccount;
|
|
31
32
|
accountInsurance?: IAccount;
|
|
32
33
|
accountCommission?: IAccount;
|
|
34
|
+
accountReleaseLoanCapital?: IAccount;
|
|
33
35
|
loanFiles?: ILoanFile[];
|
|
34
36
|
}
|