@silexpert/core 1.1.59 → 1.1.63
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/es/api/resources/GeneralLedger.d.ts +3 -1
- package/es/api/resources/GeneralLedger.d.ts.map +1 -1
- package/es/api/resources/GeneralLedger.js +6 -0
- package/es/api/resources/GeneralLedger.js.map +1 -1
- package/es/types/Enum/BrandClems.d.ts +2 -93
- package/es/types/Enum/BrandClems.d.ts.map +1 -1
- package/es/types/Enum/BrandClems.js +0 -80
- package/es/types/Enum/BrandClems.js.map +1 -1
- package/es/types/Enum/BrandStatutsExpress.d.ts +95 -0
- package/es/types/Enum/BrandStatutsExpress.d.ts.map +1 -0
- package/es/types/Enum/BrandStatutsExpress.js +97 -0
- package/es/types/Enum/BrandStatutsExpress.js.map +1 -0
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts +13 -0
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.d.ts.map +1 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +28 -1
- package/es/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/es/types/Interface/api/registration/ReadRegistration.d.ts +1 -0
- package/es/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
- package/es/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/es/types/index.d.ts +1 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +1 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/brands.d.ts +1 -1
- package/es/utils/brands.d.ts.map +1 -1
- package/es/utils/brands.js +5 -1
- package/es/utils/brands.js.map +1 -1
- package/es/utils/vat/3310/century23.d.ts.map +1 -1
- package/es/utils/vat/3310/century23.js +29 -32
- package/es/utils/vat/3310/century23.js.map +1 -1
- package/es/utils/vat/3514/century23.d.ts.map +1 -1
- package/es/utils/vat/3514/century23.js +28 -31
- package/es/utils/vat/3514/century23.js.map +1 -1
- package/es/utils/vat/3517/century23.d.ts.map +1 -1
- package/es/utils/vat/3517/century23.js +99 -107
- package/es/utils/vat/3517/century23.js.map +1 -1
- package/es/utils/vat/3519/century23.d.ts.map +1 -1
- package/es/utils/vat/3519/century23.js +69 -70
- package/es/utils/vat/3519/century23.js.map +1 -1
- package/es/utils/vat/registration.d.ts.map +1 -1
- package/es/utils/vat/registration.js +3 -1
- package/es/utils/vat/registration.js.map +1 -1
- package/js/api/resources/GeneralLedger.js +10 -0
- package/js/api/resources/GeneralLedger.js.map +1 -1
- package/js/types/Enum/BrandClems.js +0 -79
- package/js/types/Enum/BrandClems.js.map +1 -1
- package/js/types/Enum/BrandStatutsExpress.js +100 -0
- package/js/types/Enum/BrandStatutsExpress.js.map +1 -0
- package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js +18 -0
- package/js/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.js.map +1 -1
- package/js/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/js/types/index.js +10 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/brands.js +6 -1
- package/js/utils/brands.js.map +1 -1
- package/js/utils/vat/3310/century23.js +24 -29
- package/js/utils/vat/3310/century23.js.map +1 -1
- package/js/utils/vat/3514/century23.js +22 -27
- package/js/utils/vat/3514/century23.js.map +1 -1
- package/js/utils/vat/3517/century23.js +85 -95
- package/js/utils/vat/3517/century23.js.map +1 -1
- package/js/utils/vat/3519/century23.js +60 -65
- package/js/utils/vat/3519/century23.js.map +1 -1
- package/js/utils/vat/registration.js +3 -1
- package/js/utils/vat/registration.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/GeneralLedger.ts +9 -1
- package/ts/types/Enum/BrandClems.ts +0 -80
- package/ts/types/Enum/BrandStatutsExpress.ts +96 -0
- package/ts/types/Interface/api/generalLedger/IGeneralLedgerThirdParty.ts +25 -0
- package/ts/types/Interface/api/registration/ReadRegistration.ts +1 -0
- package/ts/types/index.ts +1 -0
- package/ts/utils/brands.ts +6 -2
- package/ts/utils/vat/3310/century23.ts +29 -32
- package/ts/utils/vat/3514/century23.ts +28 -31
- package/ts/utils/vat/3517/century23.ts +98 -109
- package/ts/utils/vat/3519/century23.ts +68 -69
- package/ts/utils/vat/registration.ts +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"century23.d.ts","sourceRoot":"","sources":["../../../../ts/utils/vat/3519/century23.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAGhF,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,
|
|
1
|
+
{"version":3,"file":"century23.d.ts","sourceRoot":"","sources":["../../../../ts/utils/vat/3519/century23.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAGhF,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,cAAc,GAAG,gBAAgB,CA4I9F"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as dayjs from 'dayjs';
|
|
2
2
|
import { textFormatting } from '../utils';
|
|
3
3
|
export function getCerfa3519Century23RegistrationFields(data) {
|
|
4
|
-
var _a, _b, _c, _d;
|
|
4
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
5
5
|
const comment = textFormatting(data.comment);
|
|
6
6
|
return [{
|
|
7
7
|
name: '3519',
|
|
@@ -22,31 +22,30 @@ export function getCerfa3519Century23RegistrationFields(data) {
|
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
key: 'DG',
|
|
25
|
-
|
|
26
|
-
isMultiple: false,
|
|
27
|
-
description: 'Soussigné',
|
|
28
|
-
value: textFormatting(data.refund.name, 35),
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
key: 'DG',
|
|
32
|
-
tag: 'DesignationSuite1',
|
|
33
|
-
isMultiple: false,
|
|
34
|
-
description: 'Titre',
|
|
35
|
-
value: textFormatting(data.refund.quality, 35),
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
key: 'DG',
|
|
39
|
-
tag: 'DesignationSuite2',
|
|
40
|
-
isMultiple: false,
|
|
41
|
-
description: 'Qualité',
|
|
42
|
-
value: textFormatting(data.refund.quality, 35),
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
key: 'DG',
|
|
46
|
-
tag: 'AdresseVille',
|
|
25
|
+
value: null,
|
|
47
26
|
isMultiple: false,
|
|
48
|
-
|
|
49
|
-
|
|
27
|
+
tags: [
|
|
28
|
+
{
|
|
29
|
+
tag: 'Designation',
|
|
30
|
+
description: 'Soussigné',
|
|
31
|
+
value: textFormatting(data.refund.name, 35),
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
tag: 'DesignationSuite1',
|
|
35
|
+
description: 'Titre',
|
|
36
|
+
value: textFormatting(data.refund.quality, 35),
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
tag: 'DesignationSuite2',
|
|
40
|
+
description: 'Qualité',
|
|
41
|
+
value: textFormatting(data.refund.quality, 35),
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
tag: 'AdresseVille',
|
|
45
|
+
description: 'Lieu',
|
|
46
|
+
value: textFormatting(data.refund.place, 35),
|
|
47
|
+
},
|
|
48
|
+
],
|
|
50
49
|
},
|
|
51
50
|
{
|
|
52
51
|
key: 'FK',
|
|
@@ -57,87 +56,87 @@ export function getCerfa3519Century23RegistrationFields(data) {
|
|
|
57
56
|
},
|
|
58
57
|
{
|
|
59
58
|
key: 'AA',
|
|
60
|
-
tag: 'Iban',
|
|
61
|
-
isMultiple: false,
|
|
62
|
-
description: 'IBAN',
|
|
63
|
-
value: data.bankAccount.iban ? (_a = textFormatting(data.bankAccount.iban.toUpperCase())) === null || _a === void 0 ? void 0 : _a.replace(/\s/g, '') : null,
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
key: 'AA',
|
|
67
|
-
tag: 'Bic',
|
|
68
59
|
isMultiple: false,
|
|
69
|
-
description: 'BIC',
|
|
70
|
-
value: data.bankAccount.bic ? textFormatting(data.bankAccount.bic.toUpperCase()) : null,
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
key: 'AA',
|
|
74
|
-
tag: 'TitulaireDesignation',
|
|
75
|
-
isMultiple: false,
|
|
76
|
-
description: 'Désignation du titulaire',
|
|
77
60
|
value: null,
|
|
61
|
+
tags: [
|
|
62
|
+
{
|
|
63
|
+
tag: 'Iban',
|
|
64
|
+
description: 'IBAN',
|
|
65
|
+
value: 'DYNAMIC_IBAN',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
tag: 'Bic',
|
|
69
|
+
description: 'BIC',
|
|
70
|
+
value: 'DYNAMIC_BIC',
|
|
71
|
+
},
|
|
72
|
+
// {
|
|
73
|
+
// tag: 'TitulaireDesignation',
|
|
74
|
+
// description: 'Désignation du titulaire',
|
|
75
|
+
// value: null,
|
|
76
|
+
// },
|
|
77
|
+
],
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
key: 'DI',
|
|
81
81
|
tag: 'Valeur',
|
|
82
82
|
isMultiple: false,
|
|
83
83
|
description: 'Première demande',
|
|
84
|
-
value: data.refund.firstTime.is ? 'X' : null,
|
|
84
|
+
value: ((_a = data.refund.firstTime) === null || _a === void 0 ? void 0 : _a.is) ? 'X' : null,
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
key: 'DL',
|
|
88
88
|
tag: 'Valeur',
|
|
89
89
|
isMultiple: false,
|
|
90
90
|
description: 'Création le',
|
|
91
|
-
value: data.refund.firstTime.is && data.refund.firstTime.date ? dayjs(data.refund.firstTime.date).format('YYYYMMDD') : null,
|
|
91
|
+
value: ((_b = data.refund.firstTime) === null || _b === void 0 ? void 0 : _b.is) && ((_c = data.refund.firstTime) === null || _c === void 0 ? void 0 : _c.date) ? dayjs(data.refund.firstTime.date).format('YYYYMMDD') : null,
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
key: 'DJ',
|
|
95
95
|
tag: 'Valeur',
|
|
96
96
|
isMultiple: false,
|
|
97
97
|
description: 'Cession, cessation, décès, entrée dans un groupe TVA',
|
|
98
|
-
value: data.refund.closing.is ? 'X' : null,
|
|
98
|
+
value: ((_d = data.refund.closing) === null || _d === void 0 ? void 0 : _d.is) ? 'X' : null,
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
key: 'DM',
|
|
102
102
|
tag: 'Valeur',
|
|
103
103
|
isMultiple: false,
|
|
104
104
|
description: 'Le :',
|
|
105
|
-
value: data.refund.closing.is && data.refund.closing.date ? dayjs(data.refund.closing.date).format('YYYYMMDD') : null,
|
|
105
|
+
value: ((_e = data.refund.closing) === null || _e === void 0 ? void 0 : _e.is) && ((_f = data.refund.closing) === null || _f === void 0 ? void 0 : _f.date) ? dayjs(data.refund.closing.date).format('YYYYMMDD') : null,
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
key: 'DK',
|
|
109
109
|
tag: 'Valeur',
|
|
110
110
|
isMultiple: false,
|
|
111
111
|
description: 'Autres',
|
|
112
|
-
value: data.refund.other ? 'X' : null,
|
|
112
|
+
value: ((_g = data.refund.other) === null || _g === void 0 ? void 0 : _g.is) ? 'X' : null,
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
key: 'FJ',
|
|
116
|
-
|
|
117
|
-
isMultiple: false,
|
|
118
|
-
description: 'Commentaires',
|
|
119
|
-
value: textFormatting(comment, 512),
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
key: 'FJ',
|
|
123
|
-
tag: 'TexteLibre2',
|
|
124
|
-
isMultiple: false,
|
|
125
|
-
description: 'Commentaires',
|
|
126
|
-
value: comment && ((_b = comment === null || comment === void 0 ? void 0 : comment.length) !== null && _b !== void 0 ? _b : 0) > 512 ? textFormatting(comment.slice(512, 1024)) : null,
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
key: 'FJ',
|
|
130
|
-
tag: 'TexteLibre3',
|
|
131
|
-
isMultiple: false,
|
|
132
|
-
description: 'Commentaires',
|
|
133
|
-
value: comment && ((_c = comment === null || comment === void 0 ? void 0 : comment.length) !== null && _c !== void 0 ? _c : 0) > 1024 ? textFormatting(comment.slice(1024, 1536)) : null,
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
key: 'FJ',
|
|
137
|
-
tag: 'TexteLibre4',
|
|
116
|
+
value: null,
|
|
138
117
|
isMultiple: false,
|
|
139
|
-
|
|
140
|
-
|
|
118
|
+
tags: [
|
|
119
|
+
{
|
|
120
|
+
tag: 'TexteLibre1',
|
|
121
|
+
description: 'Commentaires',
|
|
122
|
+
value: textFormatting(comment, 512),
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
tag: 'TexteLibre2',
|
|
126
|
+
description: 'Commentaires',
|
|
127
|
+
value: comment && ((_h = comment === null || comment === void 0 ? void 0 : comment.length) !== null && _h !== void 0 ? _h : 0) > 512 ? textFormatting(comment.slice(512, 1024)) : null,
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
tag: 'TexteLibre3',
|
|
131
|
+
description: 'Commentaires',
|
|
132
|
+
value: comment && ((_j = comment === null || comment === void 0 ? void 0 : comment.length) !== null && _j !== void 0 ? _j : 0) > 1024 ? textFormatting(comment.slice(1024, 1536)) : null,
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
tag: 'TexteLibre4',
|
|
136
|
+
description: 'Commentaires',
|
|
137
|
+
value: comment && ((_k = comment === null || comment === void 0 ? void 0 : comment.length) !== null && _k !== void 0 ? _k : 0) > 1536 ? textFormatting(comment.slice(1536, 2048)) : null,
|
|
138
|
+
},
|
|
139
|
+
],
|
|
141
140
|
},
|
|
142
141
|
],
|
|
143
142
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"century23.js","sourceRoot":"","sources":["../../../../ts/utils/vat/3519/century23.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,UAAU,uCAAuC,CAAC,IAAoB;;IAC1E,MAAM,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAE7C,OAAO,CAAC;YACN,IAAI,EAAE,MAAM;YACZ,MAAM,EAAE;gBACN;oBACE,GAAG,EAAE,IAAI;oBACT,GAAG,EAAE,QAAQ;oBACb,UAAU,EAAE,KAAK;oBACjB,WAAW,EAAE,sBAAsB;oBACnC,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI;iBAC1D;gBACD;oBACE,GAAG,EAAE,IAAI;oBACT,GAAG,EAAE,QAAQ;oBACb,UAAU,EAAE,KAAK;oBACjB,WAAW,EAAE,uBAAuB;oBACpC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM;iBAC1B;gBACD;oBACE,GAAG,EAAE,IAAI;oBACT,
|
|
1
|
+
{"version":3,"file":"century23.js","sourceRoot":"","sources":["../../../../ts/utils/vat/3519/century23.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,UAAU,uCAAuC,CAAC,IAAoB;;IAC1E,MAAM,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAE7C,OAAO,CAAC;YACN,IAAI,EAAE,MAAM;YACZ,MAAM,EAAE;gBACN;oBACE,GAAG,EAAE,IAAI;oBACT,GAAG,EAAE,QAAQ;oBACb,UAAU,EAAE,KAAK;oBACjB,WAAW,EAAE,sBAAsB;oBACnC,K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AC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI;yBACnG;wBACD;4BACE,GAAG,EAAE,aAAa;4BAClB,WAAW,EAAE,cAAc;4BAC3B,KAAK,EAAE,OAAO,IAAI,CAAC,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI;yBACnG;qBACF;iBACF;aACF;SACF,CAAC,CAAC;AACL,CAAC","sourcesContent":["import * as dayjs from 'dayjs';\nimport { Cerfa3519_2017 } from '../../../types/Interface/api/cerfa/3519';\nimport { AsponeFormFields } from '../../../types/Interface/api/cerfa/ReadCerfa';\nimport { textFormatting } from '../utils';\n\nexport function getCerfa3519Century23RegistrationFields(data: Cerfa3519_2017): AsponeFormFields {\n const comment = textFormatting(data.comment);\n\n return [{\n name: '3519',\n fields: [\n {\n key: 'DD',\n tag: 'Valeur',\n isMultiple: false,\n description: 'Entreprise française',\n value: data.declaration.nationality.isFrench ? 'X' : null,\n },\n {\n key: 'DN',\n tag: 'Valeur',\n isMultiple: false,\n description: 'Remboursement demandé',\n value: data.refund.amount,\n },\n {\n key: 'DG',\n value: null,\n isMultiple: false,\n tags: [\n {\n tag: 'Designation',\n description: 'Soussigné',\n value: textFormatting(data.refund.name, 35),\n },\n {\n tag: 'DesignationSuite1',\n description: 'Titre',\n value: textFormatting(data.refund.quality, 35),\n },\n {\n tag: 'DesignationSuite2',\n description: 'Qualité',\n value: textFormatting(data.refund.quality, 35),\n },\n {\n tag: 'AdresseVille',\n description: 'Lieu',\n value: textFormatting(data.refund.place, 35),\n },\n ],\n },\n {\n key: 'FK',\n tag: 'Valeur',\n isMultiple: false,\n description: 'A créditer au compte désigné',\n value: data.declaration.shouldCredit ? 'X' : null,\n },\n {\n key: 'AA',\n isMultiple: false,\n value: null,\n tags: [\n {\n tag: 'Iban',\n description: 'IBAN',\n value: 'DYNAMIC_IBAN',\n },\n {\n tag: 'Bic',\n description: 'BIC',\n value: 'DYNAMIC_BIC',\n },\n // {\n // tag: 'TitulaireDesignation',\n // description: 'Désignation du titulaire',\n // value: null,\n // },\n ],\n },\n {\n key: 'DI',\n tag: 'Valeur',\n isMultiple: false,\n description: 'Première demande',\n value: data.refund.firstTime?.is ? 'X' : null,\n },\n {\n key: 'DL',\n tag: 'Valeur',\n isMultiple: false,\n description: 'Création le',\n value: data.refund.firstTime?.is && data.refund.firstTime?.date ? dayjs(data.refund.firstTime.date).format('YYYYMMDD') : null,\n },\n {\n key: 'DJ',\n tag: 'Valeur',\n isMultiple: false,\n description: 'Cession, cessation, décès, entrée dans un groupe TVA',\n value: data.refund.closing?.is ? 'X' : null,\n },\n {\n key: 'DM',\n tag: 'Valeur',\n isMultiple: false,\n description: 'Le :',\n value: data.refund.closing?.is && data.refund.closing?.date ? dayjs(data.refund.closing.date).format('YYYYMMDD') : null,\n },\n {\n key: 'DK',\n tag: 'Valeur',\n isMultiple: false,\n description: 'Autres',\n value: data.refund.other?.is ? 'X' : null,\n },\n {\n key: 'FJ',\n value: null,\n isMultiple: false,\n tags: [\n {\n tag: 'TexteLibre1',\n description: 'Commentaires',\n value: textFormatting(comment, 512),\n },\n {\n tag: 'TexteLibre2',\n description: 'Commentaires',\n value: comment && (comment?.length ?? 0) > 512 ? textFormatting(comment.slice(512, 1024)) : null,\n },\n {\n tag: 'TexteLibre3',\n description: 'Commentaires',\n value: comment && (comment?.length ?? 0) > 1024 ? textFormatting(comment.slice(1024, 1536)) : null,\n },\n {\n tag: 'TexteLibre4',\n description: 'Commentaires',\n value: comment && (comment?.length ?? 0) > 1536 ? textFormatting(comment.slice(1536, 2048)) : null,\n },\n ],\n },\n ],\n }];\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registration.d.ts","sourceRoot":"","sources":["../../../ts/utils/vat/registration.ts"],"names":[],"mappings":"AAGA,OAAO,EAIL,eAAe,EACf,aAAa,EAGb,gBAAgB,EAAE,oBAAoB,EACvC,MAAM,aAAa,CAAC;AAWrB,wBAAgB,QAAQ,CAAC,YAAY,EAAE,gBAAgB,GAAG,oBAAoB,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"registration.d.ts","sourceRoot":"","sources":["../../../ts/utils/vat/registration.ts"],"names":[],"mappings":"AAGA,OAAO,EAIL,eAAe,EACf,aAAa,EAGb,gBAAgB,EAAE,oBAAoB,EACvC,MAAM,aAAa,CAAC;AAWrB,wBAAgB,QAAQ,CAAC,YAAY,EAAE,gBAAgB,GAAG,oBAAoB,EAAE,EAAE,CAsEjF;AAED,wBAAgB,gCAAgC,CAAC,YAAY,EAAE,aAAa,GAAG;IAAE,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;IAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;CAAE,CA6B/K"}
|
|
@@ -14,9 +14,11 @@ export function getTicks(registration) {
|
|
|
14
14
|
const declarations = (_b = (_a = registration.response) === null || _a === void 0 ? void 0 : _a.declarations) !== null && _b !== void 0 ? _b : [];
|
|
15
15
|
if (registration.state === RegistrationState.IN_PROGRESS) {
|
|
16
16
|
const data = [];
|
|
17
|
-
declarations.forEach(() => {
|
|
17
|
+
declarations.forEach((declaration) => {
|
|
18
|
+
var _a, _b;
|
|
18
19
|
const result = [
|
|
19
20
|
{
|
|
21
|
+
type: isDefined(declaration === null || declaration === void 0 ? void 0 : declaration.type) && isDefined((_a = declaration === null || declaration === void 0 ? void 0 : declaration.declarationType) === null || _a === void 0 ? void 0 : _a.label) ? `${declaration === null || declaration === void 0 ? void 0 : declaration.type} - ${(_b = declaration === null || declaration === void 0 ? void 0 : declaration.declarationType) === null || _b === void 0 ? void 0 : _b.label}` : null,
|
|
20
22
|
state: RegistrationTickState.FINISHED,
|
|
21
23
|
title: 'Déclaration envoyée',
|
|
22
24
|
details: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registration.js","sourceRoot":"","sources":["../../../ts/utils/vat/registration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAGL,SAAS,EACT,eAAe,EAIyB,iBAAiB,EAAE,qBAAqB,GACjF,MAAM,aAAa,CAAC;AAGrB,MAAM,YAAY,GAAyB;IACzC,KAAK,EAAE,qBAAqB,CAAC,WAAW;IACxC,KAAK,EAAE,wBAAwB;IAC/B,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,IAAI;IACV,SAAS,EAAE,KAAK;CACjB,CAAC;AAEF,MAAM,UAAU,QAAQ,CAAC,YAA8B;;IACrD,MAAM,YAAY,GAA2B,MAAA,MAAA,YAAY,CAAC,QAAQ,0CAAE,YAAY,mCAAI,EAAE,CAAC;IAEvF,IAAI,YAAY,CAAC,KAAK,KAAK,iBAAiB,CAAC,WAAW,EAAE;QACxD,MAAM,IAAI,GAA6B,EAAE,CAAC;QAE1C,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE;YACxB,MAAM,MAAM,GAAG;gBACb;oBACE,KAAK,EAAE,qBAAqB,CAAC,QAAQ;oBACrC,KAAK,EAAE,qBAAqB;oBAC5B,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI;oBAC3E,SAAS,EAAE,KAAK;iBACjB;gBACD,YAAY;gBACZ,YAAY;gBACZ,YAAY;aACb,CAAC;YAEF,I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,EAAE,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,MAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,0CAAE,cAAc,mCAAI,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,0CAAE,aAAa,IAAK,KAAK,EAAG;QAChP,uBAAS,IAAI,EAAE,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC,IAAK,KAAK,EAAG;KAClE;IAED,OAAO;QACL,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC;KACxD,CAAC;AACJ,CAAC","sourcesContent":["import * as dayjs from 'dayjs';\nimport { isDefined } from 'class-validator';\nimport { reverse } from 'lodash';\nimport {\n Cerfa3310_2023,\n Cerfa3514_2022,\n CerfaType,\n CustomerVatType,\n IRegistration,\n InterchangeHistory,\n ReadDeclaration,\n ReadRegistration, ReadRegistrationTick, RegistrationState, RegistrationTickState,\n} from '../../types';\nimport { Cerfa3517_2023 } from '../../types/Interface/api/cerfa/3517';\n\nconst waitingState: ReadRegistrationTick = {\n state: RegistrationTickState.IN_PROGRESS,\n title: 'En cours de traitement',\n details: [],\n date: null,\n isPayment: false,\n};\n\nexport function getTicks(registration: ReadRegistration): ReadRegistrationTick[][] {\n const declarations: Array<ReadDeclaration> = registration.response?.declarations ?? [];\n\n if (registration.state === RegistrationState.IN_PROGRESS) {\n const data: ReadRegistrationTick[][] = [];\n\n declarations.forEach(() => {\n const result = [\n {\n state: RegistrationTickState.FINISHED,\n title: 'Déclaration envoyée',\n details: [],\n date: registration.sendAt ? dayjs(registration.sendAt).toISOString() : null,\n isPayment: false,\n },\n waitingState,\n waitingState,\n waitingState,\n ];\n\n if (registration.amountToPay && registration.amountToPay > 0) {\n result.push({\n ...waitingState,\n isPayment: true,\n });\n }\n\n data.push(result);\n });\n\n return data;\n } if ([RegistrationState.ACCEPTED, RegistrationState.REFUSED].includes(registration.state)) {\n const data: ReadRegistrationTick[][] = [];\n declarations.forEach((declaration) => {\n const response: ReadRegistrationTick[] = [\n {\n state: RegistrationTickState.FINISHED,\n title: 'Déclaration envoyée',\n date: registration.sendAt ? dayjs(registration.sendAt).toISOString() : null,\n details: [],\n },\n ...reverse(declaration.states).map((d: InterchangeHistory) => ({\n state: d.isError ? RegistrationTickState.FAILED : RegistrationTickState.FINISHED,\n title: d.label ?? null,\n details: d?.stateDetailsHistory,\n date: d.date ?? null,\n })),\n ];\n\n for (let index = declaration.states.length; index < 3; index += 1) {\n response.push({ ...waitingState, title: null });\n }\n\n if (isDefined(declaration.payment)) {\n response.push({\n state: declaration.payment.isError ? RegistrationTickState.FAILED : declaration.payment.isError === null ? RegistrationTickState.IN_PROGRESS : RegistrationTickState.FINISHED,\n title: declaration.payment?.label ?? '',\n details: [],\n isPayment: true,\n date: declaration.payment.date ?? null,\n });\n }\n data.push(response);\n });\n\n return data;\n }\n\n return [];\n}\n\nexport function getTypeAndAmountFromRegistration(registration: IRegistration): { type: CustomerVatType | null; amount: number | null; collectable: number; deductible: number; } {\n if (registration.idCerfaType === CerfaType.CERFA_3310) {\n const payload = registration.payload.cerfa3310 as Cerfa3310_2023;\n const other = { collectable: payload.vat.grossDue, deductible: payload.vat.deductible.total };\n if (payload?.isNil) return { type: CustomerVatType.VAT_TO_NIL, amount: 0, ...other };\n if (payload?.toPay?.total > 0) return { type: CustomerVatType.VAT_TO_PAY, amount: payload.toPay.total, ...other };\n if (payload?.credit?.refundAsked > 0) return { type: CustomerVatType.VAT_REFUND, amount: payload.credit.refundAsked, ...other };\n if (payload?.credit?.toReport > 0) return { type: CustomerVatType.VAT_REPORT, amount: payload.credit.toReport, ...other };\n return { type: CustomerVatType.VAT_TO_PAY, amount: 0, ...other };\n } if (registration.idCerfaType === CerfaType.CERFA_3514) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const payload = registration.payload.cerfa3514 as Cerfa3514_2022;\n const other = { collectable: payload.vatAmountCollected, deductible: payload.vatAmountDeductible };\n if (payload?.vatAmountToPay > 0) return { type: CustomerVatType.VAT_TO_PAY, amount: payload.vatAmountToPay, ...other };\n if (payload?.vatRefundedOnInvests) return { type: CustomerVatType.VAT_REFUND, amount: payload.vatRefundedOnInvests, ...other };\n return { type: CustomerVatType.VAT_TO_PAY, amount: 0, ...other };\n } if (registration.idCerfaType === CerfaType.CERFA_3517) {\n const payload = registration.payload.cerfa3517 as Cerfa3517_2023;\n const other = { collectable: payload.other.total, deductible: payload.deductible.total };\n if (payload?.isNil) return { type: CustomerVatType.VAT_TO_NIL, amount: 0, ...other };\n if (payload?.recapitulation?.toPay > 0) return { type: CustomerVatType.VAT_TO_PAY, amount: payload?.recapitulation?.toPay, ...other };\n if (payload?.recapitulation?.refund > 0) return { type: CustomerVatType.VAT_REFUND, amount: payload?.recapitulation?.refund, ...other };\n if (payload?.recapitulation?.creditToReport > 0 || payload?.recapitulation?.imputedCredit > 0) return { type: CustomerVatType.VAT_REPORT, amount: payload?.recapitulation?.creditToReport ?? payload?.recapitulation?.imputedCredit, ...other };\n return { type: CustomerVatType.VAT_TO_PAY, amount: 0, ...other };\n }\n\n return {\n type: null, amount: null, collectable: 0, deductible: 0,\n };\n}"]}
|
|
1
|
+
{"version":3,"file":"registration.js","sourceRoot":"","sources":["../../../ts/utils/vat/registration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAGL,SAAS,EACT,eAAe,EAIyB,iBAAiB,EAAE,qBAAqB,GACjF,MAAM,aAAa,CAAC;AAGrB,MAAM,YAAY,GAAyB;IACzC,KAAK,EAAE,qBAAqB,CAAC,WAAW;IACxC,KAAK,EAAE,wBAAwB;IAC/B,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,IAAI;IACV,SA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UAAU,EAAE,MAAM,EAAE,CAAC,IAAK,KAAK,EAAG;KAClE;IAED,OAAO;QACL,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC;KACxD,CAAC;AACJ,CAAC","sourcesContent":["import * as dayjs from 'dayjs';\nimport { isDefined } from 'class-validator';\nimport { reverse } from 'lodash';\nimport {\n Cerfa3310_2023,\n Cerfa3514_2022,\n CerfaType,\n CustomerVatType,\n IRegistration,\n InterchangeHistory,\n ReadDeclaration,\n ReadRegistration, ReadRegistrationTick, RegistrationState, RegistrationTickState,\n} from '../../types';\nimport { Cerfa3517_2023 } from '../../types/Interface/api/cerfa/3517';\n\nconst waitingState: ReadRegistrationTick = {\n state: RegistrationTickState.IN_PROGRESS,\n title: 'En cours de traitement',\n details: [],\n date: null,\n isPayment: false,\n};\n\nexport function getTicks(registration: ReadRegistration): ReadRegistrationTick[][] {\n const declarations: Array<ReadDeclaration> = registration.response?.declarations ?? [];\n\n if (registration.state === RegistrationState.IN_PROGRESS) {\n const data: ReadRegistrationTick[][] = [];\n\n declarations.forEach((declaration) => {\n const result = [\n {\n type: isDefined(declaration?.type) && isDefined(declaration?.declarationType?.label) ? `${declaration?.type} - ${declaration?.declarationType?.label}` : null,\n state: RegistrationTickState.FINISHED,\n title: 'Déclaration envoyée',\n details: [],\n date: registration.sendAt ? dayjs(registration.sendAt).toISOString() : null,\n isPayment: false,\n },\n waitingState,\n waitingState,\n waitingState,\n ];\n\n if (registration.amountToPay && registration.amountToPay > 0) {\n result.push({\n ...waitingState,\n isPayment: true,\n });\n }\n\n data.push(result);\n });\n\n return data;\n } if ([RegistrationState.ACCEPTED, RegistrationState.REFUSED].includes(registration.state)) {\n const data: ReadRegistrationTick[][] = [];\n declarations.forEach((declaration) => {\n const response: ReadRegistrationTick[] = [\n {\n state: RegistrationTickState.FINISHED,\n title: 'Déclaration envoyée',\n date: registration.sendAt ? dayjs(registration.sendAt).toISOString() : null,\n details: [],\n },\n ...reverse(declaration.states).map((d: InterchangeHistory) => ({\n state: d.isError ? RegistrationTickState.FAILED : RegistrationTickState.FINISHED,\n title: d.label ?? null,\n details: d?.stateDetailsHistory,\n date: d.date ?? null,\n })),\n ];\n\n for (let index = declaration.states.length; index < 3; index += 1) {\n response.push({ ...waitingState, title: null });\n }\n\n if (isDefined(declaration.payment)) {\n response.push({\n state: declaration.payment.isError ? RegistrationTickState.FAILED : declaration.payment.isError === null ? RegistrationTickState.IN_PROGRESS : RegistrationTickState.FINISHED,\n title: declaration.payment?.label ?? '',\n details: [],\n isPayment: true,\n date: declaration.payment.date ?? null,\n });\n }\n data.push(response);\n });\n\n return data;\n }\n\n return [];\n}\n\nexport function getTypeAndAmountFromRegistration(registration: IRegistration): { type: CustomerVatType | null; amount: number | null; collectable: number; deductible: number; } {\n if (registration.idCerfaType === CerfaType.CERFA_3310) {\n const payload = registration.payload.cerfa3310 as Cerfa3310_2023;\n const other = { collectable: payload.vat.grossDue, deductible: payload.vat.deductible.total };\n if (payload?.isNil) return { type: CustomerVatType.VAT_TO_NIL, amount: 0, ...other };\n if (payload?.toPay?.total > 0) return { type: CustomerVatType.VAT_TO_PAY, amount: payload.toPay.total, ...other };\n if (payload?.credit?.refundAsked > 0) return { type: CustomerVatType.VAT_REFUND, amount: payload.credit.refundAsked, ...other };\n if (payload?.credit?.toReport > 0) return { type: CustomerVatType.VAT_REPORT, amount: payload.credit.toReport, ...other };\n return { type: CustomerVatType.VAT_TO_PAY, amount: 0, ...other };\n } if (registration.idCerfaType === CerfaType.CERFA_3514) {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const payload = registration.payload.cerfa3514 as Cerfa3514_2022;\n const other = { collectable: payload.vatAmountCollected, deductible: payload.vatAmountDeductible };\n if (payload?.vatAmountToPay > 0) return { type: CustomerVatType.VAT_TO_PAY, amount: payload.vatAmountToPay, ...other };\n if (payload?.vatRefundedOnInvests) return { type: CustomerVatType.VAT_REFUND, amount: payload.vatRefundedOnInvests, ...other };\n return { type: CustomerVatType.VAT_TO_PAY, amount: 0, ...other };\n } if (registration.idCerfaType === CerfaType.CERFA_3517) {\n const payload = registration.payload.cerfa3517 as Cerfa3517_2023;\n const other = { collectable: payload.other.total, deductible: payload.deductible.total };\n if (payload?.isNil) return { type: CustomerVatType.VAT_TO_NIL, amount: 0, ...other };\n if (payload?.recapitulation?.toPay > 0) return { type: CustomerVatType.VAT_TO_PAY, amount: payload?.recapitulation?.toPay, ...other };\n if (payload?.recapitulation?.refund > 0) return { type: CustomerVatType.VAT_REFUND, amount: payload?.recapitulation?.refund, ...other };\n if (payload?.recapitulation?.creditToReport > 0 || payload?.recapitulation?.imputedCredit > 0) return { type: CustomerVatType.VAT_REPORT, amount: payload?.recapitulation?.creditToReport ?? payload?.recapitulation?.imputedCredit, ...other };\n return { type: CustomerVatType.VAT_TO_PAY, amount: 0, ...other };\n }\n\n return {\n type: null, amount: null, collectable: 0, deductible: 0,\n };\n}"]}
|
|
@@ -57,6 +57,16 @@ class GeneralLedger extends _Resource.Resource {
|
|
|
57
57
|
params
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
|
+
getAuxiliarySummaries(params) {
|
|
61
|
+
return this.axios.$get('/general-ledger/auxiliary/summaries', {
|
|
62
|
+
params
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
getThirdParty(id, params) {
|
|
66
|
+
return this.axios.$get(`/general-ledger/third-parties/${id}`, {
|
|
67
|
+
params
|
|
68
|
+
});
|
|
69
|
+
}
|
|
60
70
|
}
|
|
61
71
|
exports.GeneralLedger = GeneralLedger;
|
|
62
72
|
//# sourceMappingURL=GeneralLedger.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeneralLedger.js","names":["_Resource","require","GeneralLedger","Resource","getBySociety","params","axios","$get","getBalanceBySociety","getCsv","responseType","headers","Accept","getBalanceCsv","getPdf","idSociety","getBalancePdf","getAuxiliary","exports"],"sources":["../../../ts/api/resources/GeneralLedger.ts"],"sourcesContent":["import {\n BasePaginateInterface, IGeneralLedgerAccount, IGeneralLedgerThirdParty, QueryGeneralLedgerAuxiliary,\n} from '../../types';\nimport { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';\nimport { Resource } from '../Resource';\n\nexport class GeneralLedger extends Resource {\n getBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger', {\n params,\n });\n }\n\n getBalanceBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger/balance', {\n params,\n });\n }\n\n getCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getBalanceCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getPdf(idSociety: number, params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get(`/societies/${idSociety}/general-ledger/pdf`, {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getBalancePdf(params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getAuxiliary(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<IGeneralLedgerThirdParty[]>> {\n return this.axios.$get('/generalLedger/auxiliary', { params });\n }\n}"],"mappings":";;;;;;AAIA,IAAAA,SAAA,GAAAC,OAAA;AAEM,MAAOC,aAAc,SAAQC,kBAAQ;EACzCC,YAAYA,CAACC,MAA0B;IACrC,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,gBAAgB,EAAE;MACvCF;KACD,CAAC;EACJ;EAEAG,mBAAmBA,CAACH,MAA0B;IAC5C,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,wBAAwB,EAAE;MAC/CF;KACD,CAAC;EACJ;EAEAI,MAAMA,CAACJ,MAA0B;IAC/B,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,oBAAoB,EAAE;MAC3CF,MAAM;MACNK,YAAY,EAAE,aAAa;MAC3BC,OAAO,EAAE;QACPC,MAAM,EAAE;;KAEX,CAAC;EACJ;EAEAC,aAAaA,CAACR,MAA0B;IACtC,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,4BAA4B,EAAE;MACnDF,MAAM;MACNK,YAAY,EAAE,aAAa;MAC3BC,OAAO,EAAE;QACPC,MAAM,EAAE;;KAEX,CAAC;EACJ;EAEAE,MAAMA,CAACC,SAAiB,EAAEV,MAA0B;IAClD,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,cAAcQ,SAAS,qBAAqB,EAAE;MACnEV,MAAM;MACNK,YAAY,EAAE,aAAa;MAC3BC,OAAO,EAAE;QACPC,MAAM,EAAE;;KAEX,CAAC;EACJ;EAEAI,aAAaA,CAACX,MAA0B;IACtC,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,4BAA4B,EAAE;MACnDF,MAAM;MACNK,YAAY,EAAE,aAAa;MAC3BC,OAAO,EAAE;QACPC,MAAM,EAAE;;KAEX,CAAC;EACJ;EAEAK,YAAYA,CAACZ,MAAmC;IAC9C,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,0BAA0B,EAAE;MAAEF;IAAM,CAAE,CAAC;EAChE;;
|
|
1
|
+
{"version":3,"file":"GeneralLedger.js","names":["_Resource","require","GeneralLedger","Resource","getBySociety","params","axios","$get","getBalanceBySociety","getCsv","responseType","headers","Accept","getBalanceCsv","getPdf","idSociety","getBalancePdf","getAuxiliary","getAuxiliarySummaries","getThirdParty","id","exports"],"sources":["../../../ts/api/resources/GeneralLedger.ts"],"sourcesContent":["import {\n BasePaginateInterface, IGeneralLedgerAccount, IGeneralLedgerThirdParty, QueryGeneralLedgerAuxiliary, QueryGeneralLedgerThirdParty, ReadGeneralLedgerSummary,\n} from '../../types';\nimport { QueryGeneralLedger } from '../../types/Interface/api/generalLedger/QueryGeneralLedger';\nimport { Resource } from '../Resource';\n\nexport class GeneralLedger extends Resource {\n getBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger', {\n params,\n });\n }\n\n getBalanceBySociety(params: QueryGeneralLedger): Promise<BasePaginateInterface<IGeneralLedgerAccount[]>> {\n return this.axios.$get('/generalLedger/balance', {\n params,\n });\n }\n\n getCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getBalanceCsv(params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/csv', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/csv',\n },\n });\n }\n\n getPdf(idSociety: number, params: QueryGeneralLedger):Promise<Buffer> {\n return this.axios.$get(`/societies/${idSociety}/general-ledger/pdf`, {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getBalancePdf(params: QueryGeneralLedger): Promise<Buffer> {\n return this.axios.$get('/generalLedger/balance/pdf', {\n params,\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getAuxiliary(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<IGeneralLedgerThirdParty[]>> {\n return this.axios.$get('/generalLedger/auxiliary', { params });\n }\n\n getAuxiliarySummaries(params: QueryGeneralLedgerAuxiliary): Promise<BasePaginateInterface<ReadGeneralLedgerSummary[]>> {\n return this.axios.$get('/general-ledger/auxiliary/summaries', { params });\n }\n\n getThirdParty(id: number, params: QueryGeneralLedgerThirdParty): Promise<IGeneralLedgerThirdParty> {\n return this.axios.$get(`/general-ledger/third-parties/${id}`, { params });\n }\n}"],"mappings":";;;;;;AAIA,IAAAA,SAAA,GAAAC,OAAA;AAEM,MAAOC,aAAc,SAAQC,kBAAQ;EACzCC,YAAYA,CAACC,MAA0B;IACrC,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,gBAAgB,EAAE;MACvCF;KACD,CAAC;EACJ;EAEAG,mBAAmBA,CAACH,MAA0B;IAC5C,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,wBAAwB,EAAE;MAC/CF;KACD,CAAC;EACJ;EAEAI,MAAMA,CAACJ,MAA0B;IAC/B,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,oBAAoB,EAAE;MAC3CF,MAAM;MACNK,YAAY,EAAE,aAAa;MAC3BC,OAAO,EAAE;QACPC,MAAM,EAAE;;KAEX,CAAC;EACJ;EAEAC,aAAaA,CAACR,MAA0B;IACtC,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,4BAA4B,EAAE;MACnDF,MAAM;MACNK,YAAY,EAAE,aAAa;MAC3BC,OAAO,EAAE;QACPC,MAAM,EAAE;;KAEX,CAAC;EACJ;EAEAE,MAAMA,CAACC,SAAiB,EAAEV,MAA0B;IAClD,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,cAAcQ,SAAS,qBAAqB,EAAE;MACnEV,MAAM;MACNK,YAAY,EAAE,aAAa;MAC3BC,OAAO,EAAE;QACPC,MAAM,EAAE;;KAEX,CAAC;EACJ;EAEAI,aAAaA,CAACX,MAA0B;IACtC,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,4BAA4B,EAAE;MACnDF,MAAM;MACNK,YAAY,EAAE,aAAa;MAC3BC,OAAO,EAAE;QACPC,MAAM,EAAE;;KAEX,CAAC;EACJ;EAEAK,YAAYA,CAACZ,MAAmC;IAC9C,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,0BAA0B,EAAE;MAAEF;IAAM,CAAE,CAAC;EAChE;EAEAa,qBAAqBA,CAACb,MAAmC;IACvD,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,qCAAqC,EAAE;MAAEF;IAAM,CAAE,CAAC;EAC3E;EAEAc,aAAaA,CAACC,EAAU,EAAEf,MAAoC;IAC5D,OAAO,IAAI,CAACC,KAAK,CAACC,IAAI,CAAC,iCAAiCa,EAAE,EAAE,EAAE;MAAEf;IAAM,CAAE,CAAC;EAC3E;;AACDgB,OAAA,CAhEYnB,aAAc,GAAdA,aAAc"}
|
|
@@ -74,84 +74,5 @@ const BrandClems = exports.BrandClems = [{
|
|
|
74
74
|
name: 'Télétravail'
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
}, {
|
|
78
|
-
idTypeBrand: 2,
|
|
79
|
-
urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-clems/',
|
|
80
|
-
logoS3: 'config/clems.png',
|
|
81
|
-
name: 'Statuts-Express',
|
|
82
|
-
colors: {
|
|
83
|
-
primary: '#1e6f5c'
|
|
84
|
-
},
|
|
85
|
-
listPhones: {
|
|
86
|
-
contact: '01 86 90 82 15',
|
|
87
|
-
qualite: '01 86 90 82 15',
|
|
88
|
-
juridique: '01 86 90 82 15'
|
|
89
|
-
},
|
|
90
|
-
listMails: {
|
|
91
|
-
administratif: 'contact@statuts-express.fr',
|
|
92
|
-
app: 'contact@statuts-express.fr',
|
|
93
|
-
bonjour: 'contact@statuts-express.fr',
|
|
94
|
-
contact: 'contact@statuts-express.fr',
|
|
95
|
-
facturation: 'facturation@statuts-express.fr',
|
|
96
|
-
feedback: 'contact@statuts-express.fr',
|
|
97
|
-
juridique: 'contact@statuts-express.fr',
|
|
98
|
-
informatique: 'contact@statuts-express.fr',
|
|
99
|
-
msd: 'contact@statuts-express.fr',
|
|
100
|
-
noreply: 'contact@statuts-express.fr',
|
|
101
|
-
qualite: 'contact@statuts-express.fr',
|
|
102
|
-
paiement: 'contact@statuts-express.fr',
|
|
103
|
-
social: 'contact@statuts-express.fr',
|
|
104
|
-
support: 'contact@statuts-express.fr',
|
|
105
|
-
tva: 'contact@statuts-express.fr',
|
|
106
|
-
wb: 'contact@statuts-express.fr'
|
|
107
|
-
},
|
|
108
|
-
companyInformation: {
|
|
109
|
-
ape: '6312Z',
|
|
110
|
-
bp: '',
|
|
111
|
-
city: 'LAXOU',
|
|
112
|
-
montantCapital: '1 000',
|
|
113
|
-
nomRaisonSociale: 'TOKAMAK',
|
|
114
|
-
ECName: 'M. William BOICHÉ',
|
|
115
|
-
ECOrderCity: 'LAXOU',
|
|
116
|
-
phone: '01 86 90 82 15',
|
|
117
|
-
postalAddress: '9, avenue du Rhin',
|
|
118
|
-
rcs: '949 227 599',
|
|
119
|
-
statut: 'SASU',
|
|
120
|
-
zipCode: '54 520'
|
|
121
|
-
},
|
|
122
|
-
idPrestationsListAuthorized: [197],
|
|
123
|
-
logoUrl: 'logo-statuts-express.svg',
|
|
124
|
-
miniLogoUrl: 'logo-statuts-express-mini.svg',
|
|
125
|
-
hiddenPages: [],
|
|
126
|
-
recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
|
|
127
|
-
urlApp: 'https://app.klems.fr',
|
|
128
|
-
urlApi1: 'https://api.klems.fr',
|
|
129
|
-
urlApi2: 'https://api-next.klems.fr',
|
|
130
|
-
urlExpert: 'https://pro.klems.fr',
|
|
131
|
-
urlClient: 'https://www.statuts-express.fr',
|
|
132
|
-
bank: {
|
|
133
|
-
IBAN: '***',
|
|
134
|
-
BIC: '****',
|
|
135
|
-
Name: 'TOKAMAK',
|
|
136
|
-
Id: '****'
|
|
137
|
-
},
|
|
138
|
-
internalInvoicing: {
|
|
139
|
-
statut: 'SASU',
|
|
140
|
-
name: 'TOKAMAK',
|
|
141
|
-
address: '9, avenue du Rhin',
|
|
142
|
-
zipCode: '54520',
|
|
143
|
-
city: 'LAXOU',
|
|
144
|
-
country: 'FRANCE',
|
|
145
|
-
montantCapital: '10 000',
|
|
146
|
-
siret: '94922759900014',
|
|
147
|
-
ape: '6312Z',
|
|
148
|
-
rcs: '891 501 181',
|
|
149
|
-
phone: '03 83 93 14 14',
|
|
150
|
-
vatIntracom: 'FR71949227599',
|
|
151
|
-
email: 'facturation@statuts-express.fr'
|
|
152
|
-
},
|
|
153
|
-
webmail: {
|
|
154
|
-
domain: '@statuts-express.fr'
|
|
155
|
-
}
|
|
156
77
|
}];
|
|
157
78
|
//# sourceMappingURL=BrandClems.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrandClems.js","names":["BrandClems","exports","idTypeBrand","name","urlS3","logoS3","colors","primary","primary50","primary100","primary300","primary500","primary700","listPhones","contact","qualite","juridique","listMails","administratif","app","bonjour","facturation","feedback","informatique","msd","noreply","paiement","rh","social","support","tva","wb","companyInformation","ape","bp","city","montantCapital","nomRaisonSociale","ECOrderCity","phone","postalAddress","rcs","statut","zipCode","idPrestationsListAuthorized","logoUrl","miniLogoUrl","hiddenPages","recaptchaSecretKey","urlApp","urlExpert","urlClient","webmail","domain","offices","LAXOU","id","HOME_OFFICE"
|
|
1
|
+
{"version":3,"file":"BrandClems.js","names":["BrandClems","exports","idTypeBrand","name","urlS3","logoS3","colors","primary","primary50","primary100","primary300","primary500","primary700","listPhones","contact","qualite","juridique","listMails","administratif","app","bonjour","facturation","feedback","informatique","msd","noreply","paiement","rh","social","support","tva","wb","companyInformation","ape","bp","city","montantCapital","nomRaisonSociale","ECOrderCity","phone","postalAddress","rcs","statut","zipCode","idPrestationsListAuthorized","logoUrl","miniLogoUrl","hiddenPages","recaptchaSecretKey","urlApp","urlExpert","urlClient","webmail","domain","offices","LAXOU","id","HOME_OFFICE"],"sources":["../../../ts/types/Enum/BrandClems.ts"],"sourcesContent":["export const BrandClems = [\n {\n idTypeBrand: 1,\n name: 'Clems',\n urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-clems/',\n logoS3: 'config/72030539-45a0-57fb-a7bb-e151e7d2721b.svg',\n colors: {\n primary: '#45A1FF',\n primary50: '#EDF2FF',\n primary100: '#D0DDFF',\n primary300: '#739AFF',\n primary500: '#45A1FF',\n primary700: '#0B2B80',\n },\n listPhones: {\n contact: '01 86 90 92 80',\n qualite: '01 86 90 92 80',\n juridique: '01 86 90 92 80',\n },\n listMails: {\n administratif: 'contact@klems.fr',\n app: 'contact@klems.fr',\n bonjour: 'contact@klems.fr',\n contact: 'contact@klems.fr',\n facturation: 'contact@klems.fr',\n feedback: 'contact@klems.fr',\n juridique: 'contact@klems.fr',\n informatique: 'contact@klems.fr',\n msd: 'contact@klems.fr',\n noreply: 'noreply@klems.fr',\n qualite: 'contact@klems.fr',\n paiement: 'contact@klems.fr',\n rh: 'contact@klems.fr',\n social: 'contact@klems.fr',\n support: 'support@klems.fr',\n tva: 'contact@klems.fr',\n wb: 'contact@klems.fr',\n },\n companyInformation: {\n ape: '6201Z',\n bp: '',\n city: 'Paris',\n montantCapital: '10 000',\n nomRaisonSociale: 'COMPTALIB',\n ECOrderCity: 'Nancy',\n phone: '01 86 90 92 80',\n postalAddress: '30, rue des Mathurins',\n rcs: '808 070 726',\n statut: 'SAS',\n zipCode: '75 008',\n },\n idPrestationsListAuthorized: [197],\n logoUrl: 'logo-clems.svg',\n miniLogoUrl: 'logo-clems.svg',\n hiddenPages: [],\n recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',\n urlApp: 'https://app.klems.fr',\n urlExpert: 'https://pro.klems.fr',\n urlClient: 'https://www.klems.fr',\n webmail: {\n domain: '@klems.fr',\n },\n offices: {\n LAXOU: {\n id: 1,\n name: 'Laxou',\n },\n HOME_OFFICE: {\n id: 5,\n name: 'Télétravail',\n },\n },\n },\n];"],"mappings":";;;;;AAAO,MAAMA,UAAU,GAAAC,OAAA,CAAVD,UAAU,GAAG,CACxB;EACEE,W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BC,WAAW,EAAE,gBAAgB;EAC7BC,WAAW,EAAE,EAAE;EACfC,kBAAkB,EAAE,0CAA0C;EAC9DC,MAAM,EAAE,sBAAsB;EAC9BC,SAAS,EAAE,sBAAsB;EACjCC,SAAS,EAAE,sBAAsB;EACjCC,OAAO,EAAE;IACPC,MAAM,EAAE;GACT;EACDC,OAAO,EAAE;IACPC,KAAK,EAAE;MACLC,EAAE,EAAE,CAAC;MACLrD,IAAI,EAAE;KACP;IACDsD,WAAW,EAAE;MACXD,EAAE,EAAE,CAAC;MACLrD,IAAI,EAAE;;;CAGX,CACF"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
const BrandStatutsExpress = exports.BrandStatutsExpress = [{
|
|
7
|
+
idTypeBrand: 1,
|
|
8
|
+
name: 'Clems',
|
|
9
|
+
urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-statuts-express/',
|
|
10
|
+
logoS3: 'config/72030539-45a0-57fb-a7bb-e151e7d2721b.svg',
|
|
11
|
+
colors: {
|
|
12
|
+
primary: '#45A1FF',
|
|
13
|
+
primary50: '#EDF2FF',
|
|
14
|
+
primary100: '#D0DDFF',
|
|
15
|
+
primary300: '#739AFF',
|
|
16
|
+
primary500: '#45A1FF',
|
|
17
|
+
primary700: '#0B2B80'
|
|
18
|
+
},
|
|
19
|
+
listPhones: {
|
|
20
|
+
contact: '01 86 90 92 80',
|
|
21
|
+
qualite: '01 86 90 92 80',
|
|
22
|
+
juridique: '01 86 90 92 80'
|
|
23
|
+
},
|
|
24
|
+
listMails: {
|
|
25
|
+
administratif: 'contact@statuts-express.fr',
|
|
26
|
+
app: 'contact@statuts-express.fr',
|
|
27
|
+
bonjour: 'contact@statuts-express.fr',
|
|
28
|
+
contact: 'contact@statuts-express.fr',
|
|
29
|
+
facturation: 'contact@statuts-express.fr',
|
|
30
|
+
feedback: 'contact@statuts-express.fr',
|
|
31
|
+
juridique: 'contact@statuts-express.fr',
|
|
32
|
+
informatique: 'contact@statuts-express.fr',
|
|
33
|
+
msd: 'contact@statuts-express.fr',
|
|
34
|
+
noreply: 'noreply@statuts-express.fr',
|
|
35
|
+
qualite: 'contact@statuts-express.fr',
|
|
36
|
+
paiement: 'contact@statuts-express.fr',
|
|
37
|
+
rh: 'contact@statuts-express.fr',
|
|
38
|
+
social: 'contact@statuts-express.fr',
|
|
39
|
+
support: 'support@statuts-express.fr',
|
|
40
|
+
tva: 'contact@statuts-express.fr',
|
|
41
|
+
wb: 'contact@statuts-express.fr'
|
|
42
|
+
},
|
|
43
|
+
companyInformation: {
|
|
44
|
+
ape: '6312Z',
|
|
45
|
+
bp: '',
|
|
46
|
+
city: 'LAXOU',
|
|
47
|
+
montantCapital: '1 000',
|
|
48
|
+
nomRaisonSociale: 'TOKAMAK',
|
|
49
|
+
ECName: 'M. William BOICHÉ',
|
|
50
|
+
ECOrderCity: 'LAXOU',
|
|
51
|
+
phone: '01 86 90 82 15',
|
|
52
|
+
postalAddress: '9, avenue du Rhin',
|
|
53
|
+
rcs: '949 227 599',
|
|
54
|
+
statut: 'SASU',
|
|
55
|
+
zipCode: '54 520'
|
|
56
|
+
},
|
|
57
|
+
idPrestationsListAuthorized: [197],
|
|
58
|
+
logoUrl: 'logo-clems.svg',
|
|
59
|
+
miniLogoUrl: 'logo-clems.svg',
|
|
60
|
+
hiddenPages: [],
|
|
61
|
+
recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',
|
|
62
|
+
urlApp: 'https://app.statuts-express.fr',
|
|
63
|
+
urlExpert: 'https://pro.statuts-express.fr',
|
|
64
|
+
urlClient: 'https://www.statuts-express.fr',
|
|
65
|
+
bank: {
|
|
66
|
+
IBAN: '***',
|
|
67
|
+
BIC: '****',
|
|
68
|
+
Name: 'TOKAMAK',
|
|
69
|
+
Id: '****'
|
|
70
|
+
},
|
|
71
|
+
internalInvoicing: {
|
|
72
|
+
statut: 'SASU',
|
|
73
|
+
name: 'TOKAMAK',
|
|
74
|
+
address: '9, avenue du Rhin',
|
|
75
|
+
zipCode: '54520',
|
|
76
|
+
city: 'LAXOU',
|
|
77
|
+
country: 'FRANCE',
|
|
78
|
+
montantCapital: '10 000',
|
|
79
|
+
siret: '94922759900014',
|
|
80
|
+
ape: '6312Z',
|
|
81
|
+
rcs: '891 501 181',
|
|
82
|
+
phone: '03 83 93 14 14',
|
|
83
|
+
vatIntracom: 'FR71949227599',
|
|
84
|
+
email: 'facturation@statuts-express.fr'
|
|
85
|
+
},
|
|
86
|
+
webmail: {
|
|
87
|
+
domain: '@statuts-express.fr'
|
|
88
|
+
},
|
|
89
|
+
offices: {
|
|
90
|
+
LAXOU: {
|
|
91
|
+
id: 1,
|
|
92
|
+
name: 'Laxou'
|
|
93
|
+
},
|
|
94
|
+
HOME_OFFICE: {
|
|
95
|
+
id: 5,
|
|
96
|
+
name: 'Télétravail'
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}];
|
|
100
|
+
//# sourceMappingURL=BrandStatutsExpress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrandStatutsExpress.js","names":["BrandStatutsExpress","exports","idTypeBrand","name","urlS3","logoS3","colors","primary","primary50","primary100","primary300","primary500","primary700","listPhones","contact","qualite","juridique","listMails","administratif","app","bonjour","facturation","feedback","informatique","msd","noreply","paiement","rh","social","support","tva","wb","companyInformation","ape","bp","city","montantCapital","nomRaisonSociale","ECName","ECOrderCity","phone","postalAddress","rcs","statut","zipCode","idPrestationsListAuthorized","logoUrl","miniLogoUrl","hiddenPages","recaptchaSecretKey","urlApp","urlExpert","urlClient","bank","IBAN","BIC","Name","Id","internalInvoicing","address","country","siret","vatIntracom","email","webmail","domain","offices","LAXOU","id","HOME_OFFICE"],"sources":["../../../ts/types/Enum/BrandStatutsExpress.ts"],"sourcesContent":["export const BrandStatutsExpress = [\n {\n idTypeBrand: 1,\n name: 'Clems',\n urlS3: 'https://s3.eu-west-3.amazonaws.com/resources-statuts-express/',\n logoS3: 'config/72030539-45a0-57fb-a7bb-e151e7d2721b.svg',\n colors: {\n primary: '#45A1FF',\n primary50: '#EDF2FF',\n primary100: '#D0DDFF',\n primary300: '#739AFF',\n primary500: '#45A1FF',\n primary700: '#0B2B80',\n },\n listPhones: {\n contact: '01 86 90 92 80',\n qualite: '01 86 90 92 80',\n juridique: '01 86 90 92 80',\n },\n listMails: {\n administratif: 'contact@statuts-express.fr',\n app: 'contact@statuts-express.fr',\n bonjour: 'contact@statuts-express.fr',\n contact: 'contact@statuts-express.fr',\n facturation: 'contact@statuts-express.fr',\n feedback: 'contact@statuts-express.fr',\n juridique: 'contact@statuts-express.fr',\n informatique: 'contact@statuts-express.fr',\n msd: 'contact@statuts-express.fr',\n noreply: 'noreply@statuts-express.fr',\n qualite: 'contact@statuts-express.fr',\n paiement: 'contact@statuts-express.fr',\n rh: 'contact@statuts-express.fr',\n social: 'contact@statuts-express.fr',\n support: 'support@statuts-express.fr',\n tva: 'contact@statuts-express.fr',\n wb: 'contact@statuts-express.fr',\n },\n companyInformation: {\n ape: '6312Z',\n bp: '',\n city: 'LAXOU',\n montantCapital: '1 000',\n nomRaisonSociale: 'TOKAMAK',\n ECName: 'M. William BOICHÉ',\n ECOrderCity: 'LAXOU',\n phone: '01 86 90 82 15',\n postalAddress: '9, avenue du Rhin',\n rcs: '949 227 599',\n statut: 'SASU',\n zipCode: '54 520',\n },\n idPrestationsListAuthorized: [197],\n logoUrl: 'logo-clems.svg',\n miniLogoUrl: 'logo-clems.svg',\n hiddenPages: [],\n recaptchaSecretKey: '6Le0o3kaAAAAAIEcSOib77JdK_W3cyIilK-p2yOG',\n urlApp: 'https://app.statuts-express.fr',\n urlExpert: 'https://pro.statuts-express.fr',\n urlClient: 'https://www.statuts-express.fr',\n bank: {\n IBAN: '***',\n BIC: '****',\n Name: 'TOKAMAK',\n Id: '****',\n },\n internalInvoicing: {\n statut: 'SASU',\n name: 'TOKAMAK',\n address: '9, avenue du Rhin',\n zipCode: '54520',\n city: 'LAXOU',\n country: 'FRANCE',\n montantCapital: '10 000',\n siret: '94922759900014',\n ape: '6312Z',\n rcs: '891 501 181',\n phone: '03 83 93 14 14',\n vatIntracom: 'FR71949227599',\n email: 'facturation@statuts-express.fr',\n },\n webmail: {\n domain: '@statuts-express.fr',\n },\n offices: {\n LAXOU: {\n id: 1,\n name: 'Laxou',\n },\n HOME_OFFICE: {\n id: 5,\n name: 'Télétravail',\n },\n },\n },\n];"],"mappings":";;;;;AAAO,MAAMA,mBAAmB,GAAAC,OAAA,CAAnBD,mBAAmB,GAAG,CACjC;EACEE,WAAW,EAAE,CAAC;EACdC,IAAI,EAAE,OAAO;EACbC,KAAK,EAAE,+DAA+D;EACtEC,MAAM,EAAE,iDAAiD;EACzDC,MAAM,EAAE;IACNC,OAAO,EAAE,SAAS;IAClBC,SAAS,EAAE,SAAS;IACpBC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE;GACb;EACDC,UAAU,EAAE;IACVC,OAAO,EAAE,gBAAgB;IACzBC,OAAO,EAAE,gBAAgB;IACzBC,SAAS,EAAE;GACZ;EACDC,SAAS,EAAE;IACTC,aAAa,EAAE,4BAA4B;IAC3CC,GAAG,EAAE,4BAA4B;IACjCC,OAAO,EAAE,4BAA4B;IACrCN,OAAO,EAAE,4BAA4B;IACrCO,WAAW,EAAE,4BAA4B;IACzCC,QAAQ,EAAE,4BAA4B;IACtCN,SAAS,EAAE,4BAA4B;IACvCO,YAAY,EAAE,4BAA4B;IAC1CC,GAAG,EAAE,4BAA4B;IACjCC,OAAO,EAAE,4BAA4B;IACrCV,OAAO,EAAE,4BAA4B;IACrCW,QAAQ,EAAE,4BAA4B;IACtCC,EAAE,EAAE,4BAA4B;IAChCC,MAAM,EAAE,4BAA4B;IACpCC,OAA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