@silexpert/core 1.3.105 → 1.3.106-1
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/BankDedup.d.ts.map +1 -1
- package/dist/cjs/api/resources/BankDedup.js +5 -1
- package/dist/cjs/api/resources/BankDedup.js.map +1 -1
- package/dist/cjs/api/resources/IncomeAllocation.d.ts +0 -2
- package/dist/cjs/api/resources/IncomeAllocation.d.ts.map +1 -1
- package/dist/cjs/api/resources/IncomeAllocation.js +0 -4
- package/dist/cjs/api/resources/IncomeAllocation.js.map +1 -1
- package/dist/cjs/api/resources/Payment.d.ts +3 -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/Registration.d.ts +2 -1
- package/dist/cjs/api/resources/Registration.d.ts.map +1 -1
- package/dist/cjs/api/resources/Registration.js +3 -0
- package/dist/cjs/api/resources/Registration.js.map +1 -1
- package/dist/cjs/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts +0 -6
- package/dist/cjs/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingIncome/ReadAccountingIncome.js.map +1 -1
- package/dist/cjs/types/Interface/api/bankDedup/BankDedup.d.ts +3 -21
- package/dist/cjs/types/Interface/api/bankDedup/BankDedup.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/bankDedup/BankDedup.js +2 -54
- package/dist/cjs/types/Interface/api/bankDedup/BankDedup.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/Utils.d.ts +2 -0
- package/dist/cjs/types/Interface/api/cerfa/Utils.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/Utils.js.map +1 -1
- package/dist/cjs/types/Interface/api/incomeAllocation/CreateIncomeAllocation.d.ts +10 -9
- package/dist/cjs/types/Interface/api/incomeAllocation/CreateIncomeAllocation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js +17 -9
- package/dist/cjs/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js.map +1 -1
- package/dist/cjs/types/Interface/api/registration/QueryRegistration.d.ts +3 -0
- package/dist/cjs/types/Interface/api/registration/QueryRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/registration/QueryRegistration.js +9 -1
- package/dist/cjs/types/Interface/api/registration/QueryRegistration.js.map +1 -1
- package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts +3 -0
- package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +4 -0
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +13 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +1 -0
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +6 -0
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/api/resources/BankDedup.d.ts.map +1 -1
- package/dist/mjs/api/resources/BankDedup.js +5 -1
- package/dist/mjs/api/resources/BankDedup.js.map +1 -1
- package/dist/mjs/api/resources/IncomeAllocation.d.ts +0 -2
- package/dist/mjs/api/resources/IncomeAllocation.d.ts.map +1 -1
- package/dist/mjs/api/resources/IncomeAllocation.js +0 -4
- package/dist/mjs/api/resources/IncomeAllocation.js.map +1 -1
- package/dist/mjs/api/resources/Payment.d.ts +3 -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/Registration.d.ts +2 -1
- package/dist/mjs/api/resources/Registration.d.ts.map +1 -1
- package/dist/mjs/api/resources/Registration.js +3 -0
- package/dist/mjs/api/resources/Registration.js.map +1 -1
- package/dist/mjs/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts +0 -6
- package/dist/mjs/types/Interface/api/accountingIncome/ReadAccountingIncome.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingIncome/ReadAccountingIncome.js.map +1 -1
- package/dist/mjs/types/Interface/api/bankDedup/BankDedup.d.ts +3 -21
- package/dist/mjs/types/Interface/api/bankDedup/BankDedup.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/bankDedup/BankDedup.js +1 -61
- package/dist/mjs/types/Interface/api/bankDedup/BankDedup.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/Utils.d.ts +2 -0
- package/dist/mjs/types/Interface/api/cerfa/Utils.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/Utils.js.map +1 -1
- package/dist/mjs/types/Interface/api/incomeAllocation/CreateIncomeAllocation.d.ts +10 -9
- package/dist/mjs/types/Interface/api/incomeAllocation/CreateIncomeAllocation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js +18 -9
- package/dist/mjs/types/Interface/api/incomeAllocation/CreateIncomeAllocation.js.map +1 -1
- package/dist/mjs/types/Interface/api/registration/QueryRegistration.d.ts +3 -0
- package/dist/mjs/types/Interface/api/registration/QueryRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/registration/QueryRegistration.js +8 -0
- package/dist/mjs/types/Interface/api/registration/QueryRegistration.js.map +1 -1
- package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts +3 -0
- package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +4 -0
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +13 -0
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +1 -0
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +8 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BankDedup.ts +6 -1
- package/ts/api/resources/IncomeAllocation.ts +0 -5
- package/ts/api/resources/Payment.ts +6 -0
- package/ts/api/resources/Registration.ts +6 -0
- package/ts/types/Interface/api/accountingIncome/ReadAccountingIncome.ts +0 -3
- package/ts/types/Interface/api/bankDedup/BankDedup.ts +3 -52
- package/ts/types/Interface/api/cerfa/Utils.ts +2 -0
- package/ts/types/Interface/api/incomeAllocation/CreateIncomeAllocation.ts +25 -18
- package/ts/types/Interface/api/registration/QueryRegistration.ts +6 -0
- package/ts/types/Interface/api/registration/ReadRegistration.ts +4 -0
- package/ts/types/Interface/api/stripe/Create.ts +9 -0
- package/ts/types/Interface/api/stripe/QueryStripe.ts +6 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IsString, IsNumber, IsArray, ValidateNested, IsBoolean, IsIn, IsOptional, Min, Max } from 'class-validator';
|
|
2
2
|
import { ApiProperty } from '../../../../utils';
|
|
3
|
+
import { TFile2 } from '../file/TFile';
|
|
3
4
|
|
|
4
5
|
export class BankDedupRequest {
|
|
5
6
|
@ApiProperty()
|
|
@@ -17,7 +18,7 @@ export class BankDedupRequest {
|
|
|
17
18
|
|
|
18
19
|
export class BankDedupAnalysisParams {
|
|
19
20
|
@ApiProperty()
|
|
20
|
-
csv:
|
|
21
|
+
csv: TFile2;
|
|
21
22
|
|
|
22
23
|
@ApiProperty()
|
|
23
24
|
@IsNumber()
|
|
@@ -252,54 +253,4 @@ export class BankDedupGroup {
|
|
|
252
253
|
}[];
|
|
253
254
|
}
|
|
254
255
|
|
|
255
|
-
export
|
|
256
|
-
@ApiProperty()
|
|
257
|
-
@IsBoolean()
|
|
258
|
-
success: false;
|
|
259
|
-
|
|
260
|
-
@ApiProperty()
|
|
261
|
-
@IsIn(['NO_EXACT_COMBINATION', 'CSV_PARSE_ERROR', 'INVALID_INPUT', 'INSUFFICIENT_DUPLICATES'])
|
|
262
|
-
reason: 'NO_EXACT_COMBINATION' | 'CSV_PARSE_ERROR' | 'INVALID_INPUT' | 'INSUFFICIENT_DUPLICATES';
|
|
263
|
-
|
|
264
|
-
@ApiProperty()
|
|
265
|
-
@IsString()
|
|
266
|
-
message: string;
|
|
267
|
-
|
|
268
|
-
@ApiProperty()
|
|
269
|
-
@IsOptional()
|
|
270
|
-
@IsNumber()
|
|
271
|
-
initial?: number;
|
|
272
|
-
|
|
273
|
-
@ApiProperty()
|
|
274
|
-
@IsOptional()
|
|
275
|
-
@IsNumber()
|
|
276
|
-
target?: number;
|
|
277
|
-
|
|
278
|
-
@ApiProperty()
|
|
279
|
-
@IsOptional()
|
|
280
|
-
@IsNumber()
|
|
281
|
-
finalRaw?: number;
|
|
282
|
-
|
|
283
|
-
@ApiProperty()
|
|
284
|
-
@IsOptional()
|
|
285
|
-
@IsNumber()
|
|
286
|
-
diffBefore?: number;
|
|
287
|
-
|
|
288
|
-
@ApiProperty()
|
|
289
|
-
@IsOptional()
|
|
290
|
-
bestAttempt?: {
|
|
291
|
-
finalAfterDedup: number;
|
|
292
|
-
diffAfter: number;
|
|
293
|
-
removedCount: number;
|
|
294
|
-
};
|
|
295
|
-
|
|
296
|
-
@ApiProperty()
|
|
297
|
-
@IsOptional()
|
|
298
|
-
stats?: {
|
|
299
|
-
totalTx?: number;
|
|
300
|
-
totalGroups?: number;
|
|
301
|
-
strategiesTried?: string[];
|
|
302
|
-
};
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
export type BankDedupResponse = BankDedupResult | BankDedupImpossible;
|
|
256
|
+
export type BankDedupResponse = BankDedupResult;
|
|
@@ -12,7 +12,9 @@ export interface PartnersNaturalPersonPayment {
|
|
|
12
12
|
paymentYear: number;
|
|
13
13
|
emolumentsAndCompensations?: number;
|
|
14
14
|
fixedCompensations?: number;
|
|
15
|
+
fixedCompensations2?: number;
|
|
15
16
|
reimbursements?: number;
|
|
17
|
+
reimbursements2?: number;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
export interface PartnersNaturalPerson {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { IsBoolean } from 'class-validator';
|
|
1
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
2
4
|
|
|
3
5
|
export class CreateIncomeAllocation {
|
|
4
6
|
@ApiProperty()
|
|
@@ -7,36 +9,41 @@ export class CreateIncomeAllocation {
|
|
|
7
9
|
@ApiProperty()
|
|
8
10
|
idExercice: number;
|
|
9
11
|
|
|
12
|
+
@ApiPropertyOptional({ description: 'If true, it will affect the amount into an account 117000.' })
|
|
13
|
+
@IsBoolean()
|
|
14
|
+
@ToBoolean()
|
|
15
|
+
isWaiting?: boolean;
|
|
16
|
+
|
|
10
17
|
@ApiPropertyOptional()
|
|
11
18
|
idFile?: number;
|
|
12
19
|
|
|
13
20
|
@ApiPropertyOptional()
|
|
14
21
|
dateValue?: string | undefined;
|
|
15
22
|
|
|
16
|
-
@
|
|
17
|
-
debitReport
|
|
23
|
+
@ApiPropertyOptional()
|
|
24
|
+
debitReport?: number;
|
|
18
25
|
|
|
19
|
-
@
|
|
20
|
-
creditReport
|
|
26
|
+
@ApiPropertyOptional()
|
|
27
|
+
creditReport?: number;
|
|
21
28
|
|
|
22
|
-
@
|
|
23
|
-
statutoryReserve
|
|
29
|
+
@ApiPropertyOptional()
|
|
30
|
+
statutoryReserve?: number;
|
|
24
31
|
|
|
25
|
-
@
|
|
26
|
-
legalReserve
|
|
32
|
+
@ApiPropertyOptional()
|
|
33
|
+
legalReserve?: number;
|
|
27
34
|
|
|
28
|
-
@
|
|
29
|
-
regulatedReserve
|
|
35
|
+
@ApiPropertyOptional()
|
|
36
|
+
regulatedReserve?: number;
|
|
30
37
|
|
|
31
|
-
@
|
|
32
|
-
unavailableReserve
|
|
38
|
+
@ApiPropertyOptional()
|
|
39
|
+
unavailableReserve?: number;
|
|
33
40
|
|
|
34
|
-
@
|
|
35
|
-
optionalReserve
|
|
41
|
+
@ApiPropertyOptional()
|
|
42
|
+
optionalReserve?: number;
|
|
36
43
|
|
|
37
|
-
@
|
|
38
|
-
levyOnReserve
|
|
44
|
+
@ApiPropertyOptional()
|
|
45
|
+
levyOnReserve?: number;
|
|
39
46
|
|
|
40
|
-
@
|
|
41
|
-
dividend
|
|
47
|
+
@ApiPropertyOptional()
|
|
48
|
+
dividend?: number;
|
|
42
49
|
}
|
|
@@ -12,6 +12,12 @@ export class QueryRegistration {
|
|
|
12
12
|
idExercice?: number;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
export class QueryRegistrationFormValues {
|
|
16
|
+
@ApiProperty()
|
|
17
|
+
@IsEnum(CerfaType)
|
|
18
|
+
idCerfaType: CerfaType;
|
|
19
|
+
}
|
|
20
|
+
|
|
15
21
|
export class QueryPaginatedRegistration extends RequiredQueryPaginate {
|
|
16
22
|
@ApiPropertyOptional()
|
|
17
23
|
@IsOptional()
|
|
@@ -13,6 +13,10 @@ export interface ReadSynchronization {
|
|
|
13
13
|
hasFailed: boolean;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
export type ReadRegistrationFormValues = {
|
|
17
|
+
carriedForwardDeficit: number;
|
|
18
|
+
};
|
|
19
|
+
|
|
16
20
|
export type ReadRegistrationHistory = InterchangeState;
|
|
17
21
|
|
|
18
22
|
export interface ReadRegistrationTick {
|
|
@@ -112,6 +112,15 @@ export class CreatePaymentIntent {
|
|
|
112
112
|
metadata?: Stripe.MetadataParam;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
export class UpdatePaymentMethod {
|
|
116
|
+
@ApiProperty()
|
|
117
|
+
@IsString()
|
|
118
|
+
stripePaymentMethodId: string;
|
|
119
|
+
|
|
120
|
+
@ApiProperty()
|
|
121
|
+
metadata: any;
|
|
122
|
+
}
|
|
123
|
+
|
|
115
124
|
export class PostProcessPaymentAutomatically {
|
|
116
125
|
@ApiPropertyOptional()
|
|
117
126
|
@IsInt()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsBoolean, IsOptional, IsString } from 'class-validator';
|
|
1
|
+
import { IsBoolean, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
4
|
|
|
@@ -6,6 +6,11 @@ export class RetrievePaymentMethodsParams {
|
|
|
6
6
|
@ApiProperty()
|
|
7
7
|
@IsString()
|
|
8
8
|
customerId: string;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional({ describe: 'Search into payment method metadata' })
|
|
11
|
+
@IsNumber()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
idSociety: number;
|
|
9
14
|
}
|
|
10
15
|
|
|
11
16
|
export class QueryStripeSession {
|