@silexpert/core 2.0.63 → 2.0.65
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/Docoon.d.ts +2 -1
- package/dist/api/resources/Docoon.d.ts.map +1 -1
- package/dist/api/resources/Docoon.js +3 -0
- package/dist/api/resources/Docoon.js.map +1 -1
- package/dist/api/resources/Transaction.d.ts +2 -2
- package/dist/api/resources/Transaction.d.ts.map +1 -1
- package/dist/api/resources/Transaction.js.map +1 -1
- package/dist/types/Enum/CommercialManagement.d.ts +2 -0
- package/dist/types/Enum/CommercialManagement.d.ts.map +1 -1
- package/dist/types/Enum/CommercialManagement.js +19 -6
- package/dist/types/Enum/CommercialManagement.js.map +1 -1
- package/dist/types/Enum/{AccountingTransactionTracking.d.ts → ConnectorTracking.d.ts} +2 -2
- package/dist/types/Enum/ConnectorTracking.d.ts.map +1 -0
- package/dist/types/Enum/ConnectorTracking.js +10 -0
- package/dist/types/Enum/ConnectorTracking.js.map +1 -0
- package/dist/types/Enum/EInvoicingReasonType.d.ts +104 -29
- package/dist/types/Enum/EInvoicingReasonType.d.ts.map +1 -1
- package/dist/types/Enum/EInvoicingReasonType.js +482 -108
- package/dist/types/Enum/EInvoicingReasonType.js.map +1 -1
- package/dist/types/Enum/EInvoicingStatusCode.d.ts +16 -13
- package/dist/types/Enum/EInvoicingStatusCode.d.ts.map +1 -1
- package/dist/types/Enum/EInvoicingStatusCode.js +46 -16
- package/dist/types/Enum/EInvoicingStatusCode.js.map +1 -1
- package/dist/types/Enum/Unit.js +1 -1
- package/dist/types/Enum/Unit.js.map +1 -1
- package/dist/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +1 -0
- package/dist/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
- package/dist/types/Interface/api/accountingFiles/queryAccountingFiles.js +8 -0
- package/dist/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/dist/types/Interface/api/accountingTransaction/Create.d.ts +2 -2
- package/dist/types/Interface/api/accountingTransaction/Create.d.ts.map +1 -1
- package/dist/types/Interface/api/accountingTransaction/Create.js +2 -2
- package/dist/types/Interface/api/accountingTransaction/Create.js.map +1 -1
- package/dist/types/Interface/api/commercialManagement/Create.d.ts +1 -0
- package/dist/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/dist/types/Interface/api/commercialManagement/Create.js +2 -1
- package/dist/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/dist/types/Interface/api/docoon/Create.d.ts +2 -2
- package/dist/types/Interface/api/docoon/Create.d.ts.map +1 -1
- package/dist/types/Interface/api/docoon/Create.js.map +1 -1
- package/dist/types/Interface/api/docoon/Read.d.ts +43 -27
- 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/humanResourceLibrary/CreateHumanResourceLibrary.d.ts +1 -1
- package/dist/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.d.ts.map +1 -1
- package/dist/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.js +18 -4
- package/dist/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.js.map +1 -1
- package/dist/types/Interface/api/registration/DeclareRegistration.d.ts +1 -0
- package/dist/types/Interface/api/registration/DeclareRegistration.d.ts.map +1 -1
- package/dist/types/Interface/api/registration/DeclareRegistration.js +8 -0
- package/dist/types/Interface/api/registration/DeclareRegistration.js.map +1 -1
- package/dist/types/Interface/models/IAccountingTransaction.d.ts +2 -2
- package/dist/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
- package/dist/types/Interface/models/IAccountingTransaction.js.map +1 -1
- package/dist/types/Interface/models/{IAccountingTransactionTracking.d.ts → IConnectorTracking.d.ts} +2 -2
- package/dist/types/Interface/models/IConnectorTracking.d.ts.map +1 -0
- package/dist/types/Interface/models/IConnectorTracking.js +2 -0
- package/dist/types/Interface/models/IConnectorTracking.js.map +1 -0
- package/dist/types/Interface/models/IEInvoicing.d.ts +1 -1
- package/dist/types/Interface/models/IEInvoicing.d.ts.map +1 -1
- package/dist/types/Interface/models/IEInvoicing.js +1 -12
- package/dist/types/Interface/models/IEInvoicing.js.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -2
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Docoon.ts +5 -0
- package/ts/api/resources/Transaction.ts +2 -5
- package/ts/types/Enum/CommercialManagement.ts +25 -7
- package/ts/types/Enum/{AccountingTransactionTracking.ts → ConnectorTracking.ts} +1 -1
- package/ts/types/Enum/EInvoicingReasonType.ts +487 -110
- package/ts/types/Enum/EInvoicingStatusCode.ts +48 -16
- package/ts/types/Enum/Unit.ts +1 -1
- package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +6 -0
- package/ts/types/Interface/api/accountingTransaction/Create.ts +3 -3
- package/ts/types/Interface/api/commercialManagement/Create.ts +2 -1
- package/ts/types/Interface/api/docoon/Create.ts +2 -2
- package/ts/types/Interface/api/docoon/Read.ts +46 -27
- package/ts/types/Interface/api/humanResourceLibrary/CreateHumanResourceLibrary.ts +18 -4
- package/ts/types/Interface/api/registration/DeclareRegistration.ts +6 -0
- package/ts/types/Interface/models/IAccountingTransaction.ts +2 -2
- package/ts/types/Interface/models/{IAccountingTransactionTracking.ts → IConnectorTracking.ts} +1 -1
- package/ts/types/Interface/models/IEInvoicing.ts +1 -1
- package/ts/types/index.ts +2 -2
- package/ts/utils/index.ts +1 -0
- package/dist/types/Enum/AccountingTransactionTracking.d.ts.map +0 -1
- package/dist/types/Enum/AccountingTransactionTracking.js +0 -10
- package/dist/types/Enum/AccountingTransactionTracking.js.map +0 -1
- package/dist/types/Interface/models/IAccountingTransactionTracking.d.ts.map +0 -1
- package/dist/types/Interface/models/IAccountingTransactionTracking.js +0 -2
- package/dist/types/Interface/models/IAccountingTransactionTracking.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../ts/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,sCAAsC,CAAC;AACrD,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../ts/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,sCAAsC,CAAC;AACrD,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC"}
|
package/dist/utils/index.js
CHANGED
|
@@ -21,4 +21,5 @@ export * from './commercialOffer.js';
|
|
|
21
21
|
export * from './societyApproval.js';
|
|
22
22
|
export * from './commercialManagement/saleEmail.js';
|
|
23
23
|
export * from './transforms/boolean.transform.js';
|
|
24
|
+
export * from './transforms/number.transform.js';
|
|
24
25
|
//# sourceMappingURL=index.js.map
|
package/dist/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,sCAAsC,CAAC;AACrD,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC","sourcesContent":["export * from './objectUtils/index.js';\nexport * from './stringUtils/index.js';\nexport * from './brands.js';\nexport * from './webmail.js';\nexport * from './decorators/isE164PhoneNumber.decorator.js';\nexport * from './documents.js';\nexport * from './balanceSheetModule.js';\nexport * from './siretValidation.js';\nexport * from './statutsGeneration.js';\nexport * from './exercice.js';\nexport * from './prestation.js';\nexport * from './task.js';\nexport * from './social.js';\nexport * from './commercialManagement/recurrence.js';\nexport * from './amount.js';\nexport * from './quotation.js';\nexport * from './isHtml.js';\nexport * from './isUrl.js';\nexport * from './bankAccount.js';\nexport * from './commercialOffer.js';\nexport * from './societyApproval.js';\nexport * from './commercialManagement/saleEmail.js';\nexport * from './transforms/boolean.transform.js';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,sCAAsC,CAAC;AACrD,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC","sourcesContent":["export * from './objectUtils/index.js';\nexport * from './stringUtils/index.js';\nexport * from './brands.js';\nexport * from './webmail.js';\nexport * from './decorators/isE164PhoneNumber.decorator.js';\nexport * from './documents.js';\nexport * from './balanceSheetModule.js';\nexport * from './siretValidation.js';\nexport * from './statutsGeneration.js';\nexport * from './exercice.js';\nexport * from './prestation.js';\nexport * from './task.js';\nexport * from './social.js';\nexport * from './commercialManagement/recurrence.js';\nexport * from './amount.js';\nexport * from './quotation.js';\nexport * from './isHtml.js';\nexport * from './isUrl.js';\nexport * from './bankAccount.js';\nexport * from './commercialOffer.js';\nexport * from './societyApproval.js';\nexport * from './commercialManagement/saleEmail.js';\nexport * from './transforms/boolean.transform.js';\nexport * from './transforms/number.transform.js';\n"]}
|
package/package.json
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
ReadDocoonTenantDirectoryLines,
|
|
6
6
|
RelaunchDirectoryLine,
|
|
7
7
|
QueryDirectoryLineById,
|
|
8
|
+
ReadClientDirectoryLine,
|
|
8
9
|
} from '../../types/index.js';
|
|
9
10
|
import { Resource } from '../Resource.js';
|
|
10
11
|
|
|
@@ -13,6 +14,10 @@ export class Docoon extends Resource {
|
|
|
13
14
|
return this.axios.$get('/docoon/directory-line', { params });
|
|
14
15
|
}
|
|
15
16
|
|
|
17
|
+
getClientDirectoryLine(params: QueryDirectoryLine): Promise<ReadClientDirectoryLine> {
|
|
18
|
+
return this.axios.$get('/docoon/client/directory-line', { params });
|
|
19
|
+
}
|
|
20
|
+
|
|
16
21
|
getDirectoyLineForSociety(idSociety: number, params: QueryDirectoryLine): Promise<ReadDirectoryLine> {
|
|
17
22
|
return this.axios.$get(`/societies/${idSociety}/docoon/directory-line`, { params });
|
|
18
23
|
}
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
ReadSocietyTransactionGetBalance,
|
|
29
29
|
UpdatedAccountingTransactions,
|
|
30
30
|
ProcessTrackingPayload,
|
|
31
|
-
|
|
31
|
+
IConnectorTracking,
|
|
32
32
|
} from '../../types/index.js';
|
|
33
33
|
|
|
34
34
|
export class Transaction extends Resource {
|
|
@@ -154,10 +154,7 @@ export class Transaction extends Resource {
|
|
|
154
154
|
return this.axios.$post('/transactions/process-vat', payload);
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
processTracking(
|
|
158
|
-
idAccountingTransaction: number,
|
|
159
|
-
payload: ProcessTrackingPayload,
|
|
160
|
-
): Promise<IAccountingTransactionTracking[]> {
|
|
157
|
+
processTracking(idAccountingTransaction: number, payload: ProcessTrackingPayload): Promise<IConnectorTracking[]> {
|
|
161
158
|
return this.axios.$post(`/transactions/tracking/process/${idAccountingTransaction}`, payload);
|
|
162
159
|
}
|
|
163
160
|
}
|
|
@@ -243,41 +243,59 @@ export const CommercialPenaltiesList: string[] = [
|
|
|
243
243
|
'Taux directeur de la BCE + 10 points',
|
|
244
244
|
];
|
|
245
245
|
|
|
246
|
-
export const CommercialVatMentionList: Array<{
|
|
247
|
-
|
|
248
|
-
|
|
246
|
+
export const CommercialVatMentionList: Array<{
|
|
247
|
+
text: string;
|
|
248
|
+
value: string;
|
|
249
|
+
taxType: 'standard' | 'margin' | 'autoliquidation' | 'export' | 'exempt';
|
|
250
|
+
vatex?: string;
|
|
251
|
+
}> = [
|
|
252
|
+
{ text: 'Soumis à TVA', value: 'TVA: Non concerné', taxType: 'standard' },
|
|
253
|
+
{ text: 'Pas de TVA', value: 'TVA non applicable, art. 293 B du CGI', taxType: 'exempt' },
|
|
249
254
|
{
|
|
250
255
|
text: 'Exports hors UE',
|
|
251
256
|
value: 'TVA non applicable - Exportation hors UE - Art. 259-1 du CGI',
|
|
257
|
+
taxType: 'export',
|
|
258
|
+
vatex: 'VATEX-EU-G',
|
|
252
259
|
},
|
|
253
|
-
{ text: 'TVA exonérée (intérêt général)', value: "Non soumis à TVA selon l'article 261C du CGI" },
|
|
254
|
-
{ text: 'TVA exonérée (location)', value: 'Article 261 D du CGI' },
|
|
260
|
+
{ text: 'TVA exonérée (intérêt général)', value: "Non soumis à TVA selon l'article 261C du CGI", taxType: 'exempt' },
|
|
261
|
+
{ text: 'TVA exonérée (location)', value: 'Article 261 D du CGI', taxType: 'exempt' },
|
|
255
262
|
{
|
|
256
263
|
text: 'TVA autoliquidée (prestataire étranger)',
|
|
257
264
|
value: 'Exonération de TVA, article 283-2 du CGI',
|
|
265
|
+
vatex: 'VATEX-EU-AE',
|
|
266
|
+
taxType: 'autoliquidation',
|
|
258
267
|
},
|
|
259
|
-
{ text: 'Vente UE sans TVA', value: 'Exonération de la TVA : Article 262 ter I du CGI' },
|
|
260
|
-
{ text: 'TVA exonérée (formation)', value: 'Mention de TVA 261.4.4 1 du CGI' },
|
|
268
|
+
{ text: 'Vente UE sans TVA', value: 'Exonération de la TVA : Article 262 ter I du CGI', taxType: 'exempt' },
|
|
269
|
+
{ text: 'TVA exonérée (formation)', value: 'Mention de TVA 261.4.4 1 du CGI', taxType: 'exempt' },
|
|
261
270
|
{
|
|
262
271
|
text: 'TVA sur marge (occasion)',
|
|
263
272
|
value: "Régime particulier – Biens d'occasion - article 297 A du CGI et directive communautaire 2006/112/CE",
|
|
273
|
+
taxType: 'margin',
|
|
274
|
+
vatex: 'VATEX-EU-F',
|
|
264
275
|
},
|
|
265
276
|
{
|
|
266
277
|
text: 'TVA sur marge (art)',
|
|
267
278
|
value: "Régime particulier – Objets d'art - article 297 A du CGI et directive communautaire 2006/112/CE",
|
|
279
|
+
taxType: 'margin',
|
|
280
|
+
vatex: 'VATEX-EU-I',
|
|
268
281
|
},
|
|
269
282
|
{
|
|
270
283
|
text: 'TVA sur marge (collection)',
|
|
271
284
|
value:
|
|
272
285
|
"Régime particulier – Objets de collection ou d'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE",
|
|
286
|
+
taxType: 'margin',
|
|
287
|
+
vatex: 'VATEX-EU-J',
|
|
273
288
|
},
|
|
274
289
|
{
|
|
275
290
|
text: 'TVA - Forfait voyage',
|
|
276
291
|
value: 'Régime particulier – Agences de voyage - article 297 A du CGI et directive communautaire 2006/112/CE',
|
|
292
|
+
taxType: 'margin',
|
|
293
|
+
vatex: 'VATEX-EU-D',
|
|
277
294
|
},
|
|
278
295
|
{
|
|
279
296
|
text: 'TVA autoliquidée (sous-traitant)',
|
|
280
297
|
value: 'Facture soumise au régime de l’auto-liquidation de la TVA',
|
|
298
|
+
taxType: 'autoliquidation',
|
|
281
299
|
},
|
|
282
300
|
];
|
|
283
301
|
|