@silexpert/core 2.0.66 → 2.0.67
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/dist/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +1 -0
- package/dist/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/dist/types/Interface/api/accountingTransaction/QueryTransaction.js +9 -1
- package/dist/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +8 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTransaction.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingTransaction/QueryTransaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryTransaction.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingTransaction/QueryTransaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAIvE,qBAAa,gBAAgB;IAC3B,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAG9B,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAGhC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAGzB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,UAAU,CAAC,EAAE,OAAO,CAAC;IAMb,QAAQ,CAAC,EAAE,OAAO,CAAC;IAG3B,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAG7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAG3B,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,uBAAuB;IAElC,aAAa,CAAC,EAAE,6BAA6B,CAAC;IAG9C,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,mBAAmB,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAG1C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,wBAAwB;IAInC,SAAS,EAAE,MAAM,CAAC;IAKlB,SAAS,EAAE,MAAM,CAAC;IAKlB,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -9,7 +9,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
};
|
|
10
10
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
11
11
|
import { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation.js';
|
|
12
|
-
import { IsDateString, IsInt, IsOptional } from 'class-validator';
|
|
12
|
+
import { IsBoolean, IsDateString, IsInt, IsOptional } from 'class-validator';
|
|
13
|
+
import { ToBoolean } from '#utils/transforms/boolean.transform.js';
|
|
13
14
|
export class QueryTransaction {
|
|
14
15
|
id;
|
|
15
16
|
page;
|
|
@@ -74,6 +75,13 @@ __decorate([
|
|
|
74
75
|
ApiPropertyOptional(),
|
|
75
76
|
__metadata("design:type", Boolean)
|
|
76
77
|
], QueryTransaction.prototype, "toAnnotate", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
ApiPropertyOptional(),
|
|
80
|
+
ToBoolean(),
|
|
81
|
+
IsBoolean(),
|
|
82
|
+
IsOptional(),
|
|
83
|
+
__metadata("design:type", Boolean)
|
|
84
|
+
], QueryTransaction.prototype, "toVerify", void 0);
|
|
77
85
|
__decorate([
|
|
78
86
|
ApiPropertyOptional(),
|
|
79
87
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingTransaction/QueryTransaction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAE/F,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryTransaction.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/accountingTransaction/QueryTransaction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAE/F,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AAEnE,MAAM,OAAO,gBAAgB;IAC3B,EAAE,CAAS;IAGX,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,mBAAmB,CAAW;IAG9B,oBAAoB,CAAY;IAGhC,aAAa,CAAY;IAGzB,aAAa,CAAU;IAGvB,MAAM,CAAU;IAGhB,OAAO,CAAU;IAGjB,MAAM,CAAU;IAGhB,UAAU,CAAW;IAGrB,UAAU,CAAW;IASrB,SAAS,CAAU;IAGnB,OAAO,CAAU;IAGjB,kBAAkB,CAAW;IAG7B,gBAAgB,CAAW;I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E;;yDACG","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\nimport { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation.js';\nimport { AccountingJournal } from '../../../Enum/AccountingJournal.js';\nimport { IsBoolean, IsDateString, IsInt, IsOptional } from 'class-validator';\nimport { ToBoolean } from '#utils/transforms/boolean.transform.js';\n\nexport class QueryTransaction {\n id: number;\n\n @ApiProperty()\n page: number;\n\n @ApiProperty()\n limit: number;\n\n @ApiProperty()\n idAccountingJournal: number[];\n\n @ApiPropertyOptional()\n idAccountingFileType?: number[];\n\n @ApiPropertyOptional()\n idBankAccount?: number[];\n\n @ApiPropertyOptional()\n idAccountType?: number;\n\n @ApiPropertyOptional()\n idFile?: number;\n\n @ApiPropertyOptional()\n orderBy?: string;\n\n @ApiPropertyOptional()\n search?: string;\n\n @ApiPropertyOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n toAnnotate?: boolean;\n\n @ApiPropertyOptional()\n @ToBoolean()\n @IsBoolean()\n @IsOptional()\n declare toVerify?: boolean;\n\n @ApiPropertyOptional()\n startDate?: string;\n\n @ApiPropertyOptional()\n endDate?: string;\n\n @ApiPropertyOptional()\n withMissingReceipt?: boolean;\n\n @ApiPropertyOptional()\n invoiceRequested?: boolean;\n\n @ApiPropertyOptional()\n onlyCredit?: boolean;\n\n @ApiPropertyOptional()\n onlyDebit?: boolean;\n}\n\nexport class QueryGetAllTransactions {\n @ApiPropertyOptional()\n typeOperation?: TypeCustomerProviderOperation;\n\n @ApiPropertyOptional()\n dateValue?: string;\n\n @ApiPropertyOptional()\n idAccountingJournal?: AccountingJournal[];\n\n @ApiPropertyOptional()\n idFile?: number;\n}\n\nexport class QueryAutomaticAnnotation {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n startDate: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n endDate: string;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
2
2
|
import { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation.js';
|
|
3
3
|
import { AccountingJournal } from '../../../Enum/AccountingJournal.js';
|
|
4
|
-
import { IsDateString, IsInt, IsOptional } from 'class-validator';
|
|
4
|
+
import { IsBoolean, IsDateString, IsInt, IsOptional } from 'class-validator';
|
|
5
|
+
import { ToBoolean } from '#utils/transforms/boolean.transform.js';
|
|
5
6
|
|
|
6
7
|
export class QueryTransaction {
|
|
7
8
|
id: number;
|
|
@@ -39,6 +40,12 @@ export class QueryTransaction {
|
|
|
39
40
|
@ApiPropertyOptional()
|
|
40
41
|
toAnnotate?: boolean;
|
|
41
42
|
|
|
43
|
+
@ApiPropertyOptional()
|
|
44
|
+
@ToBoolean()
|
|
45
|
+
@IsBoolean()
|
|
46
|
+
@IsOptional()
|
|
47
|
+
declare toVerify?: boolean;
|
|
48
|
+
|
|
42
49
|
@ApiPropertyOptional()
|
|
43
50
|
startDate?: string;
|
|
44
51
|
|