@silexpert/core 0.4.224 → 0.4.226

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 (111) hide show
  1. package/es/api/resources/Account.d.ts +3 -2
  2. package/es/api/resources/Account.d.ts.map +1 -1
  3. package/es/api/resources/Account.js +3 -0
  4. package/es/api/resources/Account.js.map +1 -1
  5. package/es/api/resources/BankList.d.ts +6 -0
  6. package/es/api/resources/BankList.d.ts.map +1 -0
  7. package/es/api/resources/BankList.js +7 -0
  8. package/es/api/resources/BankList.js.map +1 -0
  9. package/es/api/resources.d.ts +4 -0
  10. package/es/api/resources.d.ts.map +1 -1
  11. package/es/api/resources.js +4 -0
  12. package/es/api/resources.js.map +1 -1
  13. package/es/types/Enum/Civility.d.ts +5 -0
  14. package/es/types/Enum/Civility.d.ts.map +1 -0
  15. package/es/types/Enum/Civility.js +6 -0
  16. package/es/types/Enum/Civility.js.map +1 -0
  17. package/es/types/Enum/Ged.d.ts +1 -0
  18. package/es/types/Enum/Ged.d.ts.map +1 -1
  19. package/es/types/Enum/Ged.js +1 -1
  20. package/es/types/Enum/Ged.js.map +1 -1
  21. package/es/types/Enum/MailAuto.d.ts +2 -1
  22. package/es/types/Enum/MailAuto.d.ts.map +1 -1
  23. package/es/types/Enum/MailAuto.js +1 -0
  24. package/es/types/Enum/MailAuto.js.map +1 -1
  25. package/es/types/Enum/TaskResponseType.js +1 -1
  26. package/es/types/Enum/TaskResponseType.js.map +1 -1
  27. package/es/types/Enum/VatDeclarationType.d.ts +3 -4
  28. package/es/types/Enum/VatDeclarationType.d.ts.map +1 -1
  29. package/es/types/Enum/VatDeclarationType.js +45 -59
  30. package/es/types/Enum/VatDeclarationType.js.map +1 -1
  31. package/es/types/Interface/api/account/QueryAccounts.d.ts +1 -0
  32. package/es/types/Interface/api/account/QueryAccounts.d.ts.map +1 -1
  33. package/es/types/Interface/api/account/QueryAccounts.js +4 -0
  34. package/es/types/Interface/api/account/QueryAccounts.js.map +1 -1
  35. package/es/types/Interface/api/amount/FormattedAmount.d.ts +9 -0
  36. package/es/types/Interface/api/amount/FormattedAmount.d.ts.map +1 -0
  37. package/es/types/Interface/api/amount/FormattedAmount.js +2 -0
  38. package/es/types/Interface/api/amount/FormattedAmount.js.map +1 -0
  39. package/es/types/Interface/api/customerActivity/CreateCustomerActivityReport.d.ts +6 -0
  40. package/es/types/Interface/api/customerActivity/CreateCustomerActivityReport.d.ts.map +1 -0
  41. package/es/types/Interface/api/customerActivity/CreateCustomerActivityReport.js +36 -0
  42. package/es/types/Interface/api/customerActivity/CreateCustomerActivityReport.js.map +1 -0
  43. package/es/types/Interface/api/notification/CreateNotification.d.ts.map +1 -1
  44. package/es/types/Interface/api/notification/CreateNotification.js +3 -0
  45. package/es/types/Interface/api/notification/CreateNotification.js.map +1 -1
  46. package/es/types/Interface/api/vatDeclaration/ReadVatVariousOperations.d.ts +2 -0
  47. package/es/types/Interface/api/vatDeclaration/ReadVatVariousOperations.d.ts.map +1 -1
  48. package/es/types/Interface/api/vatDeclaration/ReadVatVariousOperations.js.map +1 -1
  49. package/es/types/Interface/api/vatDeclaration/ResultFormatToEntries.d.ts +1 -0
  50. package/es/types/Interface/api/vatDeclaration/ResultFormatToEntries.d.ts.map +1 -1
  51. package/es/types/Interface/api/vatDeclaration/ResultFormatToEntries.js.map +1 -1
  52. package/es/types/Interface/models/IAccount.d.ts +1 -1
  53. package/es/types/Interface/models/IAccount.js.map +1 -1
  54. package/es/types/Interface/models/IApiError.d.ts +2 -1
  55. package/es/types/Interface/models/IApiError.d.ts.map +1 -1
  56. package/es/types/Interface/models/IApiError.js +1 -0
  57. package/es/types/Interface/models/IApiError.js.map +1 -1
  58. package/es/types/Interface/models/ISociety.d.ts +2 -1
  59. package/es/types/Interface/models/ISociety.d.ts.map +1 -1
  60. package/es/types/Interface/models/ISociety.js.map +1 -1
  61. package/es/types/index.d.ts +3 -0
  62. package/es/types/index.d.ts.map +1 -1
  63. package/es/types/index.js +3 -0
  64. package/es/types/index.js.map +1 -1
  65. package/js/api/resources/Account.js +4 -0
  66. package/js/api/resources/Account.js.map +1 -1
  67. package/js/api/resources/BankList.js +18 -0
  68. package/js/api/resources/BankList.js.map +1 -0
  69. package/js/api/resources.js +7 -1
  70. package/js/api/resources.js.map +1 -1
  71. package/js/types/Enum/Civility.js +12 -0
  72. package/js/types/Enum/Civility.js.map +1 -0
  73. package/js/types/Enum/Ged.js +2 -2
  74. package/js/types/Enum/Ged.js.map +1 -1
  75. package/js/types/Enum/MailAuto.js +1 -0
  76. package/js/types/Enum/MailAuto.js.map +1 -1
  77. package/js/types/Enum/TaskResponseType.js +1 -1
  78. package/js/types/Enum/TaskResponseType.js.map +1 -1
  79. package/js/types/Enum/VatDeclarationType.js +188 -228
  80. package/js/types/Enum/VatDeclarationType.js.map +1 -1
  81. package/js/types/Interface/api/account/QueryAccounts.js +2 -0
  82. package/js/types/Interface/api/account/QueryAccounts.js.map +1 -1
  83. package/js/types/Interface/api/amount/FormattedAmount.js +6 -0
  84. package/js/types/Interface/api/amount/FormattedAmount.js.map +1 -0
  85. package/js/types/Interface/api/customerActivity/CreateCustomerActivityReport.js +39 -0
  86. package/js/types/Interface/api/customerActivity/CreateCustomerActivityReport.js.map +1 -0
  87. package/js/types/Interface/api/notification/CreateNotification.js +3 -1
  88. package/js/types/Interface/api/notification/CreateNotification.js.map +1 -1
  89. package/js/types/Interface/models/IApiError.js +1 -0
  90. package/js/types/Interface/models/IApiError.js.map +1 -1
  91. package/js/types/index.js +36 -0
  92. package/js/types/index.js.map +1 -1
  93. package/package.json +1 -1
  94. package/ts/api/resources/Account.ts +6 -2
  95. package/ts/api/resources/BankList.ts +8 -0
  96. package/ts/api/resources.ts +4 -0
  97. package/ts/types/Enum/Civility.ts +4 -0
  98. package/ts/types/Enum/Ged.ts +1 -1
  99. package/ts/types/Enum/MailAuto.ts +1 -0
  100. package/ts/types/Enum/TaskResponseType.ts +1 -1
  101. package/ts/types/Enum/VatDeclarationType.ts +46 -61
  102. package/ts/types/Interface/api/account/QueryAccounts.ts +3 -0
  103. package/ts/types/Interface/api/amount/FormattedAmount.ts +9 -0
  104. package/ts/types/Interface/api/customerActivity/CreateCustomerActivityReport.ts +25 -0
  105. package/ts/types/Interface/api/notification/CreateNotification.ts +3 -0
  106. package/ts/types/Interface/api/vatDeclaration/ReadVatVariousOperations.ts +2 -0
  107. package/ts/types/Interface/api/vatDeclaration/ResultFormatToEntries.ts +2 -1
  108. package/ts/types/Interface/models/IAccount.ts +1 -1
  109. package/ts/types/Interface/models/IApiError.ts +1 -0
  110. package/ts/types/Interface/models/ISociety.ts +3 -2
  111. package/ts/types/index.ts +3 -0
@@ -1,238 +1,224 @@
1
- export const accountList3310 = [
2
- 445720, 445705, 445710, 445785, 445721, 445820,
3
- 445200, 445662, 445620, 445660, 445840, 4456701,
4
- 445830, 4456702, 445680, 445510,
5
- ];
6
- export const accountList3517 = [
7
- 445720, 445705, 445710, 445785, 445721, 445700,
8
- 445820, 445200, 445662, 445620, 445660, 445840,
9
- 445820, 445810, 445670, 445830, 445670, 445810,
10
- 445680, 445510,
11
- ];
12
- export const accountInfo3310 = {
13
- 445720: {
1
+ import { Vat } from './Vat';
2
+ export const accountInfo3310 = [
3
+ {
14
4
  number: 445720,
15
5
  fields: ['ligne08Tva'],
16
6
  fieldsToSubtract: ['ligne17'],
17
7
  type: 'debit',
18
8
  },
19
- 445705: {
9
+ {
20
10
  number: 445705,
21
11
  fields: ['ligne09Tva'],
22
12
  fieldsToSubtract: [],
23
13
  type: 'debit',
24
14
  },
25
- 445710: {
15
+ {
26
16
  number: 445710,
27
17
  fields: ['ligne9BTva'],
28
18
  fieldsToSubtract: [],
29
19
  type: 'debit',
30
20
  },
31
- 445785: {
21
+ {
32
22
  number: 445785,
33
23
  fields: ['ligne10Tva'],
34
24
  fieldsToSubtract: [],
35
25
  type: 'debit',
36
26
  },
37
- 445721: {
27
+ {
38
28
  number: 445721,
39
29
  fields: ['ligne11Tva'],
40
30
  fieldsToSubtract: [],
41
31
  type: 'debit',
42
32
  },
43
- 445820: {
33
+ {
44
34
  number: 445820,
45
35
  fields: ['ligne13', 'ligne14', 'ligne15', 'ligne5B'],
46
36
  fieldsToSubtract: [],
47
37
  type: 'debit',
48
38
  },
49
- 445200: {
39
+ {
50
40
  number: 445200,
51
41
  fields: ['ligne7C', 'ligne17'],
52
42
  fieldsToSubtract: [],
53
43
  type: 'debit',
54
44
  },
55
- 445662: {
45
+ {
56
46
  number: 445662,
57
47
  fields: ['ligne7C', 'ligne17'],
58
48
  fieldsToSubtract: [],
59
49
  type: 'credit',
60
50
  },
61
- 445620: {
51
+ {
62
52
  number: 445620,
63
53
  fields: ['ligne19'],
64
54
  fieldsToSubtract: [],
65
55
  type: 'credit',
66
56
  },
67
- 445660: {
57
+ {
68
58
  number: 445660,
69
59
  fields: ['ligne20'],
70
60
  fieldsToSubtract: ['ligne7C', 'ligne17'],
71
61
  type: 'credit',
62
+ idVat: Vat.TX_20.id,
72
63
  },
73
- 445840: {
64
+ {
74
65
  number: 445840,
75
66
  fields: ['ligne21'],
76
67
  fieldsToSubtract: [],
77
68
  type: 'credit',
78
69
  },
79
- 4456701: {
70
+ {
80
71
  number: 445670,
81
72
  fields: ['ligne22'],
82
73
  fieldsToSubtract: [],
83
74
  type: 'credit',
84
75
  },
85
- 445830: {
76
+ {
86
77
  number: 445830,
87
78
  fields: ['ligne26'],
88
79
  fieldsToSubtract: [],
89
80
  type: 'debit',
90
81
  },
91
- 4456702: {
82
+ {
92
83
  number: 445670,
93
84
  fields: ['ligne27'],
94
85
  fieldsToSubtract: [],
95
86
  type: 'debit',
96
87
  },
97
- 445810: {
98
- number: 445810,
99
- fields: ['A100224_0'],
100
- fieldsToSubtract: [],
101
- type: 'debit',
102
- },
103
- 445680: {
88
+ {
104
89
  number: 445680,
105
- fields: ['A100204_0'],
90
+ fields: ['ligne29'],
106
91
  fieldsToSubtract: [],
107
92
  type: 'credit',
108
93
  },
109
- 445510: {
94
+ {
110
95
  number: 445510,
111
- fields: ['A100103_0'],
96
+ fields: ['ligne32'],
112
97
  fieldsToSubtract: [],
113
98
  type: 'credit',
114
99
  },
115
- };
116
- export const accountInfo3517 = {
117
- 445720: {
100
+ ];
101
+ export const accountInfo3517 = [
102
+ {
118
103
  number: 445720,
119
104
  fields: ['A904072_0', 'A100147_0', 'A100149_0', 'A100161_0'],
120
105
  fieldsToSubtract: [],
121
106
  type: 'debit',
122
107
  },
123
- 445705: {
108
+ {
124
109
  number: 445705,
125
110
  fields: ['A100140_0'],
126
111
  fieldsToSubtract: [],
127
112
  type: 'debit',
128
113
  },
129
- 445710: {
114
+ {
130
115
  number: 445710,
131
116
  fields: ['A904074_0'],
132
117
  fieldsToSubtract: [],
133
118
  type: 'debit',
134
119
  },
135
- 445785: {
120
+ {
136
121
  number: 445785,
137
122
  fields: ['A100168_0'],
138
123
  fieldsToSubtract: [],
139
124
  type: 'debit',
140
125
  },
141
- 445721: {
126
+ {
142
127
  number: 445721,
143
128
  fields: ['A100166_0'],
144
129
  fieldsToSubtract: [],
145
130
  type: 'debit',
146
131
  },
147
- 445700: {
132
+ {
148
133
  number: 445700,
149
134
  fields: ['A100083_0', 'A100145_0', 'A100185_0', 'A107009_0'],
150
135
  fieldsToSubtract: [],
151
136
  type: 'debit',
152
137
  },
153
- 4458201: {
138
+ {
154
139
  number: 445820,
155
140
  fields: ['A100197_0', 'A100087_0', 'A905878_0'],
156
141
  fieldsToSubtract: [],
157
142
  type: 'debit',
158
143
  },
159
- 445200: {
144
+ {
160
145
  number: 445200,
161
146
  fields: ['A900775_0', 'A100150_0'],
162
147
  fieldsToSubtract: [],
163
148
  type: 'debit',
164
149
  },
165
- 445662: {
150
+ {
166
151
  number: 445662,
167
152
  fields: ['A900775_0', 'A100150_0'],
168
153
  fieldsToSubtract: [],
169
154
  type: 'credit',
170
155
  },
171
- 445620: {
156
+ {
172
157
  number: 445620,
173
158
  fields: ['A100090_0'],
174
159
  fieldsToSubtract: [],
175
160
  type: 'credit',
176
161
  },
177
- 445660: {
162
+ {
178
163
  number: 445660,
179
164
  fields: ['A100091_0', 'A100192_0'],
180
165
  fieldsToSubtract: ['A900775_0', 'A100150_0'],
181
166
  type: 'credit',
167
+ idVat: Vat.TX_20.id,
182
168
  },
183
- 445840: {
169
+ {
184
170
  number: 445840,
185
171
  fields: ['A100092_0'],
186
172
  fieldsToSubtract: [],
187
173
  type: 'credit',
188
174
  },
189
- 4458202: {
175
+ {
190
176
  number: 445820,
191
177
  fields: ['A905879_0'],
192
178
  fieldsToSubtract: [],
193
179
  type: 'credit',
194
180
  },
195
- 4458101: {
181
+ {
196
182
  number: 445810,
197
183
  fields: ['A100194_0'],
198
184
  fieldsToSubtract: [],
199
185
  type: 'credit',
200
186
  },
201
- 4456701: {
187
+ {
202
188
  number: 445670,
203
189
  fields: ['A100151_0'],
204
190
  fieldsToSubtract: [],
205
191
  type: 'credit',
206
192
  },
207
- 445830: {
193
+ {
208
194
  number: 445830,
209
195
  fields: ['A100097_0'],
210
196
  fieldsToSubtract: [],
211
197
  type: 'debit',
212
198
  },
213
- 4456702: {
199
+ {
214
200
  number: 445670,
215
201
  fields: ['A100098_0'],
216
202
  fieldsToSubtract: [],
217
203
  type: 'debit',
218
204
  },
219
- 4458102: {
205
+ {
220
206
  number: 445810,
221
207
  fields: ['A100224_0'],
222
208
  fieldsToSubtract: [],
223
209
  type: 'debit',
224
210
  },
225
- 445680: {
211
+ {
226
212
  number: 445680,
227
213
  fields: ['A100204_0'],
228
214
  fieldsToSubtract: [],
229
215
  type: 'credit',
230
216
  },
231
- 445510: {
217
+ {
232
218
  number: 445510,
233
219
  fields: ['A100103_0'],
234
220
  fieldsToSubtract: [],
235
221
  type: 'credit',
236
222
  },
237
- };
223
+ ];
238
224
  //# sourceMappingURL=VatDeclarationType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VatDeclarationType.js","sourceRoot":"","sources":["../../../ts/types/Enum/VatDeclarationType.ts"],"names":[],"mappings":"A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QAAQ;KACf;IACD,OAAQ,EAAE;QACR,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,WAAW,CAAC;QACrB,gBAAgB,EAAE,EAAE;QACpB,IAAI,EAAE,QAAQ;KACf;IACD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,WAAW,CAAC;QACrB,gBAAgB,EAAE,EAAE;QACpB,IAAI,EAAE,OAAO;KACd;IACD,OAAQ,EAAE;QACR,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,WAAW,CAAC;QACrB,gBAAgB,EAAE,EAAE;QACpB,IAAI,EAAE,OAAO;KACd;IACD,OAAQ,EAAE;QACR,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,WAAW,CAAC;QACrB,gBAAgB,EAAE,EAAE;QACpB,IAAI,EAAE,OAAO;KACd;IACD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,WAAW,CAAC;QACrB,gBAAgB,EAAE,EAAE;QACpB,IAAI,EAAE,QAAQ;KACf;IACD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,WAAW,CAAC;QACrB,gBAAgB,EAAE,EAAE;QACpB,IAAI,EAAE,QAAQ;KACf;CACF,CAAC","sourcesContent":["import { IAccount } from '../Interface/models/IAccount';\n\nexport const accountList3310: Array<number> = [\n 445720, 445705, 445710, 445785, 445721, 445820,\n 445200, 445662, 445620, 445660, 445840, 445670_1,\n 445830, 445670_2, 445680, 445510,\n];\n\nexport const accountList3517: Array<number> = [\n 445720, 445705, 445710, 445785, 445721, 445700,\n 445820, 445200, 445662, 445620, 445660, 445840,\n 445820, 445810, 445670, 445830, 445670, 445810,\n 445680, 445510,\n];\n\nexport const accountInfo3310: Record<number, AccountInfo> = {\n 445720: {\n number: 445720,\n fields: ['ligne08Tva'],\n fieldsToSubtract: ['ligne17'],\n type: 'debit',\n },\n 445705: {\n number: 445705,\n fields: ['ligne09Tva'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445710: {\n number: 445710,\n fields: ['ligne9BTva'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445785: {\n number: 445785,\n fields: ['ligne10Tva'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445721: {\n number: 445721,\n fields: ['ligne11Tva'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445820: {\n number: 445820,\n fields: ['ligne13', 'ligne14', 'ligne15', 'ligne5B'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445200: {\n number: 445200,\n fields: ['ligne7C', 'ligne17'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445662: {\n number: 445662,\n fields: ['ligne7C', 'ligne17'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n 445620: {\n number: 445620,\n fields: ['ligne19'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n 445660: {\n number: 445660,\n fields: ['ligne20'],\n fieldsToSubtract: ['ligne7C', 'ligne17'],\n type: 'credit',\n },\n 445840: {\n number: 445840,\n fields: ['ligne21'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n 445670_1: {\n number: 445670,\n fields: ['ligne22'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n 445830: {\n number: 445830,\n fields: ['ligne26'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445670_2: {\n number: 445670,\n fields: ['ligne27'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445810: {\n number: 445810,\n fields: ['A100224_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445680: {\n number: 445680,\n fields: ['A100204_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n 445510: {\n number: 445510,\n fields: ['A100103_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n};\n\nexport const accountInfo3517: Record<number, AccountInfo> = {\n 445720: {\n number: 445720,\n fields: ['A904072_0', 'A100147_0', 'A100149_0', 'A100161_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445705: {\n number: 445705,\n fields: ['A100140_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445710: {\n number: 445710,\n fields: ['A904074_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445785: {\n number: 445785,\n fields: ['A100168_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445721: {\n number: 445721,\n fields: ['A100166_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445700: {\n number: 445700,\n fields: ['A100083_0', 'A100145_0', 'A100185_0', 'A107009_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445820_1: {\n number: 445820,\n fields: ['A100197_0', 'A100087_0', 'A905878_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445200: {\n number: 445200,\n fields: ['A900775_0', 'A100150_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445662: {\n number: 445662,\n fields: ['A900775_0', 'A100150_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n 445620: {\n number: 445620,\n fields: ['A100090_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n 445660: {\n number: 445660,\n fields: ['A100091_0', 'A100192_0'],\n fieldsToSubtract: ['A900775_0', 'A100150_0'],\n type: 'credit',\n },\n 445840: {\n number: 445840,\n fields: ['A100092_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n 445820_2: {\n number: 445820,\n fields: ['A905879_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n 445810_1: {\n number: 445810,\n fields: ['A100194_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n 445670_1: {\n number: 445670,\n fields: ['A100151_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n 445830: {\n number: 445830,\n fields: ['A100097_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445670_2: {\n number: 445670,\n fields: ['A100098_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445810_2: {\n number: 445810,\n fields: ['A100224_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n 445680: {\n number: 445680,\n fields: ['A100204_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n 445510: {\n number: 445510,\n fields: ['A100103_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n};\n\nexport interface EntriesListField {\n fields: Array<string>,\n fieldsToSubtract: Array<string>,\n account: IAccount,\n type: 'debit' | 'credit',\n}\n\nexport interface AccountInfo extends Pick<EntriesListField, 'fields' | 'fieldsToSubtract' | 'type'> {\n number: number;\n}"]}
1
+ {"version":3,"file":"VatDeclarationType.js","sourceRoot":"","sources":["../../../ts/types/Enum/VatDeclarationType.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,MAAM,CAAC,MAAM,eAAe,GAAkB;IAC5C;QACE,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,YAAY,CAAC;QACtB,gBAAgB,EAAE,CAAC,SAAS,CAAC;QAC7B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,YAAY,CAAC;QACtB,gBAAgB,EAAE,EAAE;QACpB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,YAAY,CAAC;QACtB,gBAAgB,EAAE,EAAE;QACpB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,YAAY,CAAC;QACtB,gBAAgB,EAAE,EAAE;QACpB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,YAAY,CAAC;QACtB,gBAAgB,EAAE,EAAE;QACpB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC;QACpD,gBAAgB,EAAE,EAAE;QACpB,IAAI,EAAE,OAAO;K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EAAE,MAAM;QACd,MAAM,EAAE,CAAC,WAAW,CAAC;QACrB,gBAAgB,EAAE,EAAE;QACpB,IAAI,EAAE,QAAQ;KACf;IACD;QACE,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,CAAC,WAAW,CAAC;QACrB,gBAAgB,EAAE,EAAE;QACpB,IAAI,EAAE,QAAQ;KACf;CACF,CAAC","sourcesContent":["import { IAccount } from '../Interface/models/IAccount';\nimport { Vat } from './Vat';\n\nexport const accountInfo3310: AccountInfo[] = [\n {\n number: 445720,\n fields: ['ligne08Tva'],\n fieldsToSubtract: ['ligne17'],\n type: 'debit',\n },\n {\n number: 445705,\n fields: ['ligne09Tva'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445710,\n fields: ['ligne9BTva'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445785,\n fields: ['ligne10Tva'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445721,\n fields: ['ligne11Tva'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445820,\n fields: ['ligne13', 'ligne14', 'ligne15', 'ligne5B'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445200,\n fields: ['ligne7C', 'ligne17'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445662,\n fields: ['ligne7C', 'ligne17'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n {\n number: 445620,\n fields: ['ligne19'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n {\n number: 445660,\n fields: ['ligne20'],\n fieldsToSubtract: ['ligne7C', 'ligne17'],\n type: 'credit',\n idVat: Vat.TX_20.id,\n },\n {\n number: 445840,\n fields: ['ligne21'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n {\n number: 445670,\n fields: ['ligne22'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n {\n number: 445830,\n fields: ['ligne26'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445670,\n fields: ['ligne27'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445680,\n fields: ['ligne29'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n {\n number: 445510,\n fields: ['ligne32'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n];\n\nexport const accountInfo3517: AccountInfo[] = [\n {\n number: 445720,\n fields: ['A904072_0', 'A100147_0', 'A100149_0', 'A100161_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445705,\n fields: ['A100140_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445710,\n fields: ['A904074_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445785,\n fields: ['A100168_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445721,\n fields: ['A100166_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445700,\n fields: ['A100083_0', 'A100145_0', 'A100185_0', 'A107009_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445820,\n fields: ['A100197_0', 'A100087_0', 'A905878_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445200,\n fields: ['A900775_0', 'A100150_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445662,\n fields: ['A900775_0', 'A100150_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n {\n number: 445620,\n fields: ['A100090_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n {\n number: 445660,\n fields: ['A100091_0', 'A100192_0'],\n fieldsToSubtract: ['A900775_0', 'A100150_0'],\n type: 'credit',\n idVat: Vat.TX_20.id,\n },\n {\n number: 445840,\n fields: ['A100092_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n {\n number: 445820,\n fields: ['A905879_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n {\n number: 445810,\n fields: ['A100194_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n {\n number: 445670,\n fields: ['A100151_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n {\n number: 445830,\n fields: ['A100097_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445670,\n fields: ['A100098_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445810,\n fields: ['A100224_0'],\n fieldsToSubtract: [],\n type: 'debit',\n },\n {\n number: 445680,\n fields: ['A100204_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n {\n number: 445510,\n fields: ['A100103_0'],\n fieldsToSubtract: [],\n type: 'credit',\n },\n];\n\nexport interface EntriesListField {\n fields: Array<string>,\n fieldsToSubtract: Array<string>,\n account: IAccount,\n type: 'debit' | 'credit',\n}\n\nexport interface AccountInfo extends Pick<EntriesListField, 'fields' | 'fieldsToSubtract' | 'type'> {\n number: number;\n idVat?: number;\n}"]}
@@ -5,5 +5,6 @@ export declare class QueryAccounts {
5
5
  isCollection?: boolean;
6
6
  onlySpecific?: boolean;
7
7
  groupByAccountType?: boolean;
8
+ includeDeletedAccount?: boolean;
8
9
  }
9
10
  //# sourceMappingURL=QueryAccounts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryAccounts.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/account/QueryAccounts.ts"],"names":[],"mappings":"AAEA,qBAAa,aAAa;IACxB,EAAE,EAAE,MAAM,CAAC;IAGX,cAAc,CAAC,EAAE,OAAO,CAAC;IAGzB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,YAAY,CAAC,EAAE,OAAO,CAAC;IAGvB,YAAY,CAAC,EAAE,OAAO,CAAC;IAGvB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B"}
1
+ {"version":3,"file":"QueryAccounts.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/account/QueryAccounts.ts"],"names":[],"mappings":"AAEA,qBAAa,aAAa;IACxB,EAAE,EAAE,MAAM,CAAC;IAGX,cAAc,CAAC,EAAE,OAAO,CAAC;IAGzB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,YAAY,CAAC,EAAE,OAAO,CAAC;IAGvB,YAAY,CAAC,EAAE,OAAO,CAAC;IAGvB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAG7B,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC"}
@@ -30,4 +30,8 @@ __decorate([
30
30
  ApiPropertyOptional(),
31
31
  __metadata("design:type", Boolean)
32
32
  ], QueryAccounts.prototype, "groupByAccountType", void 0);
33
+ __decorate([
34
+ ApiPropertyOptional(),
35
+ __metadata("design:type", Boolean)
36
+ ], QueryAccounts.prototype, "includeDeletedAccount", void 0);
33
37
  //# sourceMappingURL=QueryAccounts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryAccounts.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/account/QueryAccounts.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,aAAa;CAiBzB;AAbC;IADC,mBAAmB,EAAE;;qDACG;AAGzB;IADC,mBAAmB,EAAE;;oDACC;AAGvB;IADC,mBAAmB,EAAE;;mDACC;AAGvB;IADC,mBAAmB,EAAE;;mDACC;AAGvB;IADC,mBAAmB,EAAE;;yDACO","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryAccounts {\n id: number;\n\n @ApiPropertyOptional()\n includeGeneric?: boolean;\n\n @ApiPropertyOptional()\n idAccountType?: number;\n\n @ApiPropertyOptional()\n isCollection?: boolean;\n\n @ApiPropertyOptional()\n onlySpecific?: boolean;\n\n @ApiPropertyOptional()\n groupByAccountType?: boolean;\n}\n"]}
1
+ {"version":3,"file":"QueryAccounts.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/account/QueryAccounts.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,aAAa;CAoBzB;AAhBC;IADC,mBAAmB,EAAE;;qDACG;AAGzB;IADC,mBAAmB,EAAE;;oDACC;AAGvB;IADC,mBAAmB,EAAE;;mDACC;AAGvB;IADC,mBAAmB,EAAE;;mDACC;AAGvB;IADC,mBAAmB,EAAE;;yDACO;AAG7B;IADC,mBAAmB,EAAE;;4DACU","sourcesContent":["import { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryAccounts {\n id: number;\n\n @ApiPropertyOptional()\n includeGeneric?: boolean;\n\n @ApiPropertyOptional()\n idAccountType?: number;\n\n @ApiPropertyOptional()\n isCollection?: boolean;\n\n @ApiPropertyOptional()\n onlySpecific?: boolean;\n\n @ApiPropertyOptional()\n groupByAccountType?: boolean;\n\n @ApiPropertyOptional()\n includeDeletedAccount?: boolean;\n}\n"]}
@@ -0,0 +1,9 @@
1
+ import { MathematicalSign } from '../../../Enum/Util';
2
+ export interface FormattedAmount {
3
+ value: number;
4
+ sign: MathematicalSign;
5
+ integerValue: string;
6
+ centValue: string;
7
+ formattedValue: string;
8
+ }
9
+ //# sourceMappingURL=FormattedAmount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormattedAmount.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/amount/FormattedAmount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,gBAAgB,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=FormattedAmount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormattedAmount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/amount/FormattedAmount.ts"],"names":[],"mappings":"","sourcesContent":["import { MathematicalSign } from '../../../Enum/Util';\n\nexport interface FormattedAmount {\n value: number;\n sign: MathematicalSign;\n integerValue: string;\n centValue: string;\n formattedValue: string;\n}"]}
@@ -0,0 +1,6 @@
1
+ export declare class CreateCustomerActivityReport {
2
+ idSociety: number[];
3
+ limit: number;
4
+ isTest: boolean;
5
+ }
6
+ //# sourceMappingURL=CreateCustomerActivityReport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateCustomerActivityReport.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/customerActivity/CreateCustomerActivityReport.ts"],"names":[],"mappings":"AAMA,qBAAa,4BAA4B;IAMvC,SAAS,EAAE,MAAM,EAAE,CAAC;IAKpB,KAAK,EAAE,MAAM,CAAC;IAMd,MAAM,EAAE,OAAO,CAAC;CACjB"}
@@ -0,0 +1,36 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { ArrayUnique, IsBoolean, IsInt, IsOptional, IsPositive, } from 'class-validator';
11
+ import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
12
+ import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
13
+ export class CreateCustomerActivityReport {
14
+ }
15
+ __decorate([
16
+ ApiPropertyOptional(),
17
+ IsOptional(),
18
+ ArrayUnique(),
19
+ IsInt({ each: true }),
20
+ IsPositive({ each: true }),
21
+ __metadata("design:type", Array)
22
+ ], CreateCustomerActivityReport.prototype, "idSociety", void 0);
23
+ __decorate([
24
+ ApiProperty(),
25
+ IsInt(),
26
+ IsPositive(),
27
+ __metadata("design:type", Number)
28
+ ], CreateCustomerActivityReport.prototype, "limit", void 0);
29
+ __decorate([
30
+ ApiPropertyOptional(),
31
+ IsOptional(),
32
+ IsBoolean(),
33
+ ToBoolean(),
34
+ __metadata("design:type", Boolean)
35
+ ], CreateCustomerActivityReport.prototype, "isTest", void 0);
36
+ //# sourceMappingURL=CreateCustomerActivityReport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateCustomerActivityReport.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/customerActivity/CreateCustomerActivityReport.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,GACtD,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,4BAA4B;CAkBxC;AAZC;IALC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,WAAW,EAAE;IACb,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACrB,UAAU,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+DACP;AAKpB;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,UAAU,EAAE;;2DACC;AAMd;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;4DACI","sourcesContent":["import {\n ArrayUnique, IsBoolean, IsInt, IsOptional, IsPositive,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateCustomerActivityReport {\n @ApiPropertyOptional()\n @IsOptional()\n @ArrayUnique()\n @IsInt({ each: true })\n @IsPositive({ each: true })\n idSociety: number[];\n\n @ApiProperty()\n @IsInt()\n @IsPositive()\n limit: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTest: boolean;\n}"]}
@@ -1 +1 @@
1
- {"version":3,"file":"CreateNotification.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/notification/CreateNotification.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,qBAAa,kBAAkB;IAE7B,gBAAgB,EAAE,gBAAgB,CAAC;IAGnC,KAAK,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"CreateNotification.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/notification/CreateNotification.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,qBAAa,kBAAkB;IAI7B,gBAAgB,EAAE,gBAAgB,CAAC;IAGnC,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -7,12 +7,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
+ import { IsEnum, IsInt } from 'class-validator';
10
11
  import { ApiProperty } from '../../../../utils';
11
12
  import { NotificationType } from '../../../Enum/NotificationType';
12
13
  export class CreateNotification {
13
14
  }
14
15
  __decorate([
15
16
  ApiProperty(),
17
+ IsInt(),
18
+ IsEnum(NotificationType),
16
19
  __metadata("design:type", Number)
17
20
  ], CreateNotification.prototype, "notificationType", void 0);
18
21
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"CreateNotification.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/notification/CreateNotification.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,MAAM,OAAO,kBAAkB;CAM9B;AAJC;IADC,WAAW,EAAE;;4DACqB;AAGnC;IADC,WAAW,EAAE;;iDACA","sourcesContent":["import { ApiProperty } from '../../../../utils';\nimport { NotificationType } from '../../../Enum/NotificationType';\n\nexport class CreateNotification {\n @ApiProperty()\n notificationType: NotificationType;\n\n @ApiProperty()\n token: string;\n}"]}
1
+ {"version":3,"file":"CreateNotification.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/notification/CreateNotification.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,MAAM,OAAO,kBAAkB;CAQ9B;AAJC;IAHC,WAAW,EAAE;IACb,KAAK,EAAE;IACP,MAAM,CAAC,gBAAgB,CAAC;;4DACU;AAGnC;IADC,WAAW,EAAE;;iDACA","sourcesContent":["import { IsEnum, IsInt } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { NotificationType } from '../../../Enum/NotificationType';\n\nexport class CreateNotification {\n @ApiProperty()\n @IsInt()\n @IsEnum(NotificationType)\n notificationType: NotificationType;\n\n @ApiProperty()\n token: string;\n}"]}
@@ -6,5 +6,7 @@ export interface ReadVatVariousOperations {
6
6
  dateValue: Date;
7
7
  idAccount?: number;
8
8
  idThirdParty?: number;
9
+ number?: number;
10
+ name?: string;
9
11
  }
10
12
  //# sourceMappingURL=ReadVatVariousOperations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReadVatVariousOperations.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/ReadVatVariousOperations.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"ReadVatVariousOperations.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/ReadVatVariousOperations.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReadVatVariousOperations.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/ReadVatVariousOperations.ts"],"names":[],"mappings":"","sourcesContent":["export interface ReadVatVariousOperations {\n debit: number,\n credit: number,\n master: boolean,\n designation: string,\n dateValue: Date,\n idAccount?: number,\n idThirdParty?: number,\n}\n"]}
1
+ {"version":3,"file":"ReadVatVariousOperations.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/ReadVatVariousOperations.ts"],"names":[],"mappings":"","sourcesContent":["export interface ReadVatVariousOperations {\n debit: number,\n credit: number,\n master: boolean,\n designation: string,\n dateValue: Date,\n idAccount?: number,\n idThirdParty?: number,\n number?: number,\n name?: string;\n}\n"]}
@@ -2,5 +2,6 @@ export interface ResultFormatToEntries {
2
2
  name: string;
3
3
  number: number;
4
4
  amount: number;
5
+ type: 'credit' | 'debit';
5
6
  }
6
7
  //# sourceMappingURL=ResultFormatToEntries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ResultFormatToEntries.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/ResultFormatToEntries.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAA;CACf"}
1
+ {"version":3,"file":"ResultFormatToEntries.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/ResultFormatToEntries.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAA;CACzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ResultFormatToEntries.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/ResultFormatToEntries.ts"],"names":[],"mappings":"","sourcesContent":["export interface ResultFormatToEntries {\n name: string,\n number: number,\n amount: number\n}\n"]}
1
+ {"version":3,"file":"ResultFormatToEntries.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/vatDeclaration/ResultFormatToEntries.ts"],"names":[],"mappings":"","sourcesContent":["export interface ResultFormatToEntries {\n name: string,\n number: number,\n amount: number,\n type: 'credit' | 'debit'\n}\n"]}
@@ -41,7 +41,7 @@ export interface IAccount {
41
41
  updatedAt?: Date | null;
42
42
  deletedAt?: Date | null;
43
43
  nature?: INature;
44
- AccountType?: IAccountType;
44
+ accountType?: IAccountType;
45
45
  tva?: IVat;
46
46
  registerCategorie?: IRegisterCategory;
47
47
  sector?: ISector;
@@ -1 +1 @@
1
- {"version":3,"file":"IAccount.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"","sourcesContent":["import { INature } from './INature';\nimport { IAccountType } from './IAccountType';\nimport { IVat } from './IVat';\nimport { IRegisterCategory } from './IRegisterCategory';\nimport { ISector } from './ISector';\nimport { IAccountHelp } from './IAccountHelp';\nimport { IAccountDetail } from './IAccountDetail';\nimport { ISociety } from './ISociety';\nimport { IAccountsSectors } from './IAccountsSectors';\nimport { IMachineLearningResult } from './IMachineLearningResult';\n\n// accounts\nexport interface IAccount {\n id?: number;\n number: number;\n name: string;\n originalName?: string | null;\n forceVat?: boolean;\n blockVat?: boolean;\n forceFile?: boolean;\n isHidden?: boolean;\n isImmo?: boolean;\n isCorporal?: boolean;\n icone?: string | null;\n iconePNG?: string | null;\n color?: string | null;\n isOnlyTreso?: boolean;\n isOnlyEnga?: boolean;\n isGeneric?: boolean;\n isPersonalised?: boolean;\n forClient?: boolean;\n forFournisseur?: boolean;\n accountsSectors?: IAccountsSectors[];\n juridicalSociety?: number | null;\n idNature: number;\n customization?: number;\n idAccountType: number;\n idVat?: number | null;\n idRegisterCategorie?: number | null;\n idSector?: number | null;\n idParentAccount?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n nature?: INature;\n AccountType?: IAccountType;\n tva?: IVat;\n registerCategorie?: IRegisterCategory;\n sector?: ISector;\n accountHelp?: IAccountHelp;\n accountDetails?: IAccountDetail[];\n societies?: ISociety[];\n machineLearningResults?: IMachineLearningResult[];\n}\n"]}
1
+ {"version":3,"file":"IAccount.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"","sourcesContent":["import { INature } from './INature';\nimport { IAccountType } from './IAccountType';\nimport { IVat } from './IVat';\nimport { IRegisterCategory } from './IRegisterCategory';\nimport { ISector } from './ISector';\nimport { IAccountHelp } from './IAccountHelp';\nimport { IAccountDetail } from './IAccountDetail';\nimport { ISociety } from './ISociety';\nimport { IAccountsSectors } from './IAccountsSectors';\nimport { IMachineLearningResult } from './IMachineLearningResult';\n\n// accounts\nexport interface IAccount {\n id?: number;\n number: number;\n name: string;\n originalName?: string | null;\n forceVat?: boolean;\n blockVat?: boolean;\n forceFile?: boolean;\n isHidden?: boolean;\n isImmo?: boolean;\n isCorporal?: boolean;\n icone?: string | null;\n iconePNG?: string | null;\n color?: string | null;\n isOnlyTreso?: boolean;\n isOnlyEnga?: boolean;\n isGeneric?: boolean;\n isPersonalised?: boolean;\n forClient?: boolean;\n forFournisseur?: boolean;\n accountsSectors?: IAccountsSectors[];\n juridicalSociety?: number | null;\n idNature: number;\n customization?: number;\n idAccountType: number;\n idVat?: number | null;\n idRegisterCategorie?: number | null;\n idSector?: number | null;\n idParentAccount?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n nature?: INature;\n accountType?: IAccountType;\n tva?: IVat;\n registerCategorie?: IRegisterCategory;\n sector?: ISector;\n accountHelp?: IAccountHelp;\n accountDetails?: IAccountDetail[];\n societies?: ISociety[];\n machineLearningResults?: IMachineLearningResult[];\n}\n"]}
@@ -124,7 +124,8 @@ export declare enum Code {
124
124
  PREVIOUS_CHECKLIST_NOT_COMPLETED = "previous_checklist_not_completed",
125
125
  CAN_NOT_EDIT_COMPLETED_ISSUE = "can_not_edit_completed_issue",
126
126
  CAN_NOT_CONFIRM_CHECKLIST = "can_not_confirm_checklist",
127
- CHECKLIST_ALREADY_EXIST = "checklist_already_exist"
127
+ CHECKLIST_ALREADY_EXIST = "checklist_already_exist",
128
+ INVALID_BRAND = "invalid_brand"
128
129
  }
129
130
  export interface IApiError {
130
131
  type: ErrorType;
@@ -1 +1 @@
1
- {"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,QAAQ,cAAc;IACtB,SAAS,yBAAyB;IAClC,aAAa,cAAc;CAC5B;AAED,oBAAY,IAAI;IAEd,YAAY,i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AM,CAAC;CAChB"}
@@ -146,5 +146,6 @@ export var Code;
146
146
  Code["CAN_NOT_EDIT_COMPLETED_ISSUE"] = "can_not_edit_completed_issue";
147
147
  Code["CAN_NOT_CONFIRM_CHECKLIST"] = "can_not_confirm_checklist";
148
148
  Code["CHECKLIST_ALREADY_EXIST"] = "checklist_already_exist";
149
+ Code["INVALID_BRAND"] = "invalid_brand";
149
150
  })(Code || (Code = {}));
150
151
  //# sourceMappingURL=IApiError.js.map