@silexpert/core 2.0.47 → 2.0.48-beta-mandat-2
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/Mandat.d.ts +10 -0
- package/dist/api/resources/Mandat.d.ts.map +1 -0
- package/dist/api/resources/Mandat.js +10 -0
- package/dist/api/resources/Mandat.js.map +1 -0
- package/dist/api/resources/User.d.ts +1 -0
- package/dist/api/resources/User.d.ts.map +1 -1
- package/dist/api/resources/User.js +8 -0
- package/dist/api/resources/User.js.map +1 -1
- package/dist/api/resources.d.ts +2 -2
- package/dist/api/resources.d.ts.map +1 -1
- package/dist/api/resources.js +2 -2
- package/dist/api/resources.js.map +1 -1
- package/dist/types/Enum/AccountingTransactionTracking.d.ts +4 -0
- package/dist/types/Enum/AccountingTransactionTracking.d.ts.map +1 -0
- package/dist/types/Enum/AccountingTransactionTracking.js +5 -0
- package/dist/types/Enum/AccountingTransactionTracking.js.map +1 -0
- package/dist/types/Enum/DocumentForHumanResourceType.d.ts +2 -1
- package/dist/types/Enum/DocumentForHumanResourceType.d.ts.map +1 -1
- package/dist/types/Enum/DocumentForHumanResourceType.js +2 -0
- package/dist/types/Enum/DocumentForHumanResourceType.js.map +1 -1
- package/dist/types/Enum/EstimateInvoice.d.ts +0 -3
- package/dist/types/Enum/EstimateInvoice.d.ts.map +1 -1
- package/dist/types/Enum/EstimateInvoice.js +0 -4
- package/dist/types/Enum/EstimateInvoice.js.map +1 -1
- package/dist/types/Enum/Ged.d.ts +8 -1
- package/dist/types/Enum/Ged.d.ts.map +1 -1
- package/dist/types/Enum/Ged.js +7 -0
- package/dist/types/Enum/Ged.js.map +1 -1
- package/dist/types/Enum/MaritalStatus.d.ts +4 -4
- package/dist/types/Enum/MaritalStatus.d.ts.map +1 -1
- package/dist/types/Enum/MaritalStatus.js +6 -3
- package/dist/types/Enum/MaritalStatus.js.map +1 -1
- package/dist/types/Enum/PrestationType.js +148 -148
- package/dist/types/Enum/PrestationType.js.map +1 -1
- package/dist/types/Enum/Role.d.ts.map +1 -1
- package/dist/types/Enum/Role.js +1 -0
- package/dist/types/Enum/Role.js.map +1 -1
- package/dist/types/Interface/api/accountingTransaction/Create.d.ts +5 -0
- package/dist/types/Interface/api/accountingTransaction/Create.d.ts.map +1 -0
- package/dist/types/Interface/api/accountingTransaction/Create.js +21 -0
- package/dist/types/Interface/api/accountingTransaction/Create.js.map +1 -0
- package/dist/types/Interface/api/commercial/ReadStatsProspect.d.ts +1 -0
- package/dist/types/Interface/api/commercial/ReadStatsProspect.d.ts.map +1 -1
- package/dist/types/Interface/api/commercial/ReadStatsProspect.js.map +1 -1
- package/dist/types/Interface/api/commercialManagement/Create.d.ts +1 -4
- package/dist/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/types/Interface/api/commercialManagement/Create.js +1 -9
- package/dist/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/types/Interface/models/IAccountingTransaction.d.ts +1 -0
- package/dist/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
- package/dist/types/Interface/models/IAccountingTransaction.js +1 -0
- package/dist/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/dist/types/Interface/models/IAccountingTransactionTracking.d.ts +15 -0
- package/dist/types/Interface/models/IAccountingTransactionTracking.d.ts.map +1 -0
- package/dist/types/Interface/models/IAccountingTransactionTracking.js +2 -0
- package/dist/types/Interface/models/IAccountingTransactionTracking.js.map +1 -0
- package/dist/types/Interface/models/IEInvoicingKycAndMandate.d.ts +1 -0
- package/dist/types/Interface/models/IEInvoicingKycAndMandate.d.ts.map +1 -1
- package/dist/types/Interface/models/IEInvoicingKycAndMandate.js +1 -0
- package/dist/types/Interface/models/IEInvoicingKycAndMandate.js.map +1 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +3 -1
- package/dist/types/index.js.map +1 -1
- package/dist/utils/prestation.d.ts +9 -2
- package/dist/utils/prestation.d.ts.map +1 -1
- package/dist/utils/prestation.js +9 -2
- package/dist/utils/prestation.js.map +1 -1
- package/dist/utils/vat/3517/century25.js +1 -1
- package/dist/utils/vat/3517/century25.js.map +1 -1
- package/dist/utils/vat/3517/century26.js +1 -1
- package/dist/utils/vat/3517/century26.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Mandat.ts +11 -0
- package/ts/api/resources/User.ts +9 -0
- package/ts/api/resources.ts +2 -2
- package/ts/types/Enum/AccountingTransactionTracking.ts +3 -0
- package/ts/types/Enum/DocumentForHumanResourceType.ts +2 -0
- package/ts/types/Enum/EstimateInvoice.ts +0 -4
- package/ts/types/Enum/Ged.ts +7 -0
- package/ts/types/Enum/MaritalStatus.ts +6 -3
- package/ts/types/Enum/PrestationType.ts +148 -148
- package/ts/types/Enum/Role.ts +1 -0
- package/ts/types/Interface/api/accountingTransaction/Create.ts +9 -0
- package/ts/types/Interface/api/commercial/ReadStatsProspect.ts +1 -0
- package/ts/types/Interface/api/commercialManagement/Create.ts +1 -7
- package/ts/types/Interface/models/IAccountingTransaction.ts +1 -0
- package/ts/types/Interface/models/{IEstimateInvoiceTracking.ts → IAccountingTransactionTracking.ts} +4 -4
- package/ts/types/Interface/models/IEInvoicingKycAndMandate.ts +1 -0
- package/ts/types/index.ts +3 -1
- package/ts/utils/prestation.ts +14 -2
- package/ts/utils/vat/3517/century25.ts +1 -1
- package/ts/utils/vat/3517/century26.ts +1 -1
- package/dist/api/resources/EstimateInvoiceTracking.d.ts +0 -6
- package/dist/api/resources/EstimateInvoiceTracking.d.ts.map +0 -1
- package/dist/api/resources/EstimateInvoiceTracking.js +0 -7
- package/dist/api/resources/EstimateInvoiceTracking.js.map +0 -1
- package/dist/types/Interface/models/IEstimateInvoiceTracking.d.ts +0 -15
- package/dist/types/Interface/models/IEstimateInvoiceTracking.d.ts.map +0 -1
- package/dist/types/Interface/models/IEstimateInvoiceTracking.js +0 -2
- package/dist/types/Interface/models/IEstimateInvoiceTracking.js.map +0 -1
- package/ts/api/resources/EstimateInvoiceTracking.ts +0 -8
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Resource } from '../Resource.js';
|
|
2
|
+
|
|
3
|
+
export class Mandat extends Resource {
|
|
4
|
+
getStatus(idSociety: number): Promise<{ isSigned: boolean }> {
|
|
5
|
+
return this.axios.$get(`societies/${idSociety}/mandat/status`);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
sign(idSociety: number): Promise<{ signUrl: string }> {
|
|
9
|
+
return this.axios.$post(`societies/${idSociety}/mandat/sign`);
|
|
10
|
+
}
|
|
11
|
+
}
|
package/ts/api/resources/User.ts
CHANGED
|
@@ -241,4 +241,13 @@ export class User extends Resource {
|
|
|
241
241
|
deleteUserHistory(id: number): Promise<number> {
|
|
242
242
|
return this.axios.$delete(`usersHistory/${id}`);
|
|
243
243
|
}
|
|
244
|
+
|
|
245
|
+
generateAccessCardPdf(id: number): Promise<Buffer> {
|
|
246
|
+
return this.axios.$get(`users/${id}/access-card-pdf`, {
|
|
247
|
+
responseType: 'arraybuffer',
|
|
248
|
+
headers: {
|
|
249
|
+
Accept: 'application/pdf',
|
|
250
|
+
},
|
|
251
|
+
});
|
|
252
|
+
}
|
|
244
253
|
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -124,6 +124,7 @@ import { AccountsSector } from './resources/AccountsSectors.js';
|
|
|
124
124
|
import { BusinessSector } from './resources/BusinessSector.js';
|
|
125
125
|
import { BusinessPartner } from './resources/BusinessPartner.js';
|
|
126
126
|
import { VisualizedInformation } from './resources/VisualizedInformation.js';
|
|
127
|
+
import { Mandat } from './resources/Mandat.js';
|
|
127
128
|
import { Fusion } from './resources/Fusion.js';
|
|
128
129
|
import { SalesContract } from './resources/SalesContract.js';
|
|
129
130
|
import { LeadsToPartners } from './resources/LeadsToPartners.js';
|
|
@@ -192,7 +193,6 @@ import { Zendesk } from './resources/zendesk/Zendesk.js';
|
|
|
192
193
|
import { Formalism } from './resources/Formalism.js';
|
|
193
194
|
import { Vialink } from './resources/Vialink.js';
|
|
194
195
|
import { KycMandate } from './resources/KycMandate.js';
|
|
195
|
-
import { EstimateInvoiceTracking } from './resources/EstimateInvoiceTracking.js';
|
|
196
196
|
|
|
197
197
|
export const resources = {
|
|
198
198
|
budgetInsight: BudgetInsight,
|
|
@@ -323,6 +323,7 @@ export const resources = {
|
|
|
323
323
|
businessSector: BusinessSector,
|
|
324
324
|
businessPartner: BusinessPartner,
|
|
325
325
|
visualizedInformation: VisualizedInformation,
|
|
326
|
+
mandat: Mandat,
|
|
326
327
|
fusion: Fusion,
|
|
327
328
|
salesContract: SalesContract,
|
|
328
329
|
userMfa: UserMfa,
|
|
@@ -389,5 +390,4 @@ export const resources = {
|
|
|
389
390
|
formalism: Formalism,
|
|
390
391
|
vialink: Vialink,
|
|
391
392
|
kycMandate: KycMandate,
|
|
392
|
-
estimateInvoiceTracking: EstimateInvoiceTracking,
|
|
393
393
|
};
|
|
@@ -7,6 +7,7 @@ export enum DocumentForHumanResourceType {
|
|
|
7
7
|
FICHE_POSTE = 6,
|
|
8
8
|
REGLEMENT_INTERIEUR = 7,
|
|
9
9
|
AUTRES = 8,
|
|
10
|
+
ACCESS_CARD = 117,
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
export const DocumentForHumanResourcesList = [
|
|
@@ -18,4 +19,5 @@ export const DocumentForHumanResourcesList = [
|
|
|
18
19
|
{ value: DocumentForHumanResourceType.FICHE_POSTE, text: 'Fiche de poste' },
|
|
19
20
|
{ value: DocumentForHumanResourceType.REGLEMENT_INTERIEUR, text: 'Réglement intérieur' },
|
|
20
21
|
{ value: DocumentForHumanResourceType.AUTRES, text: 'Autres' },
|
|
22
|
+
{ value: DocumentForHumanResourceType.ACCESS_CARD, text: "Carte d'accès" },
|
|
21
23
|
];
|
|
@@ -56,7 +56,3 @@ export const TermOfPaymentList: Array<{ id: TermOfPayment; label: string }> = [
|
|
|
56
56
|
{ id: TermOfPayment.DUE_45_DAYS_AFTER_INVOICE, label: '45 jours à réception de la facture' },
|
|
57
57
|
{ id: TermOfPayment.DUE_60_DAYS_AFTER_INVOICE, label: '60 jours à réception de la facture' },
|
|
58
58
|
];
|
|
59
|
-
|
|
60
|
-
export enum EstimateInvoiceTrackingType {
|
|
61
|
-
ACD_ACCOUNTANCY_IMPORT = 'ACD_ACCOUNTANCY_IMPORT',
|
|
62
|
-
}
|
package/ts/types/Enum/Ged.ts
CHANGED
|
@@ -177,6 +177,7 @@ export enum TypeFile {
|
|
|
177
177
|
CUSTOMER_REPORTING = 114, // reporting client (customerActivity)
|
|
178
178
|
ACCOUNTING_CONSISTENCY_CHECK = 115, // Contrôle de cohérence
|
|
179
179
|
ACCOUNTING_PREVIEW_PLAQUETTE = 116, // Preview plaquette comptable
|
|
180
|
+
ACCESS_CARD = 117, // Fiche d'accès
|
|
180
181
|
}
|
|
181
182
|
|
|
182
183
|
/** @deprecated this is a legacy enum try to use TypeFile enum if you can or use both enum's */
|
|
@@ -416,6 +417,12 @@ export const GedFileTypeDetail = {
|
|
|
416
417
|
idGedFolder: GedFolder.CLOSE_BALANCE_SHEET,
|
|
417
418
|
typeFile: TypeFile.FISCAL_BUNDLE,
|
|
418
419
|
},
|
|
420
|
+
ACCESS_CARD: {
|
|
421
|
+
id: TypeFile.ACCESS_CARD,
|
|
422
|
+
name: "Fiche d'accès",
|
|
423
|
+
idGedFolder: GedFolder.JURIDICAL,
|
|
424
|
+
typeFile: TypeFile.ACCESS_CARD,
|
|
425
|
+
},
|
|
419
426
|
};
|
|
420
427
|
|
|
421
428
|
export const GedFolderList: Array<{
|
|
@@ -11,7 +11,7 @@ export enum MaritalStatus {
|
|
|
11
11
|
WEDDING_UNDER_THE_LEGAL_COMMUNITY_REDUCED_TO_ACQUISITIONS_REGIME = 10,
|
|
12
12
|
WEDDING_UNDER_THE_UNIVERSAL_COMMUNITY = 11,
|
|
13
13
|
PACS_UNDER_THE_UNDIVIDED_PROPERTY_REGIME = 12,
|
|
14
|
-
|
|
14
|
+
PACS_UNDER_THE_SEPARATION_OF_PROPERTY_REGIME = 13,
|
|
15
15
|
OTHER = 14,
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -36,7 +36,10 @@ export const MaritalStatusDetail = [
|
|
|
36
36
|
{ text: 'Séparé', id: MaritalStatus.SEPARATED },
|
|
37
37
|
{ text: 'Célibataire', id: MaritalStatus.SINGLE },
|
|
38
38
|
{ text: 'Concubinage', id: MaritalStatus.COHABITATION },
|
|
39
|
-
{ text: "Pacs sous le régime de l'
|
|
40
|
-
{
|
|
39
|
+
{ text: "Pacs sous le régime de l'indivision de biens", id: MaritalStatus.PACS_UNDER_THE_UNDIVIDED_PROPERTY_REGIME },
|
|
40
|
+
{
|
|
41
|
+
text: 'Pacs sous le régime de la séparation de biens',
|
|
42
|
+
id: MaritalStatus.PACS_UNDER_THE_SEPARATION_OF_PROPERTY_REGIME,
|
|
43
|
+
},
|
|
41
44
|
{ text: 'Autre', id: MaritalStatus.OTHER },
|
|
42
45
|
] as const;
|