@silexpert/core 1.1.324 → 1.1.325
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/cjs/api/resources/Payment.d.ts +2 -1
- package/dist/cjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/cjs/api/resources/Payment.js +3 -0
- package/dist/cjs/api/resources/Payment.js.map +1 -1
- package/dist/cjs/api/resources/Transaction.d.ts +2 -1
- package/dist/cjs/api/resources/Transaction.d.ts.map +1 -1
- package/dist/cjs/api/resources/Transaction.js +3 -0
- package/dist/cjs/api/resources/Transaction.js.map +1 -1
- package/dist/cjs/types/Enum/Account.d.ts +8 -0
- package/dist/cjs/types/Enum/Account.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Account.js +8 -0
- package/dist/cjs/types/Enum/Account.js.map +1 -1
- package/dist/cjs/types/Enum/Annotation.d.ts +10 -0
- package/dist/cjs/types/Enum/Annotation.d.ts.map +1 -0
- package/dist/cjs/types/Enum/Annotation.js +14 -0
- package/dist/cjs/types/Enum/Annotation.js.map +1 -0
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +5 -0
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.js +23 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/QueryPayment.d.ts +3 -0
- package/dist/cjs/types/Interface/api/payment/QueryPayment.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/QueryPayment.js +12 -1
- package/dist/cjs/types/Interface/api/payment/QueryPayment.js.map +1 -1
- package/dist/cjs/types/Interface/api/payment/ReadPayment.d.ts +5 -0
- package/dist/cjs/types/Interface/api/payment/ReadPayment.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/payment/ReadPayment.js.map +1 -1
- package/dist/cjs/types/Interface/models/IAnnotation.d.ts +12 -0
- package/dist/cjs/types/Interface/models/IAnnotation.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IAnnotation.js +3 -0
- package/dist/cjs/types/Interface/models/IAnnotation.js.map +1 -0
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Payment.d.ts +2 -1
- package/dist/mjs/api/resources/Payment.d.ts.map +1 -1
- package/dist/mjs/api/resources/Payment.js +3 -0
- package/dist/mjs/api/resources/Payment.js.map +1 -1
- package/dist/mjs/api/resources/Transaction.d.ts +2 -1
- package/dist/mjs/api/resources/Transaction.d.ts.map +1 -1
- package/dist/mjs/api/resources/Transaction.js +3 -0
- package/dist/mjs/api/resources/Transaction.js.map +1 -1
- package/dist/mjs/types/Enum/Account.d.ts +8 -0
- package/dist/mjs/types/Enum/Account.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Account.js +8 -0
- package/dist/mjs/types/Enum/Account.js.map +1 -1
- package/dist/mjs/types/Enum/Annotation.d.ts +10 -0
- package/dist/mjs/types/Enum/Annotation.d.ts.map +1 -0
- package/dist/mjs/types/Enum/Annotation.js +11 -0
- package/dist/mjs/types/Enum/Annotation.js.map +1 -0
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +5 -0
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.js +24 -0
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/QueryPayment.d.ts +3 -0
- package/dist/mjs/types/Interface/api/payment/QueryPayment.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/QueryPayment.js +13 -2
- package/dist/mjs/types/Interface/api/payment/QueryPayment.js.map +1 -1
- package/dist/mjs/types/Interface/api/payment/ReadPayment.d.ts +5 -0
- package/dist/mjs/types/Interface/api/payment/ReadPayment.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/payment/ReadPayment.js.map +1 -1
- package/dist/mjs/types/Interface/models/IAnnotation.d.ts +12 -0
- package/dist/mjs/types/Interface/models/IAnnotation.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IAnnotation.js +2 -0
- package/dist/mjs/types/Interface/models/IAnnotation.js.map +1 -0
- package/dist/mjs/types/index.d.ts +2 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +2 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Payment.ts +5 -1
- package/ts/api/resources/Transaction.ts +6 -0
- package/ts/types/Enum/Account.ts +8 -0
- package/ts/types/Enum/Annotation.ts +9 -0
- package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +18 -0
- package/ts/types/Interface/api/payment/QueryPayment.ts +11 -2
- package/ts/types/Interface/api/payment/ReadPayment.ts +6 -0
- package/ts/types/Interface/models/IAnnotation.ts +12 -0
- package/ts/types/index.ts +2 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
2
|
import { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation';
|
|
3
3
|
import { AccountingJournal } from '../../../Enum/AccountingJournal';
|
|
4
|
+
import { IsDateString, IsInt, IsOptional } from 'class-validator';
|
|
4
5
|
|
|
5
6
|
export class QueryTransaction {
|
|
6
7
|
id: number;
|
|
@@ -66,4 +67,21 @@ export class QueryGetAllTransactions {
|
|
|
66
67
|
|
|
67
68
|
@ApiPropertyOptional()
|
|
68
69
|
idFile?: number;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class QueryAutomaticAnnotation {
|
|
73
|
+
@ApiPropertyOptional()
|
|
74
|
+
@IsInt()
|
|
75
|
+
@IsOptional()
|
|
76
|
+
idSociety: number;
|
|
77
|
+
|
|
78
|
+
@ApiPropertyOptional()
|
|
79
|
+
@IsDateString()
|
|
80
|
+
@IsOptional()
|
|
81
|
+
startDate: string;
|
|
82
|
+
|
|
83
|
+
@ApiPropertyOptional()
|
|
84
|
+
@IsDateString()
|
|
85
|
+
@IsOptional()
|
|
86
|
+
endDate: string;
|
|
69
87
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { IsDefined } from 'class-validator';
|
|
2
|
-
import { ApiProperty } from '../../../../utils';
|
|
1
|
+
import { IsBoolean, IsDefined, IsOptional } from 'class-validator';
|
|
2
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
3
4
|
|
|
4
5
|
export class QueryPaymentCsv {
|
|
5
6
|
@IsDefined()
|
|
@@ -19,4 +20,12 @@ export class QueryPaymentCsv {
|
|
|
19
20
|
example: '2022-03-31',
|
|
20
21
|
})
|
|
21
22
|
endDate: Date;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export class QueryPaymentInvoice {
|
|
26
|
+
@ApiPropertyOptional()
|
|
27
|
+
@IsBoolean()
|
|
28
|
+
@ToBoolean()
|
|
29
|
+
@IsOptional()
|
|
30
|
+
unpaid?: boolean;
|
|
22
31
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AnnotationType } from '../../Enum/Annotation';
|
|
2
|
+
import { AnnotateAccountingTransaction } from '../api/accountingEntry/AnnotateAccountingTransaction';
|
|
3
|
+
|
|
4
|
+
export interface IAnnotation {
|
|
5
|
+
id?: number;
|
|
6
|
+
details: AnnotateAccountingTransaction;
|
|
7
|
+
type: AnnotationType;
|
|
8
|
+
idUser: number | null;
|
|
9
|
+
idAccountingTransaction: number;
|
|
10
|
+
createdAt?: Date;
|
|
11
|
+
updatedAt?: Date;
|
|
12
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -331,6 +331,7 @@ export * from './Interface/models/IUserSpecialDay';
|
|
|
331
331
|
export * from './Interface/models/ICollaboraterDetail';
|
|
332
332
|
export * from './Interface/models/IExpertAnnuary';
|
|
333
333
|
export * from './Interface/models/IUserTimeSlot';
|
|
334
|
+
export * from './Interface/models/IAnnotation';
|
|
334
335
|
|
|
335
336
|
|
|
336
337
|
// Schemas
|
|
@@ -495,6 +496,7 @@ export * from './Enum/OperationLegalNotice';
|
|
|
495
496
|
export * from './Enum/OrderStatus';
|
|
496
497
|
export * from './Enum/ReportService';
|
|
497
498
|
export * from './Enum/RegulateType';
|
|
499
|
+
export * from './Enum/Annotation';
|
|
498
500
|
export * from './Enum/ProcessingState';
|
|
499
501
|
export * from './Enum/InpiType';
|
|
500
502
|
export * from './Enum/DepositDocumentType';
|