@silexpert/core 1.0.135 → 1.0.137
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/es/api/resources/Mail.d.ts +2 -2
- package/es/api/resources/Mail.d.ts.map +1 -1
- package/es/api/resources/Mail.js.map +1 -1
- package/es/types/Enum/FolderFile.d.ts +32 -1
- package/es/types/Enum/FolderFile.d.ts.map +1 -1
- package/es/types/Enum/FolderFile.js +60 -0
- package/es/types/Enum/FolderFile.js.map +1 -1
- package/es/types/Enum/TaskResponseType.d.ts.map +1 -1
- package/es/types/Enum/TaskResponseType.js +11 -0
- package/es/types/Enum/TaskResponseType.js.map +1 -1
- package/es/types/Interface/api/mail/GetMailPromise.d.ts +5 -0
- package/es/types/Interface/api/mail/GetMailPromise.d.ts.map +1 -0
- package/es/types/Interface/api/mail/GetMailPromise.js +2 -0
- package/es/types/Interface/api/mail/GetMailPromise.js.map +1 -0
- package/es/types/Interface/api/wallet/QueryWallet.d.ts +1 -0
- package/es/types/Interface/api/wallet/QueryWallet.d.ts.map +1 -1
- package/es/types/Interface/api/wallet/QueryWallet.js +5 -0
- package/es/types/Interface/api/wallet/QueryWallet.js.map +1 -1
- package/es/types/index.d.ts +1 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +1 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/documents.js +2 -2
- package/es/utils/documents.js.map +1 -1
- package/js/api/resources/Mail.js.map +1 -1
- package/js/types/Enum/FolderFile.js +122 -0
- package/js/types/Enum/FolderFile.js.map +1 -1
- package/js/types/Enum/TaskResponseType.js +10 -0
- package/js/types/Enum/TaskResponseType.js.map +1 -1
- package/js/types/Interface/api/mail/GetMailPromise.js +6 -0
- package/js/types/Interface/api/mail/GetMailPromise.js.map +1 -0
- package/js/types/Interface/api/wallet/QueryWallet.js +2 -0
- package/js/types/Interface/api/wallet/QueryWallet.js.map +1 -1
- package/js/types/index.js +12 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/documents.js +2 -2
- package/js/utils/documents.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Mail.ts +2 -1
- package/ts/types/Enum/FolderFile.ts +62 -1
- package/ts/types/Enum/TaskResponseType.ts +11 -0
- package/ts/types/Interface/api/mail/GetMailPromise.ts +5 -0
- package/ts/types/Interface/api/wallet/QueryWallet.ts +4 -0
- package/ts/types/index.ts +1 -0
- package/ts/utils/documents.ts +2 -2
|
@@ -1,6 +1,67 @@
|
|
|
1
1
|
export enum FolderFile {
|
|
2
|
+
REFUND = 1,
|
|
3
|
+
SOCIAL = 2,
|
|
4
|
+
SOCIETY_LETTER = 3,
|
|
2
5
|
ACCOUNTING = 4,
|
|
6
|
+
SOCIETY_VEHICLE = 5,
|
|
3
7
|
GED = 6,
|
|
4
8
|
WEBMAIL = 7,
|
|
9
|
+
LOGO = 8,
|
|
10
|
+
SOCIETY_FILE = 9,
|
|
11
|
+
ACCOUNT_LOGO = 10,
|
|
12
|
+
FIRST_TALK = 11,
|
|
13
|
+
SOCIETY_DETAIL = 12,
|
|
14
|
+
USER = 13,
|
|
15
|
+
RECOVERY_LETTER = 14,
|
|
16
|
+
CONFIG = 15,
|
|
5
17
|
ESTIMATE = 16,
|
|
6
|
-
|
|
18
|
+
ATTESTATION = 17,
|
|
19
|
+
VAT_DECLARATION = 18,
|
|
20
|
+
DECLARATION = 19,
|
|
21
|
+
CERTIFICATE_DECLARATION = 20,
|
|
22
|
+
FEC_FILE = 21,
|
|
23
|
+
Z_TICKET = 22,
|
|
24
|
+
STOCK_FILE = 23,
|
|
25
|
+
SUPPORT = 24,
|
|
26
|
+
SALARY_FILE = 25,
|
|
27
|
+
FORMALISM = 26,
|
|
28
|
+
PARTNERED_ACCOUNTANT = 27,
|
|
29
|
+
BANK_STATEMENT = 28,
|
|
30
|
+
CERFA = 29,
|
|
31
|
+
PENDING_POINT = 30,
|
|
32
|
+
MAIL = 31,
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export const FolderFileList: Array<{ value: string; id: number }> = [
|
|
36
|
+
{ value: 'refunds', id: FolderFile.REFUND },
|
|
37
|
+
{ value: 'socials', id: FolderFile.SOCIAL },
|
|
38
|
+
{ value: 'societyLetters', id: FolderFile.SOCIETY_LETTER },
|
|
39
|
+
{ value: 'accountingFile', id: FolderFile.ACCOUNTING },
|
|
40
|
+
{ value: 'societyVehicles', id: FolderFile.SOCIETY_VEHICLE },
|
|
41
|
+
{ value: 'ged', id: FolderFile.GED },
|
|
42
|
+
{ value: 'webmail', id: FolderFile.WEBMAIL },
|
|
43
|
+
{ value: 'logo', id: FolderFile.LOGO },
|
|
44
|
+
{ value: 'societyFile', id: FolderFile.SOCIETY_FILE },
|
|
45
|
+
{ value: 'accountLogo', id: FolderFile.ACCOUNT_LOGO },
|
|
46
|
+
{ value: 'firstTalks', id: FolderFile.FIRST_TALK },
|
|
47
|
+
{ value: 'societyDetails', id: FolderFile.SOCIETY_DETAIL },
|
|
48
|
+
{ value: 'users', id: FolderFile.USER },
|
|
49
|
+
{ value: 'recoveryLetter', id: FolderFile.RECOVERY_LETTER },
|
|
50
|
+
{ value: 'config', id: FolderFile.CONFIG },
|
|
51
|
+
{ value: 'estimates', id: FolderFile.ESTIMATE },
|
|
52
|
+
{ value: 'attestations', id: FolderFile.ATTESTATION },
|
|
53
|
+
{ value: 'vatDeclaration', id: FolderFile.VAT_DECLARATION },
|
|
54
|
+
{ value: 'declarations', id: FolderFile.DECLARATION },
|
|
55
|
+
{ value: 'certificatsDeclaration', id: FolderFile.CERTIFICATE_DECLARATION },
|
|
56
|
+
{ value: 'fecFile', id: FolderFile.FEC_FILE },
|
|
57
|
+
{ value: 'zTicket', id: FolderFile.Z_TICKET },
|
|
58
|
+
{ value: 'stocksFile', id: FolderFile.STOCK_FILE },
|
|
59
|
+
{ value: 'ticketsSupport', id: FolderFile.SUPPORT },
|
|
60
|
+
{ value: 'salariesFile', id: FolderFile.SALARY_FILE },
|
|
61
|
+
{ value: 'formalisms', id: FolderFile.FORMALISM },
|
|
62
|
+
{ value: 'partneredAccountant', id: FolderFile.PARTNERED_ACCOUNTANT },
|
|
63
|
+
{ value: 'bankStatement', id: FolderFile.BANK_STATEMENT },
|
|
64
|
+
{ value: 'cerfa', id: FolderFile.CERFA },
|
|
65
|
+
{ value: 'pendingPoints', id: FolderFile.PENDING_POINT },
|
|
66
|
+
{ value: 'mail', id: FolderFile.MAIL },
|
|
67
|
+
];
|
|
@@ -332,6 +332,17 @@ export const TaskResponseType = {
|
|
|
332
332
|
responseType: ResponseType.CALL,
|
|
333
333
|
description: 'Appel notation suite à la livraison du bilan',
|
|
334
334
|
},
|
|
335
|
+
{
|
|
336
|
+
id: 32,
|
|
337
|
+
label: 'Administratif',
|
|
338
|
+
role: Role.CUSTOMER_SUCCESS,
|
|
339
|
+
deadline: Deadline,
|
|
340
|
+
isForWholeRole: false,
|
|
341
|
+
backToClient: false,
|
|
342
|
+
goToCalendar: false,
|
|
343
|
+
responseType: null,
|
|
344
|
+
description: 'Rendez-vous Clémentine',
|
|
345
|
+
},
|
|
335
346
|
],
|
|
336
347
|
|
|
337
348
|
},
|
package/ts/types/index.ts
CHANGED
|
@@ -535,6 +535,7 @@ export * from './Interface/api/mail/QueryCountMail';
|
|
|
535
535
|
export * from './Interface/api/mail/UpdateMail';
|
|
536
536
|
export * from './Interface/api/mail/CreateMailParams';
|
|
537
537
|
export * from './Interface/api/mail/UpdateMailParams';
|
|
538
|
+
export * from './Interface/api/mail/GetMailPromise';
|
|
538
539
|
export * from './Interface/api/society/LegalFormSiren';
|
|
539
540
|
export * from './Interface/api/society/SocietyWithStatsCaParams';
|
|
540
541
|
export * from './Interface/api/society/QuerySociety';
|
package/ts/utils/documents.ts
CHANGED
|
@@ -15,10 +15,10 @@ const requiredListDocs = (idLegalForm: number, isOnlyPrevi?: boolean, isOnlyJuri
|
|
|
15
15
|
generique.push(GedFileType.DISTRIBUTION_OF_SHARE);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
if ([LegalForm.SA.id, LegalForm.SAS.id, LegalForm.SARL.id, LegalForm.SCI.id].includes(idLegalForm)) {
|
|
18
|
+
if ([LegalForm.EURL.id, LegalForm.SASU.id, LegalForm.SA.id, LegalForm.SAS.id, LegalForm.SARL.id, LegalForm.SCI.id].includes(idLegalForm)) {
|
|
19
19
|
return [...generique, GedFileType.KBIS, GedFileType.STATUTES, GedFileType.DBE2, GedFileType.SEPA];
|
|
20
20
|
}
|
|
21
|
-
if ([LegalForm.
|
|
21
|
+
if ([LegalForm.SELARL.id].includes(idLegalForm)) {
|
|
22
22
|
return [...generique, GedFileType.KBIS, GedFileType.STATUTES, GedFileType.SEPA]; // , GedFileType.DISTRIBUTION_OF_SHARE ???
|
|
23
23
|
}
|
|
24
24
|
if ([LegalForm.EI.id, LegalForm.AUTO_ENTREPRENEUR.id].includes(idLegalForm)) {
|