@silexpert/core 2.0.44 → 2.0.45
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 +7 -0
- package/dist/api/resources/KycMandate.d.ts.map +1 -0
- package/dist/api/resources/KycMandate.js +10 -0
- package/dist/api/resources/KycMandate.js.map +1 -0
- package/dist/api/resources/Vialink.d.ts +7 -0
- package/dist/api/resources/Vialink.d.ts.map +1 -0
- package/dist/api/resources/Vialink.js +10 -0
- package/dist/api/resources/Vialink.js.map +1 -0
- package/dist/api/resources.d.ts +4 -0
- package/dist/api/resources.d.ts.map +1 -1
- package/dist/api/resources.js +4 -0
- package/dist/api/resources.js.map +1 -1
- package/dist/types/Enum/Country.d.ts +1 -0
- package/dist/types/Enum/Country.d.ts.map +1 -1
- package/dist/types/Enum/Country.js +516 -230
- package/dist/types/Enum/Country.js.map +1 -1
- package/dist/types/Enum/InpiType.d.ts +290 -0
- package/dist/types/Enum/InpiType.d.ts.map +1 -1
- package/dist/types/Enum/InpiType.js +290 -0
- package/dist/types/Enum/InpiType.js.map +1 -1
- package/dist/types/Enum/LegalForm.d.ts +0 -1
- package/dist/types/Enum/LegalForm.d.ts.map +1 -1
- package/dist/types/Enum/LegalForm.js +104 -33
- package/dist/types/Enum/LegalForm.js.map +1 -1
- package/dist/types/Interface/api/config/ConfigType.d.ts +13 -0
- package/dist/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/types/Interface/api/docoon/DocoonLegalEntity.d.ts +41 -0
- package/dist/types/Interface/api/docoon/DocoonLegalEntity.d.ts.map +1 -0
- package/dist/types/Interface/api/docoon/DocoonLegalEntity.js +2 -0
- package/dist/types/Interface/api/docoon/DocoonLegalEntity.js.map +1 -0
- package/dist/types/Interface/api/docoon/Read.d.ts +59 -0
- 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/inpi/inpi.d.ts +1 -0
- package/dist/types/Interface/api/inpi/inpi.d.ts.map +1 -1
- package/dist/types/Interface/api/inpi/inpi.js.map +1 -1
- package/dist/types/Interface/api/kyc/Create.d.ts +87 -0
- package/dist/types/Interface/api/kyc/Create.d.ts.map +1 -0
- package/dist/types/Interface/api/kyc/Create.js +105 -0
- package/dist/types/Interface/api/kyc/Create.js.map +1 -0
- package/dist/types/Interface/api/kyc/Read.d.ts +830 -0
- package/dist/types/Interface/api/kyc/Read.d.ts.map +1 -0
- package/dist/types/Interface/api/kyc/Read.js +2 -0
- package/dist/types/Interface/api/kyc/Read.js.map +1 -0
- package/dist/types/Interface/api/kyc/kyc.d.ts +157 -0
- package/dist/types/Interface/api/kyc/kyc.d.ts.map +1 -0
- package/dist/types/Interface/api/kyc/kyc.js +6 -0
- package/dist/types/Interface/api/kyc/kyc.js.map +1 -0
- package/dist/types/Interface/api/user/RegisterProspect.d.ts +5 -1
- package/dist/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
- package/dist/types/Interface/api/user/RegisterProspect.js.map +1 -1
- package/dist/types/Interface/models/IEInvoicingKycAndMandate.d.ts +23 -0
- package/dist/types/Interface/models/IEInvoicingKycAndMandate.d.ts.map +1 -0
- package/dist/types/Interface/models/IEInvoicingKycAndMandate.js +22 -0
- package/dist/types/Interface/models/IEInvoicingKycAndMandate.js.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +4 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/KycMandate.ts +12 -0
- package/ts/api/resources/Vialink.ts +12 -0
- package/ts/api/resources.ts +4 -0
- package/ts/types/Enum/Country.ts +517 -230
- package/ts/types/Enum/InpiType.ts +291 -0
- package/ts/types/Enum/LegalForm.ts +104 -34
- package/ts/types/Interface/api/config/ConfigType.ts +14 -0
- package/ts/types/Interface/api/docoon/DocoonLegalEntity.ts +79 -0
- package/ts/types/Interface/api/docoon/Read.ts +60 -0
- package/ts/types/Interface/api/inpi/inpi.ts +1 -0
- package/ts/types/Interface/api/kyc/Create.ts +136 -0
- package/ts/types/Interface/api/kyc/Read.ts +842 -0
- package/ts/types/Interface/api/kyc/kyc.ts +190 -0
- package/ts/types/Interface/api/user/RegisterProspect.ts +5 -1
- package/ts/types/Interface/models/IEInvoicingKycAndMandate.ts +25 -0
- package/ts/types/index.ts +4 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IEInvoicingKycAndMandate } from '#types/index.js';
|
|
2
|
+
import { Resource } from '../Resource.js';
|
|
3
|
+
|
|
4
|
+
export class KycMandate extends Resource {
|
|
5
|
+
public getAllBySociety(idSociety: number): Promise<IEInvoicingKycAndMandate[]> {
|
|
6
|
+
return this.axios.$get(`/societies/${idSociety}/mandates`);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
public delete(idSociety: number, idMandate: number): Promise<number> {
|
|
10
|
+
return this.axios.$delete(`/societies/${idSociety}/mandates/${idMandate}`);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource } from '../Resource.js';
|
|
2
|
+
import { LegalRepresentative, CreateUserKyc } from '@silexpert/core';
|
|
3
|
+
|
|
4
|
+
export class Vialink extends Resource {
|
|
5
|
+
public fetchLegalRepresentatives(siren: string): Promise<LegalRepresentative[]> {
|
|
6
|
+
return this.axios.$get(`/connectors/kyc/legal-representatives/${siren}`);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
public createUserJourney(payload: CreateUserKyc): Promise<string> {
|
|
10
|
+
return this.axios.$post('/connectors/kyc/create-user-journey', payload);
|
|
11
|
+
}
|
|
12
|
+
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -190,6 +190,8 @@ import { Acd } from './resources/Acd.js';
|
|
|
190
190
|
import { UsersHistory } from './resources/UsersHistory.js';
|
|
191
191
|
import { Zendesk } from './resources/zendesk/Zendesk.js';
|
|
192
192
|
import { Formalism } from './resources/Formalism.js';
|
|
193
|
+
import { Vialink } from './resources/Vialink.js';
|
|
194
|
+
import { KycMandate } from './resources/KycMandate.js';
|
|
193
195
|
|
|
194
196
|
export const resources = {
|
|
195
197
|
budgetInsight: BudgetInsight,
|
|
@@ -384,4 +386,6 @@ export const resources = {
|
|
|
384
386
|
acd: Acd,
|
|
385
387
|
zendesk: Zendesk,
|
|
386
388
|
formalism: Formalism,
|
|
389
|
+
vialink: Vialink,
|
|
390
|
+
kycMandate: KycMandate,
|
|
387
391
|
};
|