@silexpert/core 2.0.97 → 2.0.99
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 +2 -1
- package/dist/api/resources/KycMandate.d.ts.map +1 -1
- package/dist/api/resources/KycMandate.js +3 -0
- package/dist/api/resources/KycMandate.js.map +1 -1
- package/dist/types/Interface/api/account/Update.d.ts +1 -0
- package/dist/types/Interface/api/account/Update.d.ts.map +1 -1
- package/dist/types/Interface/api/account/Update.js +5 -0
- package/dist/types/Interface/api/account/Update.js.map +1 -1
- package/dist/types/Interface/api/commercialManagement/Read.d.ts +1 -1
- package/dist/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
- package/dist/types/Interface/api/commercialManagement/Read.js.map +1 -1
- package/dist/types/Interface/api/kyc/Read.d.ts +12 -3
- package/dist/types/Interface/api/kyc/Read.d.ts.map +1 -1
- package/dist/types/Interface/api/kyc/Read.js +8 -1
- package/dist/types/Interface/api/kyc/Read.js.map +1 -1
- package/dist/utils/vat/3517/century26.d.ts.map +1 -1
- package/dist/utils/vat/3517/century26.js +11 -8
- package/dist/utils/vat/3517/century26.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/KycMandate.ts +14 -1
- package/ts/types/Interface/api/account/Update.ts +3 -0
- package/ts/types/Interface/api/commercialManagement/Read.ts +1 -1
- package/ts/types/Interface/api/kyc/Read.ts +13 -3
- package/ts/utils/vat/3517/century26.ts +13 -9
package/package.json
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
_InvoicingKycMAndateWithDirectoryLineInfo,
|
|
3
|
+
BasePaginate,
|
|
4
|
+
IEInvoicingKycAndMandate,
|
|
5
|
+
QueryMandatePaginate,
|
|
6
|
+
} from '#types/index.js';
|
|
2
7
|
import { Resource } from '../Resource.js';
|
|
3
8
|
|
|
4
9
|
export class KycMandate extends Resource {
|
|
@@ -10,6 +15,14 @@ export class KycMandate extends Resource {
|
|
|
10
15
|
return this.axios.$delete(`/societies/${idSociety}/mandates/${idMandate}`);
|
|
11
16
|
}
|
|
12
17
|
|
|
18
|
+
public update(
|
|
19
|
+
idSociety: number,
|
|
20
|
+
idMandate: number,
|
|
21
|
+
params: Partial<IEInvoicingKycAndMandate>,
|
|
22
|
+
): Promise<IEInvoicingKycAndMandate> {
|
|
23
|
+
return this.axios.$put(`/societies/${idSociety}/mandates/${idMandate}`, params);
|
|
24
|
+
}
|
|
25
|
+
|
|
13
26
|
public getAllPaginate(
|
|
14
27
|
params: QueryMandatePaginate,
|
|
15
28
|
): Promise<BasePaginate<_InvoicingKycMAndateWithDirectoryLineInfo>> {
|
|
@@ -171,7 +171,7 @@ export type ReadEInvoicingReception = {
|
|
|
171
171
|
name: string | undefined;
|
|
172
172
|
siren: string | undefined;
|
|
173
173
|
vatNumber: string | undefined;
|
|
174
|
-
|
|
174
|
+
addressingIdentifier: string | undefined;
|
|
175
175
|
idCountry: CountryId | undefined;
|
|
176
176
|
};
|
|
177
177
|
products: Array<{
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import { IEInvoicingKycAndMandate,
|
|
1
|
+
import { IEInvoicingKycAndMandate, ReadDocoonTenantDirectoryLines } from '../../../../index.js';
|
|
2
|
+
|
|
3
|
+
export enum EInvoicingAddressingIdentifierStatus {
|
|
4
|
+
ACTIVE = 'ACTIVE',
|
|
5
|
+
SUSPENDED = 'SUSPENDED',
|
|
6
|
+
PENDING = 'PENDING',
|
|
7
|
+
ERROR = 'ERROR',
|
|
8
|
+
CANCELLED = 'CANCELLED',
|
|
9
|
+
}
|
|
2
10
|
|
|
3
11
|
export type _InvoicingKycMAndateWithDirectoryLineInfo = IEInvoicingKycAndMandate & {
|
|
4
|
-
|
|
5
|
-
|
|
12
|
+
status: EInvoicingAddressingIdentifierStatus;
|
|
13
|
+
statusLabel: string;
|
|
14
|
+
/** @deprecated do not use, will be removed in future versions */
|
|
15
|
+
directoryLineInfo?: ReadDocoonTenantDirectoryLines;
|
|
6
16
|
};
|
|
7
17
|
export interface LegalRepresentative {
|
|
8
18
|
type: 'INDIVIDU' | 'ENTREPRISE';
|
|
@@ -1724,18 +1724,10 @@ export function getCerfa3517Century26RegistrationField(data: Cerfa3517_2026): As
|
|
|
1724
1724
|
|
|
1725
1725
|
export function getCerfa3517DDRCentury26RegistrationField(data: Cerfa3517_2025 | Cerfa3517_2026): AsponeFormFields {
|
|
1726
1726
|
if (data.refund.asked > 0) {
|
|
1727
|
-
|
|
1727
|
+
const fields: AsponeFormFields = [
|
|
1728
1728
|
{
|
|
1729
1729
|
name: '3517DDR',
|
|
1730
1730
|
fields: [
|
|
1731
|
-
{
|
|
1732
|
-
key: 'AA',
|
|
1733
|
-
tag: 'Valeur',
|
|
1734
|
-
isMultiple: false,
|
|
1735
|
-
description:
|
|
1736
|
-
'MOA Crédit remboursable dégagé à la clôture de lannée ou de lexercice si celui-ci est supérieur ou égal à 150 euros 100173 a',
|
|
1737
|
-
value: data.refund.creditRefundable,
|
|
1738
|
-
},
|
|
1739
1731
|
{
|
|
1740
1732
|
key: 'AB',
|
|
1741
1733
|
tag: 'Valeur',
|
|
@@ -1876,6 +1868,18 @@ export function getCerfa3517DDRCentury26RegistrationField(data: Cerfa3517_2025 |
|
|
|
1876
1868
|
],
|
|
1877
1869
|
},
|
|
1878
1870
|
];
|
|
1871
|
+
if (data.refund.creditRefundable && data.refund.creditRefundable > 0) {
|
|
1872
|
+
fields[0].fields.push({
|
|
1873
|
+
key: 'AA',
|
|
1874
|
+
tag: 'Valeur',
|
|
1875
|
+
isMultiple: false,
|
|
1876
|
+
description:
|
|
1877
|
+
'MOA Crédit remboursable dégagé à la clôture de lannée ou de lexercice si celui-ci est supérieur ou égal à 150 euros 100173 a',
|
|
1878
|
+
value: data.refund.creditRefundable,
|
|
1879
|
+
});
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
return fields;
|
|
1879
1883
|
}
|
|
1880
1884
|
return [];
|
|
1881
1885
|
}
|