@silexpert/core 1.1.364 → 1.1.365
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/types/Enum/BalanceSheet.d.ts +9 -2
- package/dist/cjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +9 -1
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/JobTitle.d.ts +3 -1
- package/dist/cjs/types/Enum/JobTitle.d.ts.map +1 -1
- package/dist/cjs/types/Enum/JobTitle.js +16 -4
- package/dist/cjs/types/Enum/JobTitle.js.map +1 -1
- package/dist/cjs/types/Enum/TimeSlot.d.ts +2 -1
- package/dist/cjs/types/Enum/TimeSlot.d.ts.map +1 -1
- package/dist/cjs/types/Enum/TimeSlot.js +13 -1
- package/dist/cjs/types/Enum/TimeSlot.js.map +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +1 -0
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.js +4 -0
- package/dist/cjs/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts +9 -2
- package/dist/mjs/types/Enum/BalanceSheet.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +9 -1
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/JobTitle.d.ts +3 -1
- package/dist/mjs/types/Enum/JobTitle.d.ts.map +1 -1
- package/dist/mjs/types/Enum/JobTitle.js +16 -4
- package/dist/mjs/types/Enum/JobTitle.js.map +1 -1
- package/dist/mjs/types/Enum/TimeSlot.d.ts +2 -1
- package/dist/mjs/types/Enum/TimeSlot.d.ts.map +1 -1
- package/dist/mjs/types/Enum/TimeSlot.js +12 -0
- package/dist/mjs/types/Enum/TimeSlot.js.map +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts +1 -0
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.js +5 -0
- package/dist/mjs/types/Interface/api/accountingTransaction/QueryTransaction.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Enum/BalanceSheet.ts +9 -1
- package/ts/types/Enum/JobTitle.ts +17 -4
- package/ts/types/Enum/TimeSlot.ts +12 -1
- package/ts/types/Interface/api/accountingTransaction/QueryTransaction.ts +3 -0
|
@@ -15,6 +15,7 @@ export class QueryTransaction {
|
|
|
15
15
|
page;
|
|
16
16
|
limit;
|
|
17
17
|
idAccountingJournal;
|
|
18
|
+
idTypeAccountingFile;
|
|
18
19
|
idBankAccount;
|
|
19
20
|
idAccountType;
|
|
20
21
|
idFile;
|
|
@@ -41,6 +42,10 @@ __decorate([
|
|
|
41
42
|
ApiProperty(),
|
|
42
43
|
__metadata("design:type", Array)
|
|
43
44
|
], QueryTransaction.prototype, "idAccountingJournal", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
ApiPropertyOptional(),
|
|
47
|
+
__metadata("design:type", Array)
|
|
48
|
+
], QueryTransaction.prototype, "idTypeAccountingFile", void 0);
|
|
44
49
|
__decorate([
|
|
45
50
|
ApiPropertyOptional(),
|
|
46
51
|
__metadata("design:type", Array)
|
|
@@ -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,mBAAmB,CAAC;AACrE,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAE5F,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElE,MAAM,OAAO,gBAAgB;IAC3B,EAAE,CAAS;IAGT,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,mBAAmB,CAAW;IAG9B,aAAa,CAAY;IAGzB,aAAa,CAAU;IAGvB,MAAM,CAAU;IAGhB,OAAO,CAAU;IAGjB,MAAM,CAAU;IAGhB,UAAU,CAAW;IAGrB,UAAU,CAAW;IAGrB,SAAS,CAAU;IAGnB,OAAO,CAAU;IAGjB,cAAc,CAAW;IAGzB,gBAAgB,CAAW;IAG3B,UAAU,CAAW;IAGrB,SAAS,CAAW;CACvB;
|
|
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,mBAAmB,CAAC;AACrE,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAE5F,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElE,MAAM,OAAO,gBAAgB;IAC3B,EAAE,CAAS;IAGT,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;IAGrB,SAAS,CAAU;IAGnB,OAAO,CAAU;IAGjB,cAAc,CAAW;IAGzB,gBAAgB,CAAW;IAG3B,UAAU,CAAW;IAGrB,SAAS,CAAW;CACvB;AAjDG;IADD,WAAW,EAAE;;8CACC;AAGb;IADD,WAAW,EAAE;;+CACE;AAGd;IADD,WAAW,EAAE;;6DACkB;AAG9B;IADD,mBAAmB,EAAE;;8DACY;AAGhC;IADD,mBAAmB,EAAE;;uDACK;AAGzB;IADD,mBAAmB,EAAE;;uDACG;AAGvB;IADD,mBAAmB,EAAE;;gDACJ;AAGhB;IADD,mBAAmB,EAAE;;iDACH;AAGjB;IADD,mBAAmB,EAAE;;gDACJ;AAGhB;IADD,mBAAmB,EAAE;;oDACC;AAGrB;IADD,mBAAmB,EAAE;;oDACC;AAGrB;IADD,mBAAmB,EAAE;;mDACD;AAGnB;IADD,mBAAmB,EAAE;;iDACH;AAGjB;IADD,mBAAmB,EAAE;;wDACK;AAGzB;IADD,mBAAmB,EAAE;;0DACO;AAG3B;IADD,mBAAmB,EAAE;;oDACC;AAGrB;IADD,mBAAmB,EAAE;;mDACA;AAGxB,MAAM,OAAO,uBAAuB;IAEhC,aAAa,CAAiC;IAG9C,SAAS,CAAU;IAGnB,mBAAmB,CAAuB;IAG1C,MAAM,CAAU;CACnB;AAVG;IADD,mBAAmB,EAAE;;8DAC0B;AAG9C;IADD,mBAAmB,EAAE;;0DACD;AAGnB;IADD,mBAAmB,EAAE;;oEACsB;AAG1C;IADD,mBAAmB,EAAE;;uDACJ;AAGpB,MAAM,OAAO,wBAAwB;IAIjC,SAAS,CAAS;IAKlB,SAAS,CAAS;IAKlB,OAAO,CAAS;CACnB;AAXG;IAHD,mBAAmB,EAAE;IACrB,KAAK,EAAE;IACP,UAAU,EAAE;;2DACO;AAKlB;IAHD,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;2DACO;AAKlB;IAHD,mBAAmB,EAAE;IACrB,YAAY,EAAE;IACd,UAAU,EAAE;;yDACK","sourcesContent":["import { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TypeCustomerProviderOperation } from '../../../Enum/TypeCustomerProviderOperation';\nimport { AccountingJournal } from '../../../Enum/AccountingJournal';\nimport { IsDateString, IsInt, IsOptional } from 'class-validator';\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 idTypeAccountingFile?: 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 startDate?: string;\n\n @ApiPropertyOptional()\n endDate?: string;\n\n @ApiPropertyOptional()\n withoutReceipt?: 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}"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.365",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -31,6 +31,7 @@ export enum BalanceSheetState {
|
|
|
31
31
|
COMPLETE_QUESTIONNAIRE = 26,
|
|
32
32
|
PROCESSING_ITEMS_IN_PROGRESS = 27,
|
|
33
33
|
ABANDONED_FORECAST = 28,
|
|
34
|
+
ESTABLISH_REFUSED = 29,
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
export const BalanceSheetDetails = [
|
|
@@ -73,7 +74,7 @@ export const BalanceSheetDetails = [
|
|
|
73
74
|
forRoles: [['front_office', 'manager'], ['front_office_express', 'manager'], ['expert']],
|
|
74
75
|
},
|
|
75
76
|
{
|
|
76
|
-
text: 'À
|
|
77
|
+
text: 'À _admnviser',
|
|
77
78
|
value: BalanceSheetState.TO_SUPERVISE,
|
|
78
79
|
color: 'teal',
|
|
79
80
|
textColor: 'teal--text',
|
|
@@ -207,6 +208,13 @@ export const BalanceSheetDetails = [
|
|
|
207
208
|
colorText: 'green--text',
|
|
208
209
|
forRoles: [['front_office'], ['expert']],
|
|
209
210
|
},
|
|
211
|
+
{
|
|
212
|
+
text: 'Refus d\'établir',
|
|
213
|
+
value: BalanceSheetState.ESTABLISH_REFUSED,
|
|
214
|
+
color: 'orange darken-1',
|
|
215
|
+
colorText: 'orange--text text--darken-1',
|
|
216
|
+
forRoles: [['super_admin'], ['controle_interne']],
|
|
217
|
+
},
|
|
210
218
|
] as const;
|
|
211
219
|
|
|
212
220
|
export const ForecastBalanceSheetDetails = [
|
|
@@ -35,6 +35,8 @@ export enum JobTitle {
|
|
|
35
35
|
TECHNICAL_ADVISOR = 34,
|
|
36
36
|
OPERATIONS_DIRECTOR = 35,
|
|
37
37
|
PRODUCT_MANAGER = 36,
|
|
38
|
+
COMMUNICATION_OFFICER = 37,
|
|
39
|
+
RECRUITMENT_OFFICER = 38,
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
export const JobTitleList: Array<{ id: JobTitle; menText: string, womenText: string }> = [
|
|
@@ -140,8 +142,8 @@ export const JobTitleList: Array<{ id: JobTitle; menText: string, womenText: str
|
|
|
140
142
|
},
|
|
141
143
|
{
|
|
142
144
|
id: JobTitle.COMMUNICATION_MANAGER,
|
|
143
|
-
menText: '
|
|
144
|
-
womenText: '
|
|
145
|
+
menText: 'Responsable communication',
|
|
146
|
+
womenText: 'Responsable communication',
|
|
145
147
|
},
|
|
146
148
|
{
|
|
147
149
|
id: JobTitle.INTERNAL_CONTROL_REFERENT,
|
|
@@ -175,8 +177,8 @@ export const JobTitleList: Array<{ id: JobTitle; menText: string, womenText: str
|
|
|
175
177
|
},
|
|
176
178
|
{
|
|
177
179
|
id: JobTitle.RECRUITMENT_MANAGER,
|
|
178
|
-
menText: '
|
|
179
|
-
womenText: '
|
|
180
|
+
menText: 'Responsable recrutement',
|
|
181
|
+
womenText: 'Responsable recrutement',
|
|
180
182
|
},
|
|
181
183
|
{
|
|
182
184
|
id: JobTitle.WEB_EDITOR,
|
|
@@ -218,4 +220,15 @@ export const JobTitleList: Array<{ id: JobTitle; menText: string, womenText: str
|
|
|
218
220
|
menText: 'Product manager',
|
|
219
221
|
womenText: 'Product manager',
|
|
220
222
|
},
|
|
223
|
+
{
|
|
224
|
+
id: JobTitle.COMMUNICATION_OFFICER,
|
|
225
|
+
menText: 'Chargé de communication',
|
|
226
|
+
womenText: 'Chargée de communication',
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
id: JobTitle.RECRUITMENT_OFFICER,
|
|
230
|
+
menText: 'Chargé de recrutement',
|
|
231
|
+
womenText: 'Chargée de recrutement',
|
|
232
|
+
},
|
|
233
|
+
|
|
221
234
|
];
|
|
@@ -24,7 +24,7 @@ export enum TimeSlot {
|
|
|
24
24
|
VAT_TERRITORIALITY = 21,
|
|
25
25
|
FINANCIAL_SOURCE = 22,
|
|
26
26
|
FOLDER_LIFE = 23,
|
|
27
|
-
|
|
27
|
+
CORPORATE_LAW_AND_MULTI_MODIFICATION_CONSULTANCY = 24,
|
|
28
28
|
}
|
|
29
29
|
export enum TimeSlotCategory {
|
|
30
30
|
ACCOUNTING = 1,
|
|
@@ -293,4 +293,15 @@ export const TimeSlotDetail:TimeSlotDetailType[] = [
|
|
|
293
293
|
forWholeService: false,
|
|
294
294
|
idTimeCounterType: TimeCounterType.CALENDLY.id,
|
|
295
295
|
},
|
|
296
|
+
{
|
|
297
|
+
id: TimeSlot.CORPORATE_LAW_AND_MULTI_MODIFICATION_CONSULTANCY,
|
|
298
|
+
name: 'Conseils en droit des sociétés et multi-modifications',
|
|
299
|
+
internalName: 'Rdv droit des sociétés et multi-modifications',
|
|
300
|
+
category: TimeSlotCategoryDetail.find(c => c.id === TimeSlotCategory.JURIDIC)?.name,
|
|
301
|
+
duration: 60,
|
|
302
|
+
idRole: [Role.JURIDIC, Role.MANAGER],
|
|
303
|
+
idRoleExcluded:[Role.DIRECTOR],
|
|
304
|
+
forWholeService: false,
|
|
305
|
+
idTimeCounterType: TimeCounterType.CALENDLY.id,
|
|
306
|
+
},
|
|
296
307
|
];
|