@silexpert/core 2.0.59 → 2.0.60
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/api/resources/KycMandate.d.ts +2 -2
- package/dist/api/resources/KycMandate.d.ts.map +1 -1
- package/dist/api/resources/KycMandate.js.map +1 -1
- package/dist/types/Interface/api/docoon/Read.d.ts +6 -1
- package/dist/types/Interface/api/docoon/Read.d.ts.map +1 -1
- package/dist/types/Interface/api/docoon/Read.js.map +1 -1
- package/dist/types/Interface/api/kyc/Read.d.ts +4 -0
- package/dist/types/Interface/api/kyc/Read.d.ts.map +1 -1
- package/dist/types/Interface/api/kyc/Read.js.map +1 -1
- package/dist/types/Interface/api/library/MergeContentPayload.d.ts +12 -0
- package/dist/types/Interface/api/library/MergeContentPayload.d.ts.map +1 -0
- package/dist/types/Interface/api/library/MergeContentPayload.js +83 -0
- package/dist/types/Interface/api/library/MergeContentPayload.js.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/KycMandate.ts +2 -2
- package/ts/types/Interface/api/docoon/Read.ts +6 -1
- package/ts/types/Interface/api/kyc/Read.ts +5 -0
- package/ts/types/Interface/api/library/MergeContentPayload.ts +55 -0
- package/ts/types/index.ts +1 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _InvoicingKycMAndateWithDirectoryLineInfo } from '#types/index.js';
|
|
2
2
|
import { Resource } from '../Resource.js';
|
|
3
3
|
|
|
4
4
|
export class KycMandate extends Resource {
|
|
5
|
-
public getAllBySociety(idSociety: number): Promise<
|
|
5
|
+
public getAllBySociety(idSociety: number): Promise<_InvoicingKycMAndateWithDirectoryLineInfo[]> {
|
|
6
6
|
return this.axios.$get(`/societies/${idSociety}/mandates`);
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -211,9 +211,14 @@ export interface ReadDocoonDirectoryLineAdded {
|
|
|
211
211
|
message: string;
|
|
212
212
|
dateFrom: string;
|
|
213
213
|
dateTo: string | null;
|
|
214
|
-
flowError:
|
|
214
|
+
flowError: ReadDocoonDirectoryLineFlowError;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
+
export interface ReadDocoonDirectoryLineFlowError {
|
|
218
|
+
details: string[];
|
|
219
|
+
errorCode: string;
|
|
220
|
+
errorMessage: string;
|
|
221
|
+
}
|
|
217
222
|
export interface ReadDocoonTenantDirectoryLines {
|
|
218
223
|
tenantId: string;
|
|
219
224
|
directoryLines: ReadDocoonDirectoryLineAdded[];
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import { IEInvoicingKycAndMandate, ReadDocoonDirectoryLineAdded } from '../../../../index.js';
|
|
2
|
+
|
|
3
|
+
export type _InvoicingKycMAndateWithDirectoryLineInfo = IEInvoicingKycAndMandate & {
|
|
4
|
+
directoryLineInfo?: ReadDocoonDirectoryLineAdded;
|
|
5
|
+
};
|
|
1
6
|
export interface LegalRepresentative {
|
|
2
7
|
type: 'INDIVIDU' | 'ENTREPRISE';
|
|
3
8
|
siren?: string;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { IsBoolean, IsIn, IsInt, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
3
|
+
|
|
4
|
+
export class MergeContentPayload {
|
|
5
|
+
@ApiPropertyOptional({ default: '', example: '' })
|
|
6
|
+
@IsInt()
|
|
7
|
+
@IsOptional()
|
|
8
|
+
idSociety?: number;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional({ enum: ['download', 'overwrite'], default: 'download', example: 'download' })
|
|
11
|
+
@IsString()
|
|
12
|
+
@IsIn(['download', 'overwrite'])
|
|
13
|
+
@IsOptional()
|
|
14
|
+
outputMode?: 'download' | 'overwrite' = 'download';
|
|
15
|
+
|
|
16
|
+
@ApiPropertyOptional({
|
|
17
|
+
description: 'Fallback base64 si pas de fichier envoye',
|
|
18
|
+
nullable: true,
|
|
19
|
+
default: '',
|
|
20
|
+
example: '',
|
|
21
|
+
type: String,
|
|
22
|
+
})
|
|
23
|
+
@IsString()
|
|
24
|
+
@IsOptional()
|
|
25
|
+
overlayImageBase64?: string | null;
|
|
26
|
+
|
|
27
|
+
@ApiPropertyOptional({ type: 'string', format: 'binary' })
|
|
28
|
+
@IsOptional()
|
|
29
|
+
overlayImage?: unknown;
|
|
30
|
+
|
|
31
|
+
@ApiPropertyOptional({ default: true, example: true })
|
|
32
|
+
@IsBoolean()
|
|
33
|
+
@IsOptional()
|
|
34
|
+
onlyTwoPages?: boolean = true;
|
|
35
|
+
|
|
36
|
+
@ApiPropertyOptional({ default: 10, example: 10 })
|
|
37
|
+
@IsInt()
|
|
38
|
+
@IsOptional()
|
|
39
|
+
maxFiles?: number = 10;
|
|
40
|
+
|
|
41
|
+
@ApiPropertyOptional({ default: 360, example: 360 })
|
|
42
|
+
@IsNumber()
|
|
43
|
+
@IsOptional()
|
|
44
|
+
x?: number = 360;
|
|
45
|
+
|
|
46
|
+
@ApiPropertyOptional({ default: 475, example: 475 })
|
|
47
|
+
@IsNumber()
|
|
48
|
+
@IsOptional()
|
|
49
|
+
y?: number = 475;
|
|
50
|
+
|
|
51
|
+
@ApiPropertyOptional({ default: 100, example: 100 })
|
|
52
|
+
@IsNumber()
|
|
53
|
+
@IsOptional()
|
|
54
|
+
imageWidth?: number = 100;
|
|
55
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -863,6 +863,7 @@ export * from './Interface/api/humanResourceLibrary/CreateUserHumanResourceLibra
|
|
|
863
863
|
export * from './Interface/api/report/ExternalReport.js';
|
|
864
864
|
export * from './Interface/api/collaboraterDetail/CreateCollaboraterDetail.js';
|
|
865
865
|
export * from './Interface/api/library/QueryLibrary.js';
|
|
866
|
+
export * from './Interface/api/library/MergeContentPayload.js';
|
|
866
867
|
export * from './Interface/api/library/ReadLibraryFile.js';
|
|
867
868
|
export * from './Interface/api/taxDeadline/QueryTaxDeadline.js';
|
|
868
869
|
export * from './Interface/api/taxDeadline/ReadTaxDeadline.js';
|