@silexpert/core 1.1.150 → 1.1.152
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/Facturation.d.ts +3 -1
- package/dist/cjs/api/resources/Facturation.d.ts.map +1 -1
- package/dist/cjs/api/resources/Facturation.js +8 -0
- package/dist/cjs/api/resources/Facturation.js.map +1 -1
- package/dist/cjs/api/resources/Revision.d.ts +2 -1
- package/dist/cjs/api/resources/Revision.d.ts.map +1 -1
- package/dist/cjs/api/resources/Revision.js +10 -2
- package/dist/cjs/api/resources/Revision.js.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.d.ts +2 -0
- package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.js +1 -0
- package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/BrandComptalib.d.ts +3 -0
- package/dist/cjs/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandComptalib.js +1 -0
- package/dist/cjs/types/Enum/BrandComptalib.js.map +1 -1
- package/dist/cjs/types/Enum/BrandLegalstart.d.ts +1 -0
- package/dist/cjs/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandLegalstart.js +1 -0
- package/dist/cjs/types/Enum/BrandLegalstart.js.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.d.ts +92 -0
- package/dist/cjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandPourcentage.js +1 -0
- package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/cjs/types/Interface/api/facturation/Query.d.ts +6 -0
- package/dist/cjs/types/Interface/api/facturation/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/facturation/Query.js +22 -1
- package/dist/cjs/types/Interface/api/facturation/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Create.d.ts +6 -4
- package/dist/cjs/types/Interface/api/revision/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Create.js +24 -18
- package/dist/cjs/types/Interface/api/revision/Create.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISupervisionPersonalAccountantNote.d.ts +2 -2
- package/dist/cjs/types/Interface/models/ISupervisionPersonalAccountantNote.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISupervisionPersonalAccountantNote.js.map +1 -1
- package/dist/mjs/api/resources/Facturation.d.ts +3 -1
- package/dist/mjs/api/resources/Facturation.d.ts.map +1 -1
- package/dist/mjs/api/resources/Facturation.js +8 -0
- package/dist/mjs/api/resources/Facturation.js.map +1 -1
- package/dist/mjs/api/resources/Revision.d.ts +2 -1
- package/dist/mjs/api/resources/Revision.d.ts.map +1 -1
- package/dist/mjs/api/resources/Revision.js +10 -2
- package/dist/mjs/api/resources/Revision.js.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.d.ts +2 -0
- package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.js +1 -0
- package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/BrandComptalib.d.ts +3 -0
- package/dist/mjs/types/Enum/BrandComptalib.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandComptalib.js +1 -0
- package/dist/mjs/types/Enum/BrandComptalib.js.map +1 -1
- package/dist/mjs/types/Enum/BrandLegalstart.d.ts +1 -0
- package/dist/mjs/types/Enum/BrandLegalstart.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandLegalstart.js +1 -0
- package/dist/mjs/types/Enum/BrandLegalstart.js.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.d.ts +92 -0
- package/dist/mjs/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandPourcentage.js +1 -0
- package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
- package/dist/mjs/types/Interface/api/facturation/Query.d.ts +6 -0
- package/dist/mjs/types/Interface/api/facturation/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/facturation/Query.js +26 -2
- package/dist/mjs/types/Interface/api/facturation/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Create.d.ts +6 -4
- package/dist/mjs/types/Interface/api/revision/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Create.js +25 -20
- package/dist/mjs/types/Interface/api/revision/Create.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISupervisionPersonalAccountantNote.d.ts +2 -2
- package/dist/mjs/types/Interface/models/ISupervisionPersonalAccountantNote.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISupervisionPersonalAccountantNote.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Facturation.ts +10 -1
- package/ts/api/resources/Revision.ts +12 -3
- package/ts/types/Enum/BrandClementine.ts +1 -0
- package/ts/types/Enum/BrandComptalib.ts +1 -0
- package/ts/types/Enum/BrandLegalstart.ts +1 -0
- package/ts/types/Enum/BrandPourcentage.ts +1 -0
- package/ts/types/Interface/api/facturation/Query.ts +19 -2
- package/ts/types/Interface/api/revision/Create.ts +19 -14
- package/ts/types/Interface/models/ISupervisionPersonalAccountantNote.ts +2 -2
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
QueryRevisionPaginate,
|
|
9
9
|
IAccountingTransaction,
|
|
10
10
|
QueryRevisionApprobation,
|
|
11
|
-
QueryRevisionAccountComment, IAccountDetail, ICycle, QueryRevisionPendingPoint, ISupervisionPendingPoint, QueryRevisionGenericPendingPoint, CreateOrUpdateState, ISupervisionPendingPointReply, CreateReply, CreatePersonalNote, ISupervisionPersonalAccountantNote, UpdatePersonalNote, GetPersonalNoteForPeriod, ISupervision, QuerySupervision, CreateSupervisionNoteFile, GetNote, IGedFile,
|
|
11
|
+
QueryRevisionAccountComment, IAccountDetail, ICycle, QueryRevisionPendingPoint, ISupervisionPendingPoint, QueryRevisionGenericPendingPoint, CreateOrUpdateState, ISupervisionPendingPointReply, CreateReply, CreatePersonalNote, ISupervisionPersonalAccountantNote, UpdatePersonalNote, GetPersonalNoteForPeriod, ISupervision, QuerySupervision, CreateSupervisionNoteFile, GetNote, IGedFile, CreateSummaryDocument,
|
|
12
12
|
} from '../..';
|
|
13
13
|
|
|
14
14
|
export class Revision extends Resource {
|
|
@@ -85,11 +85,11 @@ export class Revision extends Resource {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
updatePersonalNote(idNote: number, params: UpdatePersonalNote): Promise<ISupervisionPersonalAccountantNote> {
|
|
88
|
-
return this.axios.$put(`supervisions/notes/${idNote}`, params);
|
|
88
|
+
return this.axios.$put(`supervisions/personal-notes/${idNote}`, params);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
deletePersonalNote(idNote: number):Promise<boolean> {
|
|
92
|
-
return this.axios.$delete(`supervisions/notes/${idNote}`);
|
|
92
|
+
return this.axios.$delete(`supervisions/personal-notes/${idNote}`);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
createNote(id: number, payload: CreateSupervisionNoteFile): Promise<Buffer> {
|
|
@@ -101,6 +101,15 @@ export class Revision extends Resource {
|
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
createSummaryDocument(id: number, payload: CreateSummaryDocument): Promise<Buffer> {
|
|
105
|
+
return this.axios.$post(`supervisions/${id}/summary-document/pdf`, payload, {
|
|
106
|
+
responseType: 'arraybuffer',
|
|
107
|
+
headers: {
|
|
108
|
+
Accept: 'application/pdf',
|
|
109
|
+
},
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
|
|
104
113
|
getNote(params: GetNote): Promise<IGedFile> {
|
|
105
114
|
return this.axios.$get('supervisions/notes', { params });
|
|
106
115
|
}
|
|
@@ -117,6 +117,7 @@ export const BrandComptalib = [
|
|
|
117
117
|
nomRaisonSociale: 'POURCENTAGE',
|
|
118
118
|
ECName: 'M. Jean-Louis BOICHÉ',
|
|
119
119
|
ECOrderCity: 'Nancy',
|
|
120
|
+
ECPosition: 'Président',
|
|
120
121
|
phone: '01 86 90 82 15',
|
|
121
122
|
postalAddress: '30, rue des Mathurins',
|
|
122
123
|
rcs: '891 501 181',
|
|
@@ -323,6 +323,7 @@ export const BrandPourcentage = [
|
|
|
323
323
|
nomRaisonSociale: 'SOFRAGECO',
|
|
324
324
|
ECName: 'M. Jean-Louis BOICHÉ',
|
|
325
325
|
ECOrderCity: 'Nancy',
|
|
326
|
+
ECPosition: 'Président',
|
|
326
327
|
phone: '01 48 58 29 45',
|
|
327
328
|
postalAddress: '72 AVENUE PASTEUR',
|
|
328
329
|
rcs: '345 081 996 R.C.S. Bobigny',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
IsInt, IsOptional, IsString,
|
|
2
|
+
IsInt, IsNumber, IsOptional, IsString,
|
|
3
3
|
} from 'class-validator';
|
|
4
|
-
import { ApiPropertyOptional } from '../../../../utils';
|
|
4
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
5
5
|
import { OptionalQueryPaginate } from '../BasePaginate';
|
|
6
6
|
|
|
7
7
|
export class QueryPaginatedRebilling extends OptionalQueryPaginate {
|
|
@@ -15,3 +15,20 @@ export class QueryPaginatedRebilling extends OptionalQueryPaginate {
|
|
|
15
15
|
@IsInt()
|
|
16
16
|
idUser?: number;
|
|
17
17
|
}
|
|
18
|
+
|
|
19
|
+
export class CreateRecommanded {
|
|
20
|
+
@ApiProperty()
|
|
21
|
+
@IsNumber()
|
|
22
|
+
idSociety: number;
|
|
23
|
+
|
|
24
|
+
@ApiProperty()
|
|
25
|
+
@IsNumber()
|
|
26
|
+
amount: number;
|
|
27
|
+
|
|
28
|
+
@ApiProperty()
|
|
29
|
+
numberRecommand: string;
|
|
30
|
+
|
|
31
|
+
@ApiProperty()
|
|
32
|
+
dateRecommand: string;
|
|
33
|
+
|
|
34
|
+
}
|
|
@@ -150,15 +150,6 @@ export class CreateSupervisionNoteFile {
|
|
|
150
150
|
@IsNumber()
|
|
151
151
|
idExercice: number;
|
|
152
152
|
|
|
153
|
-
@ApiPropertyOptional()
|
|
154
|
-
@IsString()
|
|
155
|
-
@IsOptional()
|
|
156
|
-
societyName?: string;
|
|
157
|
-
|
|
158
|
-
@ApiProperty()
|
|
159
|
-
@IsNumber()
|
|
160
|
-
idLegalForm: number;
|
|
161
|
-
|
|
162
153
|
@ApiPropertyOptional()
|
|
163
154
|
@IsString()
|
|
164
155
|
@IsOptional()
|
|
@@ -168,12 +159,26 @@ export class CreateSupervisionNoteFile {
|
|
|
168
159
|
@IsNumber()
|
|
169
160
|
@IsOptional()
|
|
170
161
|
freeTextUserId?: number;
|
|
162
|
+
|
|
163
|
+
@ApiPropertyOptional()
|
|
164
|
+
@IsBoolean()
|
|
165
|
+
@ToBoolean()
|
|
166
|
+
@IsOptional()
|
|
167
|
+
isTest?: boolean;
|
|
168
|
+
}
|
|
171
169
|
|
|
170
|
+
export class CreateSummaryDocument {
|
|
172
171
|
@ApiProperty()
|
|
173
|
-
@
|
|
174
|
-
|
|
175
|
-
|
|
172
|
+
@IsNumber()
|
|
173
|
+
idSociety: number;
|
|
174
|
+
|
|
176
175
|
@ApiProperty()
|
|
177
|
-
@
|
|
178
|
-
|
|
176
|
+
@IsNumber()
|
|
177
|
+
idExercice: number;
|
|
178
|
+
|
|
179
|
+
@ApiPropertyOptional()
|
|
180
|
+
@IsBoolean()
|
|
181
|
+
@ToBoolean()
|
|
182
|
+
@IsOptional()
|
|
183
|
+
isTest?: boolean;
|
|
179
184
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ICycle, ISupervision, IUser } from '../..';
|
|
1
|
+
import { Cycle, ICycle, ISupervision, IUser } from '../..';
|
|
2
2
|
|
|
3
3
|
export interface ISupervisionPersonalAccountantNote {
|
|
4
4
|
id?: number;
|
|
5
5
|
note: string;
|
|
6
6
|
idUser: number;
|
|
7
7
|
idSupervision: number;
|
|
8
|
-
idCycle:
|
|
8
|
+
idCycle: Cycle;
|
|
9
9
|
createdAt?: Date | null;
|
|
10
10
|
updatedAt?: Date | null;
|
|
11
11
|
|