@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.
Files changed (77) hide show
  1. package/dist/api/resources/KycMandate.d.ts +7 -0
  2. package/dist/api/resources/KycMandate.d.ts.map +1 -0
  3. package/dist/api/resources/KycMandate.js +10 -0
  4. package/dist/api/resources/KycMandate.js.map +1 -0
  5. package/dist/api/resources/Vialink.d.ts +7 -0
  6. package/dist/api/resources/Vialink.d.ts.map +1 -0
  7. package/dist/api/resources/Vialink.js +10 -0
  8. package/dist/api/resources/Vialink.js.map +1 -0
  9. package/dist/api/resources.d.ts +4 -0
  10. package/dist/api/resources.d.ts.map +1 -1
  11. package/dist/api/resources.js +4 -0
  12. package/dist/api/resources.js.map +1 -1
  13. package/dist/types/Enum/Country.d.ts +1 -0
  14. package/dist/types/Enum/Country.d.ts.map +1 -1
  15. package/dist/types/Enum/Country.js +516 -230
  16. package/dist/types/Enum/Country.js.map +1 -1
  17. package/dist/types/Enum/InpiType.d.ts +290 -0
  18. package/dist/types/Enum/InpiType.d.ts.map +1 -1
  19. package/dist/types/Enum/InpiType.js +290 -0
  20. package/dist/types/Enum/InpiType.js.map +1 -1
  21. package/dist/types/Enum/LegalForm.d.ts +0 -1
  22. package/dist/types/Enum/LegalForm.d.ts.map +1 -1
  23. package/dist/types/Enum/LegalForm.js +104 -33
  24. package/dist/types/Enum/LegalForm.js.map +1 -1
  25. package/dist/types/Interface/api/config/ConfigType.d.ts +13 -0
  26. package/dist/types/Interface/api/config/ConfigType.d.ts.map +1 -1
  27. package/dist/types/Interface/api/config/ConfigType.js.map +1 -1
  28. package/dist/types/Interface/api/docoon/DocoonLegalEntity.d.ts +41 -0
  29. package/dist/types/Interface/api/docoon/DocoonLegalEntity.d.ts.map +1 -0
  30. package/dist/types/Interface/api/docoon/DocoonLegalEntity.js +2 -0
  31. package/dist/types/Interface/api/docoon/DocoonLegalEntity.js.map +1 -0
  32. package/dist/types/Interface/api/docoon/Read.d.ts +59 -0
  33. package/dist/types/Interface/api/docoon/Read.d.ts.map +1 -1
  34. package/dist/types/Interface/api/docoon/Read.js.map +1 -1
  35. package/dist/types/Interface/api/inpi/inpi.d.ts +1 -0
  36. package/dist/types/Interface/api/inpi/inpi.d.ts.map +1 -1
  37. package/dist/types/Interface/api/inpi/inpi.js.map +1 -1
  38. package/dist/types/Interface/api/kyc/Create.d.ts +87 -0
  39. package/dist/types/Interface/api/kyc/Create.d.ts.map +1 -0
  40. package/dist/types/Interface/api/kyc/Create.js +105 -0
  41. package/dist/types/Interface/api/kyc/Create.js.map +1 -0
  42. package/dist/types/Interface/api/kyc/Read.d.ts +830 -0
  43. package/dist/types/Interface/api/kyc/Read.d.ts.map +1 -0
  44. package/dist/types/Interface/api/kyc/Read.js +2 -0
  45. package/dist/types/Interface/api/kyc/Read.js.map +1 -0
  46. package/dist/types/Interface/api/kyc/kyc.d.ts +157 -0
  47. package/dist/types/Interface/api/kyc/kyc.d.ts.map +1 -0
  48. package/dist/types/Interface/api/kyc/kyc.js +6 -0
  49. package/dist/types/Interface/api/kyc/kyc.js.map +1 -0
  50. package/dist/types/Interface/api/user/RegisterProspect.d.ts +5 -1
  51. package/dist/types/Interface/api/user/RegisterProspect.d.ts.map +1 -1
  52. package/dist/types/Interface/api/user/RegisterProspect.js.map +1 -1
  53. package/dist/types/Interface/models/IEInvoicingKycAndMandate.d.ts +23 -0
  54. package/dist/types/Interface/models/IEInvoicingKycAndMandate.d.ts.map +1 -0
  55. package/dist/types/Interface/models/IEInvoicingKycAndMandate.js +22 -0
  56. package/dist/types/Interface/models/IEInvoicingKycAndMandate.js.map +1 -0
  57. package/dist/types/index.d.ts +4 -0
  58. package/dist/types/index.d.ts.map +1 -1
  59. package/dist/types/index.js +4 -0
  60. package/dist/types/index.js.map +1 -1
  61. package/package.json +1 -1
  62. package/ts/api/resources/KycMandate.ts +12 -0
  63. package/ts/api/resources/Vialink.ts +12 -0
  64. package/ts/api/resources.ts +4 -0
  65. package/ts/types/Enum/Country.ts +517 -230
  66. package/ts/types/Enum/InpiType.ts +291 -0
  67. package/ts/types/Enum/LegalForm.ts +104 -34
  68. package/ts/types/Interface/api/config/ConfigType.ts +14 -0
  69. package/ts/types/Interface/api/docoon/DocoonLegalEntity.ts +79 -0
  70. package/ts/types/Interface/api/docoon/Read.ts +60 -0
  71. package/ts/types/Interface/api/inpi/inpi.ts +1 -0
  72. package/ts/types/Interface/api/kyc/Create.ts +136 -0
  73. package/ts/types/Interface/api/kyc/Read.ts +842 -0
  74. package/ts/types/Interface/api/kyc/kyc.ts +190 -0
  75. package/ts/types/Interface/api/user/RegisterProspect.ts +5 -1
  76. package/ts/types/Interface/models/IEInvoicingKycAndMandate.ts +25 -0
  77. 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
+ }
@@ -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
  };