@silexpert/core 1.1.401 → 1.1.402

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 (74) hide show
  1. package/dist/cjs/types/Enum/CommercialManagement.d.ts +4 -0
  2. package/dist/cjs/types/Enum/CommercialManagement.d.ts.map +1 -1
  3. package/dist/cjs/types/Enum/CommercialManagement.js +6 -1
  4. package/dist/cjs/types/Enum/CommercialManagement.js.map +1 -1
  5. package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts +4 -1
  6. package/dist/cjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  7. package/dist/cjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
  8. package/dist/cjs/types/Interface/api/commercialManagement/Read.d.ts +2 -0
  9. package/dist/cjs/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
  10. package/dist/cjs/types/Interface/api/commercialManagement/Read.js.map +1 -1
  11. package/dist/cjs/types/Interface/models/IBankAccount.d.ts +0 -1
  12. package/dist/cjs/types/Interface/models/IBankAccount.d.ts.map +1 -1
  13. package/dist/cjs/types/Interface/models/IBankAccount.js.map +1 -1
  14. package/dist/cjs/types/Interface/models/IEstimateInvoice.d.ts +2 -1
  15. package/dist/cjs/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
  16. package/dist/cjs/types/Interface/models/IEstimateInvoice.js.map +1 -1
  17. package/dist/cjs/utils/commercialManagement/document.d.ts.map +1 -1
  18. package/dist/cjs/utils/commercialManagement/document.js +18 -12
  19. package/dist/cjs/utils/commercialManagement/document.js.map +1 -1
  20. package/dist/cjs/utils/commercialManagement/internationalization/choices.d.ts +3 -0
  21. package/dist/cjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -0
  22. package/dist/cjs/utils/commercialManagement/internationalization/choices.js +417 -0
  23. package/dist/cjs/utils/commercialManagement/internationalization/choices.js.map +1 -0
  24. package/dist/cjs/utils/commercialManagement/internationalization/type.d.ts +144 -0
  25. package/dist/cjs/utils/commercialManagement/internationalization/type.d.ts.map +1 -0
  26. package/dist/cjs/utils/commercialManagement/internationalization/type.js +3 -0
  27. package/dist/cjs/utils/commercialManagement/internationalization/type.js.map +1 -0
  28. package/dist/cjs/utils/commercialManagement/templates/body.js +15 -15
  29. package/dist/cjs/utils/commercialManagement/templates/body.js.map +1 -1
  30. package/dist/cjs/utils/commercialManagement/templates/common.js +37 -37
  31. package/dist/cjs/utils/commercialManagement/templates/common.js.map +1 -1
  32. package/dist/mjs/types/Enum/CommercialManagement.d.ts +4 -0
  33. package/dist/mjs/types/Enum/CommercialManagement.d.ts.map +1 -1
  34. package/dist/mjs/types/Enum/CommercialManagement.js +5 -0
  35. package/dist/mjs/types/Enum/CommercialManagement.js.map +1 -1
  36. package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts +4 -1
  37. package/dist/mjs/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  38. package/dist/mjs/types/Interface/api/commercialManagement/Create.js +2 -0
  39. package/dist/mjs/types/Interface/api/commercialManagement/Create.js.map +1 -1
  40. package/dist/mjs/types/Interface/api/commercialManagement/Read.d.ts +2 -0
  41. package/dist/mjs/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
  42. package/dist/mjs/types/Interface/api/commercialManagement/Read.js.map +1 -1
  43. package/dist/mjs/types/Interface/models/IBankAccount.d.ts +0 -1
  44. package/dist/mjs/types/Interface/models/IBankAccount.d.ts.map +1 -1
  45. package/dist/mjs/types/Interface/models/IBankAccount.js.map +1 -1
  46. package/dist/mjs/types/Interface/models/IEstimateInvoice.d.ts +2 -1
  47. package/dist/mjs/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
  48. package/dist/mjs/types/Interface/models/IEstimateInvoice.js.map +1 -1
  49. package/dist/mjs/utils/commercialManagement/document.d.ts.map +1 -1
  50. package/dist/mjs/utils/commercialManagement/document.js +8 -1
  51. package/dist/mjs/utils/commercialManagement/document.js.map +1 -1
  52. package/dist/mjs/utils/commercialManagement/internationalization/choices.d.ts +3 -0
  53. package/dist/mjs/utils/commercialManagement/internationalization/choices.d.ts.map +1 -0
  54. package/dist/mjs/utils/commercialManagement/internationalization/choices.js +414 -0
  55. package/dist/mjs/utils/commercialManagement/internationalization/choices.js.map +1 -0
  56. package/dist/mjs/utils/commercialManagement/internationalization/type.d.ts +144 -0
  57. package/dist/mjs/utils/commercialManagement/internationalization/type.d.ts.map +1 -0
  58. package/dist/mjs/utils/commercialManagement/internationalization/type.js +2 -0
  59. package/dist/mjs/utils/commercialManagement/internationalization/type.js.map +1 -0
  60. package/dist/mjs/utils/commercialManagement/templates/body.js +15 -15
  61. package/dist/mjs/utils/commercialManagement/templates/body.js.map +1 -1
  62. package/dist/mjs/utils/commercialManagement/templates/common.js +37 -37
  63. package/dist/mjs/utils/commercialManagement/templates/common.js.map +1 -1
  64. package/package.json +1 -1
  65. package/ts/types/Enum/CommercialManagement.ts +6 -1
  66. package/ts/types/Interface/api/commercialManagement/Create.ts +4 -1
  67. package/ts/types/Interface/api/commercialManagement/Read.ts +2 -0
  68. package/ts/types/Interface/models/IBankAccount.ts +0 -1
  69. package/ts/types/Interface/models/IEstimateInvoice.ts +2 -1
  70. package/ts/utils/commercialManagement/document.ts +10 -0
  71. package/ts/utils/commercialManagement/internationalization/choices.ts +421 -0
  72. package/ts/utils/commercialManagement/internationalization/type.ts +156 -0
  73. package/ts/utils/commercialManagement/templates/body.ts +15 -15
  74. package/ts/utils/commercialManagement/templates/common.ts +37 -37
@@ -0,0 +1,417 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.internationalizationChoices = void 0;
4
+ const CommercialManagement_1 = require("../../../types/Enum/CommercialManagement");
5
+ exports.internationalizationChoices = {
6
+ fr: {
7
+ inputLists: {
8
+ headers: {
9
+ termsOfPayment: [
10
+ 'À la livraison',
11
+ 'À la commande',
12
+ 'À réception de la facture',
13
+ 'Exigible sous 14 jours',
14
+ 'Exigible sous 30 jours',
15
+ '30 jours à réception de la facture',
16
+ '45 jours à réception de la facture',
17
+ '60 jours à réception de la facture',
18
+ ],
19
+ accountingCategories: [
20
+ { id: CommercialManagement_1.AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Livraison de biens' },
21
+ { id: CommercialManagement_1.AccountingCategoryId.SERVICE_DELIVERY, label: 'Prestation de services' },
22
+ { id: CommercialManagement_1.AccountingCategoryId.GOOD_AND_SERVICE, label: 'Prestation de services et livraison de biens' },
23
+ ],
24
+ },
25
+ options: {
26
+ penalties: [
27
+ 'Non applicable',
28
+ '3 fois le taux légal',
29
+ 'Taux directeur de la BCE + 10 points',
30
+ ],
31
+ discount: [
32
+ 'Non applicable',
33
+ 'Aucun escompte en cas de paiement anticipé',
34
+ ],
35
+ vatMention: [
36
+ 'Non concerné',
37
+ 'Non applicable',
38
+ 'TVA non applicable, art. 293 B du CGI',
39
+ 'TVA non applicable - Exportation hors UE - Art. 259-1 du CGI',
40
+ 'Non soumis à TVA selon l\'article 261C du CGI',
41
+ 'Article 261 D du code général des impôts (CGI)',
42
+ 'Exonération de TVA, article 283-2 du Code général des impôts',
43
+ 'Exonération de la TVA : Article 262 ter I du CGI',
44
+ 'Mention de TVA 261.4.4 1 du CGI',
45
+ 'Régime particulier – Biens d\'occasion - article 297 A du CGI et directive communautaire 2006/112/CE',
46
+ 'Régime particulier – Objets d\'art - article 297 A du CGI et directive communautaire 2006/112/CE',
47
+ 'Régime particulier – Objets de collection ou d\'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE',
48
+ 'Régime particulier – Agences de voyage - article 297 A du CGI et directive communautaire 2006/112/CE',
49
+ 'Facture soumise au régime de l’auto-liquidation de la TVA',
50
+ ],
51
+ recoveryCost: [
52
+ 'Non applicable',
53
+ '40€',
54
+ ],
55
+ paymentType: [
56
+ 'Carte bancaire',
57
+ 'Chèque',
58
+ 'Espèces',
59
+ 'Prélèvement',
60
+ 'Virement bancaire',
61
+ ],
62
+ },
63
+ },
64
+ template: {
65
+ common: {
66
+ headers: {
67
+ emissionDate: 'Date d\'émission',
68
+ accountingCategory: {
69
+ title: 'Catégorie de l\'opération',
70
+ choices: [
71
+ { id: CommercialManagement_1.AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Livraison de biens' },
72
+ { id: CommercialManagement_1.AccountingCategoryId.SERVICE_DELIVERY, label: 'Prestation de services' },
73
+ { id: CommercialManagement_1.AccountingCategoryId.GOOD_AND_SERVICE, label: 'Prestation de services et livraison de biens' },
74
+ ],
75
+ },
76
+ },
77
+ footer: {
78
+ capital: 'au capital de',
79
+ siren: 'immatriculée sous le SIREN',
80
+ vatCode: 'N° TVA',
81
+ marginVat: 'Régime TVA sur marge',
82
+ legalVatMention: 'ART 297-A du CGI ou directive 2006-212 CE',
83
+ shouldPayTaxAfterDebit: 'Option pour le paiement de la taxe d\'après les débits',
84
+ penalties: 'Pénalités en cas de retard',
85
+ discount: 'Escompte',
86
+ recoveryCosts: 'Indemnités forfaitaire en cas de retard',
87
+ generate: 'Généré par',
88
+ },
89
+ options: {
90
+ vatMention: 'Mention TVA',
91
+ paymentType: 'Mode de paiement',
92
+ bank: 'BANQUE',
93
+ approval: 'Bon pour accord',
94
+ comment: 'Commentaire',
95
+ },
96
+ table: {
97
+ headers: {
98
+ product: 'Article',
99
+ quantity: 'Quantité',
100
+ unitPrice: 'P.U HT',
101
+ unitPriceWithoutVat: 'P.U',
102
+ discount: 'Remise',
103
+ vat: 'TVA',
104
+ amount: 'Montant HT',
105
+ amountWithoutVat: 'Montant',
106
+ base: 'Base',
107
+ rate: 'Taux',
108
+ vatAmount: 'Montant TVA',
109
+ recap: 'Récapitulatif',
110
+ },
111
+ lines: {
112
+ totalHt: 'Total HT',
113
+ vat: 'TVA',
114
+ totalTTC: 'Total TTC',
115
+ totalWhitoutVat: 'Total',
116
+ deposit: 'Acompte',
117
+ remainderToPay: 'Reste à payer',
118
+ netToPay: 'Net à payer',
119
+ },
120
+ },
121
+ },
122
+ invoice: {
123
+ headers: {
124
+ title: 'Facture',
125
+ dueDate: 'Date d\'échéance',
126
+ termsOfPayment: 'Date limite de règlement',
127
+ },
128
+ },
129
+ estimate: {
130
+ headers: {
131
+ title: 'Devis',
132
+ dueDate: 'Valide jusq\'au',
133
+ termsOfPayment: 'Conditions de règlement',
134
+ },
135
+ },
136
+ orderForm: {
137
+ headers: {
138
+ title: 'Bon de commande',
139
+ dueDate: 'Date d\'échéance',
140
+ termsOfPayment: 'Conditions de règlement',
141
+ },
142
+ },
143
+ deposit: {
144
+ headers: {
145
+ title: 'Accompte',
146
+ expirationDate: 'Date d\'expiration',
147
+ termsOfPayment: 'Date limite de règlement',
148
+ },
149
+ },
150
+ asset: {
151
+ headers: {
152
+ title: 'Avoir',
153
+ dueDate: 'Date d\'échéance',
154
+ termsOfPayment: 'Date limite de règlement',
155
+ },
156
+ },
157
+ remainder: {
158
+ headers: {
159
+ title: 'reste',
160
+ dueDate: 'Date d\'échéance',
161
+ termsOfPayment: 'Date limite de règlement',
162
+ },
163
+ },
164
+ draft: {
165
+ headers: {
166
+ title: 'Brouillon',
167
+ dueDate: 'Date d\'échéance',
168
+ termsOfPayment: 'Date limite de règlement',
169
+ },
170
+ },
171
+ },
172
+ mail: {
173
+ common: {
174
+ dueDate: 'Échéance',
175
+ generate: 'Généré par',
176
+ displayDocument: 'Afficher le document',
177
+ totalHt: 'Total HT',
178
+ totalVat: 'Total TVA',
179
+ totalTtc: 'Total TTC',
180
+ },
181
+ invoice: {
182
+ title: 'cette facture',
183
+ subTitle: 'Facture',
184
+ },
185
+ estimate: {
186
+ title: 'ce devis',
187
+ subTitle: 'Devis',
188
+ },
189
+ orderForm: {
190
+ title: 'ce bon de commande',
191
+ subTitle: 'Bon de commande',
192
+ },
193
+ deposit: {
194
+ title: 'cet acompte',
195
+ subTitle: 'Acompte',
196
+ },
197
+ asset: {
198
+ title: 'cet avoir',
199
+ subTitle: 'Avoir',
200
+ },
201
+ remainder: {
202
+ title: 'cette facture',
203
+ subTitle: 'Facture',
204
+ },
205
+ default: {
206
+ title: 'ce document',
207
+ subTitle: 'Document',
208
+ },
209
+ },
210
+ },
211
+ en: {
212
+ inputLists: {
213
+ headers: {
214
+ termsOfPayment: [
215
+ 'On delivery',
216
+ 'On order',
217
+ 'Upon receipt of invoice',
218
+ 'Due within 14 days',
219
+ 'Due within 30 days',
220
+ '30 days upon receipt of invoice',
221
+ '45 days upon receipt of invoice',
222
+ '60 days upon receipt of invoice',
223
+ ],
224
+ accountingCategories: [
225
+ { id: CommercialManagement_1.AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Delivery of goods' },
226
+ { id: CommercialManagement_1.AccountingCategoryId.SERVICE_DELIVERY, label: 'Services delivery' },
227
+ { id: CommercialManagement_1.AccountingCategoryId.GOOD_AND_SERVICE, label: 'Services and goods delivery' },
228
+ ],
229
+ },
230
+ options: {
231
+ penalties: [
232
+ 'Not applicable',
233
+ '3 times the legal rate',
234
+ 'ECB key rate + 10 points',
235
+ ],
236
+ discount: [
237
+ 'Not applicable',
238
+ 'No discount for early payment',
239
+ ],
240
+ vatMention: [
241
+ 'Not affected',
242
+ 'Not applicable',
243
+ 'VAT not applicable, art. 293 B of the FGTC',
244
+ 'VAT not applicable - Exports outside the EU - Art. 259-1 FGTC',
245
+ 'Not subject to VAT under article 261C of the FGTC',
246
+ 'Article 261 D of the French General Tax Code (FGTC)',
247
+ 'VAT exemption, article 283-2 of the French General Tax Code',
248
+ 'VAT exemption: Article 262 ter I of the FGTC',
249
+ 'VAT notice 261.4.4 1 of the FGTC',
250
+ 'Special regime - Second-hand goods - article 297 A of the FGTC and EC directive 2006/112/EC',
251
+ 'Special regime - Works of art - article 297 A of the FGTC and EC directive 2006/112/EC',
252
+ 'Special regime – Collector\'s items and antiques - article 297 A of the FGTC and EC directive 2006/112/EC',
253
+ 'Special regime - Travel agencies - article 297 A of the FGTC and EC directive 2006/112/EC',
254
+ 'Invoice subject to VAT reverse charge system',
255
+ ],
256
+ recoveryCost: [
257
+ 'Not applicable',
258
+ '40€',
259
+ ],
260
+ paymentType: [
261
+ 'Credit card',
262
+ 'Check',
263
+ 'Cash',
264
+ 'Withdrawal',
265
+ 'Bank transfer',
266
+ ],
267
+ },
268
+ },
269
+ template: {
270
+ common: {
271
+ headers: {
272
+ emissionDate: 'Emission date',
273
+ accountingCategory: {
274
+ title: 'Accounting category',
275
+ choices: [
276
+ { id: CommercialManagement_1.AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Delivery of goods' },
277
+ { id: CommercialManagement_1.AccountingCategoryId.SERVICE_DELIVERY, label: 'Services delivery' },
278
+ { id: CommercialManagement_1.AccountingCategoryId.GOOD_AND_SERVICE, label: 'Services and goods delivery' },
279
+ ],
280
+ },
281
+ },
282
+ footer: {
283
+ capital: 'with capital of',
284
+ siren: 'registered under SIREN',
285
+ vatCode: 'VAT number',
286
+ marginVat: 'VAT margin scheme',
287
+ legalVatMention: 'ART 297-A of the FGTC or directive 2006-212 EC',
288
+ shouldPayTaxAfterDebit: 'Option to pay tax on debits',
289
+ penalties: 'Late payment penalties',
290
+ discount: 'discount',
291
+ recoveryCosts: 'Recovery cost for delays',
292
+ generate: 'Created by',
293
+ },
294
+ options: {
295
+ vatMention: 'VAT mention',
296
+ paymentType: 'payment type',
297
+ bank: 'BANK',
298
+ approval: 'For apprval',
299
+ comment: 'Comment',
300
+ },
301
+ table: {
302
+ headers: {
303
+ product: 'Product',
304
+ quantity: 'Quantity',
305
+ unitPrice: 'Excl. tax unit price',
306
+ unitPriceWithoutVat: 'Unit price',
307
+ discount: 'Discount',
308
+ vat: 'VAT',
309
+ amount: 'Amount excl. tax',
310
+ amountWithoutVat: 'Amount',
311
+ base: 'Base',
312
+ rate: 'Rate',
313
+ vatAmount: 'VAT amount',
314
+ recap: 'Recap',
315
+ },
316
+ lines: {
317
+ totalHt: 'Amount excl. tax',
318
+ vat: 'VAT',
319
+ totalTTC: 'Amount incl. tax',
320
+ totalWhitoutVat: 'Amount',
321
+ deposit: 'Deposit',
322
+ remainderToPay: 'Remainder to pay',
323
+ netToPay: 'Net to pay',
324
+ },
325
+ },
326
+ },
327
+ invoice: {
328
+ headers: {
329
+ title: 'Invoice',
330
+ dueDate: 'Due date',
331
+ termsOfPayment: 'Deadline for payment',
332
+ },
333
+ },
334
+ estimate: {
335
+ headers: {
336
+ title: 'Estimate',
337
+ dueDate: 'Valid until',
338
+ termsOfPayment: 'Term of payment',
339
+ },
340
+ },
341
+ orderForm: {
342
+ headers: {
343
+ title: 'Order form',
344
+ dueDate: 'Valid until',
345
+ termsOfPayment: 'Term of payment',
346
+ },
347
+ },
348
+ deposit: {
349
+ headers: {
350
+ title: 'Deposit',
351
+ expirationDate: 'Expiration date',
352
+ termsOfPayment: 'Deadline for payment',
353
+ },
354
+ },
355
+ asset: {
356
+ headers: {
357
+ title: 'Asset',
358
+ dueDate: 'Due date',
359
+ termsOfPayment: 'Deadline for payment',
360
+ },
361
+ },
362
+ remainder: {
363
+ headers: {
364
+ title: 'Remainder',
365
+ dueDate: 'Due date',
366
+ termsOfPayment: 'Deadline for payment',
367
+ },
368
+ },
369
+ draft: {
370
+ headers: {
371
+ title: 'Draft',
372
+ dueDate: 'Due date',
373
+ termsOfPayment: 'Deadline for payment',
374
+ },
375
+ },
376
+ },
377
+ mail: {
378
+ common: {
379
+ dueDate: 'Due date',
380
+ generate: 'Created by',
381
+ displayDocument: 'Display document',
382
+ totalHt: 'Total excl. tax',
383
+ totalVat: 'Total VAT',
384
+ totalTtc: 'Total incl. tax',
385
+ },
386
+ invoice: {
387
+ title: 'this invoice',
388
+ subTitle: 'Invoice',
389
+ },
390
+ estimate: {
391
+ title: 'this estimate',
392
+ subTitle: 'Estimate',
393
+ },
394
+ orderForm: {
395
+ title: 'this order form',
396
+ subTitle: 'Order form',
397
+ },
398
+ deposit: {
399
+ title: 'this deposit',
400
+ subTitle: 'Deposit',
401
+ },
402
+ asset: {
403
+ title: 'this asset',
404
+ subTitle: 'Asset',
405
+ },
406
+ remainder: {
407
+ title: 'this invoice',
408
+ subTitle: 'Invoice',
409
+ },
410
+ default: {
411
+ title: 'this document',
412
+ subTitle: 'Document',
413
+ },
414
+ },
415
+ },
416
+ };
417
+ //# sourceMappingURL=choices.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"choices.js","sourceRoot":"","sources":["../../../../../ts/utils/commercialManagement/internationalization/choices.ts"],"names":[],"mappings":";;;AAAA,mFAAgF;AAInE,QAAA,2BAA2B,GAAoC;IAC1E,EAAE,EAAE;QACF,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,cAAc,EAAE;oBACd,gBAAgB;oBAChB,eAAe;oBACf,2BAA2B;oBAC3B,wBAAwB;oBACxB,wBAAwB;oBACxB,oCAAoC;oBACpC,oCAAoC;oBACpC,oCAAoC;iBACrC;gBACD,oBAAoB,EAAE;oBACpB,EAAE,EAAE,EAAE,2CAAoB,CAAC,gBAAgB,EAAE,KAAK,EAAE,oBAAoB,EAAE;oBAC1E,EAAE,EAAE,EAAE,2CAAoB,CAAC,gBAAgB,EAAE,KAAK,EAAE,wBAAwB,EAAE;oBAC9E,EAAE,EAAE,EAAE,2CAAoB,CAAC,gBAAgB,EAAE,KAAK,EAAE,8CAA8C,EAAE;iBACrG;aACF;YACD,OAAO,EAAE;gBACP,SAAS,EAAE;oBACT,gBAAgB;oBAChB,sBAAsB;oBACtB,sCAAsC;iBACvC;gBACD,QAAQ,EAAE;oBACR,gBAAgB;oBAChB,4CAA4C;iBAC7C;gBACD,UAAU,EAAE;oBACV,cAAc;oBACd,gBAAgB;oBAChB,uCAAuC;oBACvC,8DAA8D;oBAC9D,+CAA+C;oBAC/C,gDAAgD;oBAChD,8DAA8D;oBAC9D,kDAAkD;oBAClD,iCAAiC;oBACjC,sGAAsG;oBACtG,kGAAkG;oBAClG,yHAAyH;oBACzH,sGAAsG;oBACtG,2DAA2D;iBAC5D;gBACD,YAAY,EAAE;oBACZ,gBAAgB;oBAChB,KAAK;iBACN;gBACD,WAAW,EAAE;oBACX,gBAAgB;oBAChB,QAAQ;oBACR,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AU;oBACnB,cAAc,EAAE,sBAAsB;iBACvC;aACF;YACD,SAAS,EAAE;gBACT,OAAO,EAAE;oBACP,KAAK,EAAE,WAAW;oBAClB,OAAO,EAAE,UAAU;oBACnB,cAAc,EAAE,sBAAsB;iBACvC;aACF;YACD,KAAK,EAAE;gBACL,OAAO,EAAE;oBACP,KAAK,EAAE,OAAO;oBACd,OAAO,EAAE,UAAU;oBACnB,cAAc,EAAE,sBAAsB;iBACvC;aACF;SACF;QACD,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,OAAO,EAAE,UAAU;gBACnB,QAAQ,EAAE,YAAY;gBACtB,eAAe,EAAE,kBAAkB;gBACnC,OAAO,EAAE,iBAAiB;gBAC1B,QAAQ,EAAE,WAAW;gBACrB,QAAQ,EAAE,iBAAiB;aAC5B;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,cAAc;gBACrB,QAAQ,EAAE,SAAS;aACpB;YACD,QAAQ,EAAE;gBACR,KAAK,EAAE,eAAe;gBACtB,QAAQ,EAAE,UAAU;aACrB;YACD,SAAS,EAAE;gBACT,KAAK,EAAE,iBAAiB;gBACxB,QAAQ,EAAE,YAAY;aACvB;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,cAAc;gBACrB,QAAQ,EAAE,SAAS;aACpB;YACD,KAAK,EAAE;gBACL,KAAK,EAAE,YAAY;gBACnB,QAAQ,EAAE,OAAO;aAClB;YACD,SAAS,EAAE;gBACT,KAAK,EAAE,cAAc;gBACrB,QAAQ,EAAE,SAAS;aACpB;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,eAAe;gBACtB,QAAQ,EAAE,UAAU;aACrB;SAEF;KACF;CACF,CAAC","sourcesContent":["import { AccountingCategoryId } from '../../../types/Enum/CommercialManagement';\nimport { InternationalizationChoicesType } from './type';\n\n\nexport const internationalizationChoices: InternationalizationChoicesType = {\n fr: {\n inputLists: {\n headers: {\n termsOfPayment: [\n 'À la livraison',\n 'À la commande',\n 'À réception de la facture',\n 'Exigible sous 14 jours',\n 'Exigible sous 30 jours',\n '30 jours à réception de la facture',\n '45 jours à réception de la facture',\n '60 jours à réception de la facture',\n ],\n accountingCategories: [\n { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Livraison de biens' },\n { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Prestation de services' },\n { id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Prestation de services et livraison de biens' },\n ],\n },\n options: {\n penalties: [\n 'Non applicable',\n '3 fois le taux légal',\n 'Taux directeur de la BCE + 10 points',\n ],\n discount: [\n 'Non applicable',\n 'Aucun escompte en cas de paiement anticipé',\n ],\n vatMention: [\n 'Non concerné',\n 'Non applicable',\n 'TVA non applicable, art. 293 B du CGI',\n 'TVA non applicable - Exportation hors UE - Art. 259-1 du CGI',\n 'Non soumis à TVA selon l\\'article 261C du CGI',\n 'Article 261 D du code général des impôts (CGI)',\n 'Exonération de TVA, article 283-2 du Code général des impôts',\n 'Exonération de la TVA : Article 262 ter I du CGI',\n 'Mention de TVA 261.4.4 1 du CGI',\n 'Régime particulier – Biens d\\'occasion - article 297 A du CGI et directive communautaire 2006/112/CE',\n 'Régime particulier – Objets d\\'art - article 297 A du CGI et directive communautaire 2006/112/CE',\n 'Régime particulier – Objets de collection ou d\\'antiquité - article 297 A du CGI et directive communautaire 2006/112/CE',\n 'Régime particulier – Agences de voyage - article 297 A du CGI et directive communautaire 2006/112/CE',\n 'Facture soumise au régime de l’auto-liquidation de la TVA',\n ],\n recoveryCost: [\n 'Non applicable',\n '40€',\n ],\n paymentType: [\n 'Carte bancaire',\n 'Chèque',\n 'Espèces',\n 'Prélèvement',\n 'Virement bancaire',\n ],\n },\n },\n template: {\n common: {\n headers: {\n emissionDate: 'Date d\\'émission',\n accountingCategory: {\n title: 'Catégorie de l\\'opération',\n choices: [\n { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Livraison de biens' },\n { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Prestation de services' },\n { id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Prestation de services et livraison de biens' },\n ],\n },\n },\n footer: {\n capital: 'au capital de',\n siren: 'immatriculée sous le SIREN',\n vatCode: 'N° TVA',\n marginVat: 'Régime TVA sur marge',\n legalVatMention: 'ART 297-A du CGI ou directive 2006-212 CE',\n shouldPayTaxAfterDebit: 'Option pour le paiement de la taxe d\\'après les débits',\n penalties: 'Pénalités en cas de retard', \n discount: 'Escompte',\n recoveryCosts: 'Indemnités forfaitaire en cas de retard',\n generate: 'Généré par',\n },\n options: { \n vatMention: 'Mention TVA', \n paymentType: 'Mode de paiement',\n bank: 'BANQUE',\n approval: 'Bon pour accord',\n comment: 'Commentaire',\n },\n table: {\n headers: {\n product: 'Article',\n quantity: 'Quantité',\n unitPrice: 'P.U HT',\n unitPriceWithoutVat: 'P.U',\n discount: 'Remise',\n vat: 'TVA',\n amount: 'Montant HT',\n amountWithoutVat: 'Montant',\n base: 'Base',\n rate: 'Taux',\n vatAmount: 'Montant TVA',\n recap: 'Récapitulatif',\n },\n lines: {\n totalHt: 'Total HT',\n vat: 'TVA',\n totalTTC: 'Total TTC',\n totalWhitoutVat: 'Total',\n deposit: 'Acompte',\n remainderToPay: 'Reste à payer',\n netToPay: 'Net à payer',\n },\n },\n },\n invoice: {\n headers: {\n title: 'Facture',\n dueDate: 'Date d\\'échéance',\n termsOfPayment: 'Date limite de règlement',\n },\n },\n estimate: {\n headers: {\n title: 'Devis',\n dueDate: 'Valide jusq\\'au',\n termsOfPayment: 'Conditions de règlement',\n },\n },\n orderForm: {\n headers: {\n title: 'Bon de commande',\n dueDate: 'Date d\\'échéance',\n termsOfPayment: 'Conditions de règlement',\n },\n\n },\n deposit: {\n headers: {\n title: 'Accompte',\n expirationDate: 'Date d\\'expiration',\n termsOfPayment: 'Date limite de règlement',\n },\n },\n asset: {\n headers: {\n title: 'Avoir',\n dueDate: 'Date d\\'échéance',\n termsOfPayment: 'Date limite de règlement',\n },\n },\n remainder: {\n headers: {\n title: 'reste',\n dueDate: 'Date d\\'échéance',\n termsOfPayment: 'Date limite de règlement',\n },\n },\n draft: {\n headers: {\n title: 'Brouillon',\n dueDate: 'Date d\\'échéance',\n termsOfPayment: 'Date limite de règlement',\n },\n },\n },\n mail: {\n common: {\n dueDate: 'Échéance',\n generate: 'Généré par',\n displayDocument: 'Afficher le document',\n totalHt: 'Total HT',\n totalVat: 'Total TVA',\n totalTtc: 'Total TTC',\n },\n invoice: {\n title: 'cette facture',\n subTitle: 'Facture',\n },\n estimate: {\n title: 'ce devis',\n subTitle: 'Devis',\n },\n orderForm: {\n title: 'ce bon de commande',\n subTitle: 'Bon de commande',\n },\n deposit: {\n title: 'cet acompte',\n subTitle: 'Acompte',\n },\n asset: {\n title: 'cet avoir',\n subTitle: 'Avoir',\n },\n remainder: {\n title: 'cette facture',\n subTitle: 'Facture',\n },\n default: {\n title: 'ce document',\n subTitle: 'Document',\n },\n\n },\n },\n en: {\n inputLists: {\n headers: {\n termsOfPayment: [\n 'On delivery',\n 'On order',\n 'Upon receipt of invoice',\n 'Due within 14 days',\n 'Due within 30 days',\n '30 days upon receipt of invoice',\n '45 days upon receipt of invoice',\n '60 days upon receipt of invoice',\n ],\n accountingCategories: [\n { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Delivery of goods' },\n { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Services delivery' },\n { id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Services and goods delivery' },\n ],\n },\n options: {\n penalties: [\n 'Not applicable',\n '3 times the legal rate',\n 'ECB key rate + 10 points',\n ],\n discount: [\n 'Not applicable',\n 'No discount for early payment',\n ],\n vatMention: [\n 'Not affected',\n 'Not applicable',\n 'VAT not applicable, art. 293 B of the FGTC',\n 'VAT not applicable - Exports outside the EU - Art. 259-1 FGTC',\n 'Not subject to VAT under article 261C of the FGTC',\n 'Article 261 D of the French General Tax Code (FGTC)',\n 'VAT exemption, article 283-2 of the French General Tax Code',\n 'VAT exemption: Article 262 ter I of the FGTC',\n 'VAT notice 261.4.4 1 of the FGTC',\n 'Special regime - Second-hand goods - article 297 A of the FGTC and EC directive 2006/112/EC',\n 'Special regime - Works of art - article 297 A of the FGTC and EC directive 2006/112/EC',\n 'Special regime – Collector\\'s items and antiques - article 297 A of the FGTC and EC directive 2006/112/EC',\n 'Special regime - Travel agencies - article 297 A of the FGTC and EC directive 2006/112/EC',\n 'Invoice subject to VAT reverse charge system',\n ],\n recoveryCost: [\n 'Not applicable',\n '40€',\n ],\n paymentType: [\n 'Credit card',\n 'Check',\n 'Cash',\n 'Withdrawal',\n 'Bank transfer',\n ],\n },\n },\n template: {\n common: {\n headers: {\n emissionDate: 'Emission date',\n accountingCategory: {\n title: 'Accounting category',\n choices: [\n { id: AccountingCategoryId.DELIVERY_OF_GOOD, label: 'Delivery of goods' },\n { id: AccountingCategoryId.SERVICE_DELIVERY, label: 'Services delivery' },\n { id: AccountingCategoryId.GOOD_AND_SERVICE, label: 'Services and goods delivery' },\n ],\n },\n },\n footer: {\n capital: 'with capital of',\n siren: 'registered under SIREN',\n vatCode: 'VAT number',\n marginVat: 'VAT margin scheme',\n legalVatMention: 'ART 297-A of the FGTC or directive 2006-212 EC',\n shouldPayTaxAfterDebit: 'Option to pay tax on debits',\n penalties: 'Late payment penalties', \n discount: 'discount',\n recoveryCosts: 'Recovery cost for delays',\n generate: 'Created by',\n },\n options: { \n vatMention: 'VAT mention',\n paymentType: 'payment type',\n bank: 'BANK',\n approval: 'For apprval',\n comment: 'Comment',\n \n },\n table: {\n headers: {\n product: 'Product',\n quantity: 'Quantity',\n unitPrice: 'Excl. tax unit price',\n unitPriceWithoutVat: 'Unit price',\n discount: 'Discount',\n vat: 'VAT',\n amount: 'Amount excl. tax',\n amountWithoutVat: 'Amount',\n base: 'Base',\n rate: 'Rate',\n vatAmount: 'VAT amount',\n recap: 'Recap',\n },\n lines: {\n totalHt: 'Amount excl. tax',\n vat: 'VAT',\n totalTTC: 'Amount incl. tax',\n totalWhitoutVat: 'Amount',\n deposit: 'Deposit',\n remainderToPay: 'Remainder to pay',\n netToPay: 'Net to pay',\n },\n },\n },\n invoice: {\n headers: {\n title: 'Invoice',\n dueDate: 'Due date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n estimate: {\n headers: {\n title: 'Estimate',\n dueDate: 'Valid until',\n termsOfPayment: 'Term of payment',\n },\n },\n orderForm: {\n headers: {\n title: 'Order form',\n dueDate: 'Valid until',\n termsOfPayment: 'Term of payment',\n },\n\n },\n deposit: {\n headers: {\n title: 'Deposit',\n expirationDate: 'Expiration date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n asset: {\n headers: {\n title: 'Asset',\n dueDate: 'Due date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n remainder: {\n headers: {\n title: 'Remainder',\n dueDate: 'Due date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n draft: {\n headers: {\n title: 'Draft',\n dueDate: 'Due date',\n termsOfPayment: 'Deadline for payment',\n },\n },\n },\n mail: {\n common: {\n dueDate: 'Due date',\n generate: 'Created by',\n displayDocument: 'Display document',\n totalHt: 'Total excl. tax',\n totalVat: 'Total VAT',\n totalTtc: 'Total incl. tax',\n },\n invoice: {\n title: 'this invoice',\n subTitle: 'Invoice',\n },\n estimate: {\n title: 'this estimate',\n subTitle: 'Estimate',\n },\n orderForm: {\n title: 'this order form',\n subTitle: 'Order form',\n },\n deposit: {\n title: 'this deposit',\n subTitle: 'Deposit',\n },\n asset: {\n title: 'this asset',\n subTitle: 'Asset',\n },\n remainder: {\n title: 'this invoice',\n subTitle: 'Invoice',\n },\n default: {\n title: 'this document',\n subTitle: 'Document',\n },\n\n },\n },\n};"]}
@@ -0,0 +1,144 @@
1
+ import { AccountingCategoryId } from '../../../types/Enum/CommercialManagement';
2
+ export type InternationalizationChoicesHeaders = {
3
+ termsOfPayment: string[];
4
+ accountingCategories: Array<{
5
+ label: string;
6
+ id: AccountingCategoryId;
7
+ }>;
8
+ };
9
+ export type InternationalizationChoicesOptions = {
10
+ penalties: string[];
11
+ vatMention: string[];
12
+ discount: string[];
13
+ recoveryCost: string[];
14
+ paymentType: string[];
15
+ };
16
+ export type InternationalizationChoiceInputList = {
17
+ headers: InternationalizationChoicesHeaders;
18
+ options: InternationalizationChoicesOptions;
19
+ };
20
+ export type InternationalizationChoicesTemplateCommonHeader = {
21
+ emissionDate: string;
22
+ accountingCategory: {
23
+ title: string;
24
+ choices: Array<{
25
+ label: string;
26
+ id: AccountingCategoryId;
27
+ }>;
28
+ };
29
+ };
30
+ export type InternationalizationChoiceTemplateSpecificHeader = {
31
+ title: string;
32
+ dueDate: string;
33
+ termsOfPayment: string;
34
+ };
35
+ export type InternationlizationChoiceTemplateSpecificDepositHeader = {
36
+ title: string;
37
+ expirationDate: string;
38
+ termsOfPayment: string;
39
+ };
40
+ export type InternationalizationChoiceTemplateFooter = {
41
+ penalties: string;
42
+ discount: string;
43
+ recoveryCosts: string;
44
+ capital: string;
45
+ siren: string;
46
+ vatCode: string;
47
+ marginVat: string;
48
+ legalVatMention: string;
49
+ shouldPayTaxAfterDebit: string;
50
+ generate: string;
51
+ };
52
+ export type InternationalizationChoiceTemplateOptions = {
53
+ vatMention: string;
54
+ paymentType: string;
55
+ bank: string;
56
+ approval: string;
57
+ comment: string;
58
+ };
59
+ export type InternationalizationChoiceTemplateTable = {
60
+ headers: {
61
+ product: string;
62
+ quantity: string;
63
+ unitPrice: string;
64
+ unitPriceWithoutVat: string;
65
+ discount: string;
66
+ vat: string;
67
+ amount: string;
68
+ amountWithoutVat: string;
69
+ base: string;
70
+ rate: string;
71
+ vatAmount: string;
72
+ recap: string;
73
+ };
74
+ lines: {
75
+ totalHt: string;
76
+ vat: string;
77
+ totalTTC: string;
78
+ totalWhitoutVat: string;
79
+ netToPay: string;
80
+ remainderToPay: string;
81
+ deposit: string;
82
+ };
83
+ };
84
+ export type InternationalizationChoiceTemplateCommon = {
85
+ headers: InternationalizationChoicesTemplateCommonHeader;
86
+ footer: InternationalizationChoiceTemplateFooter;
87
+ options: InternationalizationChoiceTemplateOptions;
88
+ table: InternationalizationChoiceTemplateTable;
89
+ };
90
+ export type InternationalizationChoiceTemplate = {
91
+ common: InternationalizationChoiceTemplateCommon;
92
+ invoice: {
93
+ headers: InternationalizationChoiceTemplateSpecificHeader;
94
+ };
95
+ estimate: {
96
+ headers: InternationalizationChoiceTemplateSpecificHeader;
97
+ };
98
+ orderForm: {
99
+ headers: InternationalizationChoiceTemplateSpecificHeader;
100
+ };
101
+ deposit: {
102
+ headers: InternationlizationChoiceTemplateSpecificDepositHeader;
103
+ };
104
+ asset: {
105
+ headers: InternationalizationChoiceTemplateSpecificHeader;
106
+ };
107
+ remainder: {
108
+ headers: InternationalizationChoiceTemplateSpecificHeader;
109
+ };
110
+ draft: {
111
+ headers: InternationalizationChoiceTemplateSpecificHeader;
112
+ };
113
+ };
114
+ export type InternationalizationChoiceMailCommon = {
115
+ dueDate: string;
116
+ generate: string;
117
+ displayDocument: string;
118
+ totalHt: string;
119
+ totalVat: string;
120
+ totalTtc: string;
121
+ };
122
+ export type InternationalizationChoiceMailSpecific = {
123
+ title: string;
124
+ subTitle: string;
125
+ };
126
+ export type InternationalizationChoiceMail = {
127
+ common: InternationalizationChoiceMailCommon;
128
+ invoice: InternationalizationChoiceMailSpecific;
129
+ estimate: InternationalizationChoiceMailSpecific;
130
+ orderForm: InternationalizationChoiceMailSpecific;
131
+ deposit: InternationalizationChoiceMailSpecific;
132
+ asset: InternationalizationChoiceMailSpecific;
133
+ remainder: InternationalizationChoiceMailSpecific;
134
+ default: InternationalizationChoiceMailSpecific;
135
+ };
136
+ export type InternationalizationChoices = {
137
+ inputLists: InternationalizationChoiceInputList;
138
+ template: InternationalizationChoiceTemplate;
139
+ mail: InternationalizationChoiceMail;
140
+ };
141
+ export type InternationalizationChoicesType = {
142
+ [key: string]: InternationalizationChoices;
143
+ };
144
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot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CACjD,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,UAAU,EAAE,mCAAmC,CAAC;IAChD,QAAQ,EAAE,kCAAkC,CAAC;IAC7C,IAAI,EAAE,8BAA8B,CAAC;CAEtC,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,CAAC,GAAG,EAAE,MAAM,GAAG,2BAA2B,CAAA;CAC3C,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../ts/utils/commercialManagement/internationalization/type.ts"],"names":[],"mappings":"","sourcesContent":["import { AccountingCategoryId } from '../../../types/Enum/CommercialManagement';\n\nexport type InternationalizationChoicesHeaders = {\n termsOfPayment: string[];\n accountingCategories: Array<{ label: string; id: AccountingCategoryId }>;\n};\n\nexport type InternationalizationChoicesOptions = {\n penalties: string[];\n vatMention: string[];\n discount: string[];\n recoveryCost: string[];\n paymentType: string[];\n};\n\nexport type InternationalizationChoiceInputList = {\n headers: InternationalizationChoicesHeaders;\n options: InternationalizationChoicesOptions;\n};\n\nexport type InternationalizationChoicesTemplateCommonHeader = {\n emissionDate: string;\n accountingCategory: {\n title: string;\n choices: Array<{ label: string; id: AccountingCategoryId }>;\n },\n};\n\nexport type InternationalizationChoiceTemplateSpecificHeader = {\n title: string;\n dueDate: string;\n termsOfPayment: string;\n};\n\nexport type InternationlizationChoiceTemplateSpecificDepositHeader = {\n title: string;\n expirationDate: string\n termsOfPayment: string;\n};\n\nexport type InternationalizationChoiceTemplateFooter = {\n penalties: string;\n discount: string;\n recoveryCosts: string;\n capital: string;\n siren: string;\n vatCode: string;\n marginVat: string;\n legalVatMention: string;\n shouldPayTaxAfterDebit: string;\n generate: string;\n};\n\n\nexport type InternationalizationChoiceTemplateOptions = {\n vatMention: string;\n paymentType: string;\n bank: string;\n approval: string;\n comment: string;\n \n};\n\nexport type InternationalizationChoiceTemplateTable = {\n headers: {\n product:string;\n quantity: string;\n unitPrice: string;\n unitPriceWithoutVat: string;\n discount: string;\n vat: string;\n amount: string;\n amountWithoutVat: string;\n base: string;\n rate: string;\n vatAmount: string;\n recap: string;\n },\n lines: {\n totalHt: string;\n vat: string;\n totalTTC: string;\n totalWhitoutVat: string;\n netToPay: string;\n remainderToPay: string;\n deposit: string\n },\n};\n\nexport type InternationalizationChoiceTemplateCommon = {\n headers: InternationalizationChoicesTemplateCommonHeader;\n footer: InternationalizationChoiceTemplateFooter;\n options: InternationalizationChoiceTemplateOptions;\n table: InternationalizationChoiceTemplateTable;\n};\n\nexport type InternationalizationChoiceTemplate = {\n common: InternationalizationChoiceTemplateCommon,\n invoice: {\n headers: InternationalizationChoiceTemplateSpecificHeader,\n },\n estimate: {\n headers: InternationalizationChoiceTemplateSpecificHeader,\n },\n orderForm: {\n headers: InternationalizationChoiceTemplateSpecificHeader,\n },\n deposit: {\n headers: InternationlizationChoiceTemplateSpecificDepositHeader,\n },\n asset: {\n headers: InternationalizationChoiceTemplateSpecificHeader,\n },\n remainder: {\n headers: InternationalizationChoiceTemplateSpecificHeader,\n },\n draft: {\n headers: InternationalizationChoiceTemplateSpecificHeader,\n },\n};\n\nexport type InternationalizationChoiceMailCommon = {\n dueDate: string;\n generate: string;\n displayDocument: string;\n totalHt: string\n totalVat: string;\n totalTtc: string;\n};\n\nexport type InternationalizationChoiceMailSpecific = {\n title: string;\n subTitle: string;\n};\n\nexport type InternationalizationChoiceMail = {\n common: InternationalizationChoiceMailCommon;\n invoice: InternationalizationChoiceMailSpecific;\n estimate: InternationalizationChoiceMailSpecific;\n orderForm: InternationalizationChoiceMailSpecific;\n deposit: InternationalizationChoiceMailSpecific;\n asset: InternationalizationChoiceMailSpecific;\n remainder: InternationalizationChoiceMailSpecific;\n default: InternationalizationChoiceMailSpecific;\n};\n\nexport type InternationalizationChoices = {\n inputLists: InternationalizationChoiceInputList;\n template: InternationalizationChoiceTemplate;\n mail: InternationalizationChoiceMail;\n\n};\n\nexport type InternationalizationChoicesType = {\n [key: string]: InternationalizationChoices\n};"]}