bexio 3.3.0 → 3.5.0
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/coverage/base.css +224 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +146 -0
- package/coverage/prettify.css +1 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/jest_html_reporters.html +1 -0
- package/junit.xml +12 -142
- package/lib/index.d.ts +21 -0
- package/lib/index.js +18 -0
- package/lib/index.js.map +1 -1
- package/lib/interfaces/AccountsStatic.d.ts +14 -0
- package/lib/interfaces/AccountsStatic.js +3 -0
- package/lib/interfaces/AccountsStatic.js.map +1 -0
- package/lib/interfaces/BankAccountsStatic.d.ts +25 -0
- package/lib/interfaces/BankAccountsStatic.js +3 -0
- package/lib/interfaces/BankAccountsStatic.js.map +1 -0
- package/lib/interfaces/BillsV4Static.d.ts +204 -0
- package/lib/interfaces/BillsV4Static.js +60 -0
- package/lib/interfaces/BillsV4Static.js.map +1 -0
- package/lib/interfaces/ManualEntriesStatic.d.ts +42 -0
- package/lib/interfaces/ManualEntriesStatic.js +3 -0
- package/lib/interfaces/ManualEntriesStatic.js.map +1 -0
- package/lib/interfaces/OutgoingPaymentsStatic.d.ts +142 -0
- package/lib/interfaces/OutgoingPaymentsStatic.js +39 -0
- package/lib/interfaces/OutgoingPaymentsStatic.js.map +1 -0
- package/lib/interfaces/TaxesStatic.d.ts +31 -0
- package/lib/interfaces/TaxesStatic.js +3 -0
- package/lib/interfaces/TaxesStatic.js.map +1 -0
- package/lib/resources/Accounts.d.ts +49 -0
- package/lib/resources/Accounts.js +85 -0
- package/lib/resources/Accounts.js.map +1 -0
- package/lib/resources/BankAccounts.d.ts +49 -0
- package/lib/resources/BankAccounts.js +85 -0
- package/lib/resources/BankAccounts.js.map +1 -0
- package/lib/resources/BaseCrud.d.ts +4 -4
- package/lib/resources/BaseCrud.js +11 -3
- package/lib/resources/BaseCrud.js.map +1 -1
- package/lib/resources/Bills.d.ts +3 -0
- package/lib/resources/Bills.js +3 -0
- package/lib/resources/Bills.js.map +1 -1
- package/lib/resources/BillsV4.d.ts +52 -0
- package/lib/resources/BillsV4.js +86 -0
- package/lib/resources/BillsV4.js.map +1 -0
- package/lib/resources/Invoices.d.ts +9 -0
- package/lib/resources/Invoices.js +13 -0
- package/lib/resources/Invoices.js.map +1 -1
- package/lib/resources/ManualEntries.d.ts +50 -0
- package/lib/resources/ManualEntries.js +84 -0
- package/lib/resources/ManualEntries.js.map +1 -0
- package/lib/resources/OutgoingPayments.d.ts +63 -0
- package/lib/resources/OutgoingPayments.js +117 -0
- package/lib/resources/OutgoingPayments.js.map +1 -0
- package/lib/resources/Payments.d.ts +3 -0
- package/lib/resources/Payments.js +3 -0
- package/lib/resources/Payments.js.map +1 -1
- package/lib/resources/Taxes.d.ts +30 -0
- package/lib/resources/Taxes.js +70 -0
- package/lib/resources/Taxes.js.map +1 -0
- package/lib/tests/Accounts.test.d.ts +1 -0
- package/lib/tests/Accounts.test.js +86 -0
- package/lib/tests/Accounts.test.js.map +1 -0
- package/lib/tests/BankAccounts.test.d.ts +1 -0
- package/lib/tests/BankAccounts.test.js +86 -0
- package/lib/tests/BankAccounts.test.js.map +1 -0
- package/lib/tests/BaseCrud.test.js +9 -0
- package/lib/tests/BaseCrud.test.js.map +1 -1
- package/lib/tests/BillsV4.test.d.ts +1 -0
- package/lib/tests/BillsV4.test.js +134 -0
- package/lib/tests/BillsV4.test.js.map +1 -0
- package/lib/tests/Invoices.test.js +93 -3
- package/lib/tests/Invoices.test.js.map +1 -1
- package/lib/tests/ManualEntries.test.d.ts +1 -0
- package/lib/tests/ManualEntries.test.js +116 -0
- package/lib/tests/ManualEntries.test.js.map +1 -0
- package/lib/tests/OutgoingPayments.test.d.ts +1 -0
- package/lib/tests/OutgoingPayments.test.js +125 -0
- package/lib/tests/OutgoingPayments.test.js.map +1 -0
- package/lib/tests/Taxes.test.d.ts +1 -0
- package/lib/tests/Taxes.test.js +107 -0
- package/lib/tests/Taxes.test.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
body, html {
|
|
2
|
+
margin:0; padding: 0;
|
|
3
|
+
height: 100%;
|
|
4
|
+
}
|
|
5
|
+
body {
|
|
6
|
+
font-family: Helvetica Neue, Helvetica, Arial;
|
|
7
|
+
font-size: 14px;
|
|
8
|
+
color:#333;
|
|
9
|
+
}
|
|
10
|
+
.small { font-size: 12px; }
|
|
11
|
+
*, *:after, *:before {
|
|
12
|
+
-webkit-box-sizing:border-box;
|
|
13
|
+
-moz-box-sizing:border-box;
|
|
14
|
+
box-sizing:border-box;
|
|
15
|
+
}
|
|
16
|
+
h1 { font-size: 20px; margin: 0;}
|
|
17
|
+
h2 { font-size: 14px; }
|
|
18
|
+
pre {
|
|
19
|
+
font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
20
|
+
margin: 0;
|
|
21
|
+
padding: 0;
|
|
22
|
+
-moz-tab-size: 2;
|
|
23
|
+
-o-tab-size: 2;
|
|
24
|
+
tab-size: 2;
|
|
25
|
+
}
|
|
26
|
+
a { color:#0074D9; text-decoration:none; }
|
|
27
|
+
a:hover { text-decoration:underline; }
|
|
28
|
+
.strong { font-weight: bold; }
|
|
29
|
+
.space-top1 { padding: 10px 0 0 0; }
|
|
30
|
+
.pad2y { padding: 20px 0; }
|
|
31
|
+
.pad1y { padding: 10px 0; }
|
|
32
|
+
.pad2x { padding: 0 20px; }
|
|
33
|
+
.pad2 { padding: 20px; }
|
|
34
|
+
.pad1 { padding: 10px; }
|
|
35
|
+
.space-left2 { padding-left:55px; }
|
|
36
|
+
.space-right2 { padding-right:20px; }
|
|
37
|
+
.center { text-align:center; }
|
|
38
|
+
.clearfix { display:block; }
|
|
39
|
+
.clearfix:after {
|
|
40
|
+
content:'';
|
|
41
|
+
display:block;
|
|
42
|
+
height:0;
|
|
43
|
+
clear:both;
|
|
44
|
+
visibility:hidden;
|
|
45
|
+
}
|
|
46
|
+
.fl { float: left; }
|
|
47
|
+
@media only screen and (max-width:640px) {
|
|
48
|
+
.col3 { width:100%; max-width:100%; }
|
|
49
|
+
.hide-mobile { display:none!important; }
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.quiet {
|
|
53
|
+
color: #7f7f7f;
|
|
54
|
+
color: rgba(0,0,0,0.5);
|
|
55
|
+
}
|
|
56
|
+
.quiet a { opacity: 0.7; }
|
|
57
|
+
|
|
58
|
+
.fraction {
|
|
59
|
+
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
60
|
+
font-size: 10px;
|
|
61
|
+
color: #555;
|
|
62
|
+
background: #E8E8E8;
|
|
63
|
+
padding: 4px 5px;
|
|
64
|
+
border-radius: 3px;
|
|
65
|
+
vertical-align: middle;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
div.path a:link, div.path a:visited { color: #333; }
|
|
69
|
+
table.coverage {
|
|
70
|
+
border-collapse: collapse;
|
|
71
|
+
margin: 10px 0 0 0;
|
|
72
|
+
padding: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
table.coverage td {
|
|
76
|
+
margin: 0;
|
|
77
|
+
padding: 0;
|
|
78
|
+
vertical-align: top;
|
|
79
|
+
}
|
|
80
|
+
table.coverage td.line-count {
|
|
81
|
+
text-align: right;
|
|
82
|
+
padding: 0 5px 0 20px;
|
|
83
|
+
}
|
|
84
|
+
table.coverage td.line-coverage {
|
|
85
|
+
text-align: right;
|
|
86
|
+
padding-right: 10px;
|
|
87
|
+
min-width:20px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
table.coverage td span.cline-any {
|
|
91
|
+
display: inline-block;
|
|
92
|
+
padding: 0 5px;
|
|
93
|
+
width: 100%;
|
|
94
|
+
}
|
|
95
|
+
.missing-if-branch {
|
|
96
|
+
display: inline-block;
|
|
97
|
+
margin-right: 5px;
|
|
98
|
+
border-radius: 3px;
|
|
99
|
+
position: relative;
|
|
100
|
+
padding: 0 4px;
|
|
101
|
+
background: #333;
|
|
102
|
+
color: yellow;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.skip-if-branch {
|
|
106
|
+
display: none;
|
|
107
|
+
margin-right: 10px;
|
|
108
|
+
position: relative;
|
|
109
|
+
padding: 0 4px;
|
|
110
|
+
background: #ccc;
|
|
111
|
+
color: white;
|
|
112
|
+
}
|
|
113
|
+
.missing-if-branch .typ, .skip-if-branch .typ {
|
|
114
|
+
color: inherit !important;
|
|
115
|
+
}
|
|
116
|
+
.coverage-summary {
|
|
117
|
+
border-collapse: collapse;
|
|
118
|
+
width: 100%;
|
|
119
|
+
}
|
|
120
|
+
.coverage-summary tr { border-bottom: 1px solid #bbb; }
|
|
121
|
+
.keyline-all { border: 1px solid #ddd; }
|
|
122
|
+
.coverage-summary td, .coverage-summary th { padding: 10px; }
|
|
123
|
+
.coverage-summary tbody { border: 1px solid #bbb; }
|
|
124
|
+
.coverage-summary td { border-right: 1px solid #bbb; }
|
|
125
|
+
.coverage-summary td:last-child { border-right: none; }
|
|
126
|
+
.coverage-summary th {
|
|
127
|
+
text-align: left;
|
|
128
|
+
font-weight: normal;
|
|
129
|
+
white-space: nowrap;
|
|
130
|
+
}
|
|
131
|
+
.coverage-summary th.file { border-right: none !important; }
|
|
132
|
+
.coverage-summary th.pct { }
|
|
133
|
+
.coverage-summary th.pic,
|
|
134
|
+
.coverage-summary th.abs,
|
|
135
|
+
.coverage-summary td.pct,
|
|
136
|
+
.coverage-summary td.abs { text-align: right; }
|
|
137
|
+
.coverage-summary td.file { white-space: nowrap; }
|
|
138
|
+
.coverage-summary td.pic { min-width: 120px !important; }
|
|
139
|
+
.coverage-summary tfoot td { }
|
|
140
|
+
|
|
141
|
+
.coverage-summary .sorter {
|
|
142
|
+
height: 10px;
|
|
143
|
+
width: 7px;
|
|
144
|
+
display: inline-block;
|
|
145
|
+
margin-left: 0.5em;
|
|
146
|
+
background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
|
|
147
|
+
}
|
|
148
|
+
.coverage-summary .sorted .sorter {
|
|
149
|
+
background-position: 0 -20px;
|
|
150
|
+
}
|
|
151
|
+
.coverage-summary .sorted-desc .sorter {
|
|
152
|
+
background-position: 0 -10px;
|
|
153
|
+
}
|
|
154
|
+
.status-line { height: 10px; }
|
|
155
|
+
/* yellow */
|
|
156
|
+
.cbranch-no { background: yellow !important; color: #111; }
|
|
157
|
+
/* dark red */
|
|
158
|
+
.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
|
|
159
|
+
.low .chart { border:1px solid #C21F39 }
|
|
160
|
+
.highlighted,
|
|
161
|
+
.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
|
|
162
|
+
background: #C21F39 !important;
|
|
163
|
+
}
|
|
164
|
+
/* medium red */
|
|
165
|
+
.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
|
|
166
|
+
/* light red */
|
|
167
|
+
.low, .cline-no { background:#FCE1E5 }
|
|
168
|
+
/* light green */
|
|
169
|
+
.high, .cline-yes { background:rgb(230,245,208) }
|
|
170
|
+
/* medium green */
|
|
171
|
+
.cstat-yes { background:rgb(161,215,106) }
|
|
172
|
+
/* dark green */
|
|
173
|
+
.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
|
|
174
|
+
.high .chart { border:1px solid rgb(77,146,33) }
|
|
175
|
+
/* dark yellow (gold) */
|
|
176
|
+
.status-line.medium, .medium .cover-fill { background: #f9cd0b; }
|
|
177
|
+
.medium .chart { border:1px solid #f9cd0b; }
|
|
178
|
+
/* light yellow */
|
|
179
|
+
.medium { background: #fff4c2; }
|
|
180
|
+
|
|
181
|
+
.cstat-skip { background: #ddd; color: #111; }
|
|
182
|
+
.fstat-skip { background: #ddd; color: #111 !important; }
|
|
183
|
+
.cbranch-skip { background: #ddd !important; color: #111; }
|
|
184
|
+
|
|
185
|
+
span.cline-neutral { background: #eaeaea; }
|
|
186
|
+
|
|
187
|
+
.coverage-summary td.empty {
|
|
188
|
+
opacity: .5;
|
|
189
|
+
padding-top: 4px;
|
|
190
|
+
padding-bottom: 4px;
|
|
191
|
+
line-height: 1;
|
|
192
|
+
color: #888;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.cover-fill, .cover-empty {
|
|
196
|
+
display:inline-block;
|
|
197
|
+
height: 12px;
|
|
198
|
+
}
|
|
199
|
+
.chart {
|
|
200
|
+
line-height: 0;
|
|
201
|
+
}
|
|
202
|
+
.cover-empty {
|
|
203
|
+
background: white;
|
|
204
|
+
}
|
|
205
|
+
.cover-full {
|
|
206
|
+
border-right: none !important;
|
|
207
|
+
}
|
|
208
|
+
pre.prettyprint {
|
|
209
|
+
border: none !important;
|
|
210
|
+
padding: 0 !important;
|
|
211
|
+
margin: 0 !important;
|
|
212
|
+
}
|
|
213
|
+
.com { color: #999 !important; }
|
|
214
|
+
.ignore-none { color: #999; font-weight: normal; }
|
|
215
|
+
|
|
216
|
+
.wrapper {
|
|
217
|
+
min-height: 100%;
|
|
218
|
+
height: auto !important;
|
|
219
|
+
height: 100%;
|
|
220
|
+
margin: 0 auto -48px;
|
|
221
|
+
}
|
|
222
|
+
.footer, .push {
|
|
223
|
+
height: 48px;
|
|
224
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for All files</title>
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<link rel="stylesheet" href="prettify.css" />
|
|
9
|
+
<link rel="stylesheet" href="base.css" />
|
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="favicon.png" />
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
+
<style type='text/css'>
|
|
13
|
+
.coverage-summary .sorter {
|
|
14
|
+
background-image: url(sort-arrow-sprite.png);
|
|
15
|
+
}
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<div class='wrapper'>
|
|
21
|
+
<div class='pad1'>
|
|
22
|
+
<h1>All files</h1>
|
|
23
|
+
<div class='clearfix'>
|
|
24
|
+
|
|
25
|
+
<div class='fl pad1y space-right2'>
|
|
26
|
+
<span class="strong">2.77% </span>
|
|
27
|
+
<span class="quiet">Statements</span>
|
|
28
|
+
<span class='fraction'>16/577</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class='fl pad1y space-right2'>
|
|
33
|
+
<span class="strong">0% </span>
|
|
34
|
+
<span class="quiet">Branches</span>
|
|
35
|
+
<span class='fraction'>0/137</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<div class='fl pad1y space-right2'>
|
|
40
|
+
<span class="strong">6.06% </span>
|
|
41
|
+
<span class="quiet">Functions</span>
|
|
42
|
+
<span class='fraction'>10/165</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div class='fl pad1y space-right2'>
|
|
47
|
+
<span class="strong">2.78% </span>
|
|
48
|
+
<span class="quiet">Lines</span>
|
|
49
|
+
<span class='fraction'>16/574</span>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<p class="quiet">
|
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
|
+
</p>
|
|
57
|
+
<template id="filterTemplate">
|
|
58
|
+
<div class="quiet">
|
|
59
|
+
Filter:
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
</div>
|
|
64
|
+
<div class='status-line low'></div>
|
|
65
|
+
<div class="pad1">
|
|
66
|
+
<table class="coverage-summary">
|
|
67
|
+
<thead>
|
|
68
|
+
<tr>
|
|
69
|
+
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
|
|
70
|
+
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
|
|
71
|
+
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
|
|
72
|
+
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
73
|
+
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
|
|
74
|
+
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
75
|
+
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
|
|
76
|
+
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
77
|
+
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
|
|
78
|
+
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
79
|
+
</tr>
|
|
80
|
+
</thead>
|
|
81
|
+
<tbody><tr>
|
|
82
|
+
<td class="file low" data-value="src"><a href="src/index.html">src</a></td>
|
|
83
|
+
<td data-value="0" class="pic low">
|
|
84
|
+
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
85
|
+
</td>
|
|
86
|
+
<td data-value="0" class="pct low">0%</td>
|
|
87
|
+
<td data-value="75" class="abs low">0/75</td>
|
|
88
|
+
<td data-value="100" class="pct high">100%</td>
|
|
89
|
+
<td data-value="0" class="abs high">0/0</td>
|
|
90
|
+
<td data-value="0" class="pct low">0%</td>
|
|
91
|
+
<td data-value="1" class="abs low">0/1</td>
|
|
92
|
+
<td data-value="0" class="pct low">0%</td>
|
|
93
|
+
<td data-value="75" class="abs low">0/75</td>
|
|
94
|
+
</tr>
|
|
95
|
+
|
|
96
|
+
<tr>
|
|
97
|
+
<td class="file low" data-value="src/interfaces"><a href="src/interfaces/index.html">src/interfaces</a></td>
|
|
98
|
+
<td data-value="0" class="pic low">
|
|
99
|
+
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
100
|
+
</td>
|
|
101
|
+
<td data-value="0" class="pct low">0%</td>
|
|
102
|
+
<td data-value="318" class="abs low">0/318</td>
|
|
103
|
+
<td data-value="0" class="pct low">0%</td>
|
|
104
|
+
<td data-value="116" class="abs low">0/116</td>
|
|
105
|
+
<td data-value="0" class="pct low">0%</td>
|
|
106
|
+
<td data-value="58" class="abs low">0/58</td>
|
|
107
|
+
<td data-value="0" class="pct low">0%</td>
|
|
108
|
+
<td data-value="315" class="abs low">0/315</td>
|
|
109
|
+
</tr>
|
|
110
|
+
|
|
111
|
+
<tr>
|
|
112
|
+
<td class="file low" data-value="src/resources"><a href="src/resources/index.html">src/resources</a></td>
|
|
113
|
+
<td data-value="8.69" class="pic low">
|
|
114
|
+
<div class="chart"><div class="cover-fill" style="width: 8%"></div><div class="cover-empty" style="width: 92%"></div></div>
|
|
115
|
+
</td>
|
|
116
|
+
<td data-value="8.69" class="pct low">8.69%</td>
|
|
117
|
+
<td data-value="184" class="abs low">16/184</td>
|
|
118
|
+
<td data-value="0" class="pct low">0%</td>
|
|
119
|
+
<td data-value="21" class="abs low">0/21</td>
|
|
120
|
+
<td data-value="9.43" class="pct low">9.43%</td>
|
|
121
|
+
<td data-value="106" class="abs low">10/106</td>
|
|
122
|
+
<td data-value="8.69" class="pct low">8.69%</td>
|
|
123
|
+
<td data-value="184" class="abs low">16/184</td>
|
|
124
|
+
</tr>
|
|
125
|
+
|
|
126
|
+
</tbody>
|
|
127
|
+
</table>
|
|
128
|
+
</div>
|
|
129
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
130
|
+
</div><!-- /wrapper -->
|
|
131
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
132
|
+
Code coverage generated by
|
|
133
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
134
|
+
at 2026-01-05T19:12:38.115Z
|
|
135
|
+
</div>
|
|
136
|
+
<script src="prettify.js"></script>
|
|
137
|
+
<script>
|
|
138
|
+
window.onload = function () {
|
|
139
|
+
prettyPrint();
|
|
140
|
+
};
|
|
141
|
+
</script>
|
|
142
|
+
<script src="sorter.js"></script>
|
|
143
|
+
<script src="block-navigation.js"></script>
|
|
144
|
+
</body>
|
|
145
|
+
</html>
|
|
146
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!doctype html><html><head><meta charset="utf-8"><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><meta name="keywords" contect="jest, reporters"><meta name="author" contect="hazyzh"><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,minimum-scale=1,maximum-scale=1"><link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAHX0lEQVR4Xu2bfWwUVRDAZ/buSsG0Vxq1EAhtL/e2kKISAVEoKJVE4gfiR6wmJsoflpBANLZKqyRIgVg+/CLBNqKoMX5RKWhFsUbRBuJHRCoECLt7x0Jb5IBmr62tx+3dPrNH93Itd7e7xx0ccu+/dmfmzfz2vXmzu3MI1/jAazx+yADIrIBrnMDl2gK4atWqF8+ePXufx+OZFAgEbLG422w2/8SJE7fW1dXVAgBN9f1JOYD6+vqb2trafhUEYZSZYAghA3Pnzp1eXV19xIyeWdmUAli2bNmIY8eOeUVRzDbrmCo/duzYwPz580tqa2vdiegb0UkpgKVLl/7c2to6R3OEYRgoLS2F7OzoPHw+Hxw+fBgURQn7Xl5efqCxsfFWI8EkIpMQAIfDMc1iscxHxFmU0pGxJs7Pz79TkqTQZYfDAVu2bIHx48fH9bOvrw8WL14M+/fvD8nl5uZCT0/Pz1GU/ADQBQBuRPzF7/fvFUXRZxaCKQDFxcUlVqv1NUS8T28iu92uOh4WW7duHSxcuFBPLXR9586dsHz58rBsXl4eeL1ePd1/AGDjwMDA+s7Ozn/1hLXrhgGwLHsbpfQ7RMwzYvwKAAi5RSnlFUUpc7lcZ4z4aQiA0+m8HRF/QMSLMjmlVKV9FAD6hk84bty4OadOnQrNMXXqVGhoaAAVTLzR0dEBlZWV4HZfyHs5OTnQ29sbbQuol7MAYAYiMpE2KaVuWZZniaJ4Wg+CLgCWZR0A8AcAjNaMUUp9iLg6EAg0ud1uIdZ5XVVVtb2lpeVhTS/BJPhnY2Pj1FiBFBUVjcnKylpBKV0yDMTBnp6emR6Ppz8eBF0AhJAmRHw0IvjfZFl+XBRFUY9uZWWlzev1dra3t9+oJxvtupljkGXZ6QDQBACFEbZe5ziuKmEAhJBJiBguRCilXbIsTxZFUTcjaZOqECwWy762trbpsiwb4mCz2aCsrKydZdkFVVVVHYaUAIAQMgURfxvcGmo++BcRJ3Acdy6WjbgrgGXZegAIp2NFUR4UBOErow5FyqkVocfjqQ8Gg9fF07dYLP0FBQU1NTU1hxKZhxBSjYgbIlbsCzzPb0wIACHkCCJOGsyuB3iej1qQ9PrPPaUAPJ2Iw8nSQUBRAeat0VmjDxFCuhFRy7b7OI4rSwQAEkKCiBhaJYqi1AqCoK6I8JColIdycAcA3pWsQC7VDgW6aMbkmWrB8eCgLZnjOPW0iDpibgGn03kDwzDhs1RRlApBELYNAXC++xVEWHmpTidb/57Z974vSdIizW5/f//1XV1d3dHmiQnA4XAQq9XKaUrBYPBel8v1baQRr79brXMNFUbJDjKevZerV/z+/e4fbovwnbhcLvW4vmgkDECiUhHKyvHLGZjRuerrNpxo3tYcPg6DwWAKAMjSXUiVPUadupxyGQCZFZDZApkckBZJ8KjPBd/3tEXNfzmWHLg/rxxusOYnPT+mRRI8T/1wx5FHoDd40WuCcMB2Sw7smfgJ5FpykgohLQCogd96+AHdwL4peR/YEcW6cmYE0gKA6vAbnvdgs+ejmL7Ps8+ChsI1gEn+RJk2AMzctWTKZgBkCqFMIZQphNKiEEpmYjNjK5ME0ykJquVwb6DXzA0cIuvILjRdLqfNCqjpWAdfSEPeopkGUWC7HlrIu5BvNf7mLS0AdAckmHHkIdMBR1PYXFgH99jDbQa6NtMCgAIKzDlaAafls7oOxxNQy+RdJVtNPS+kBQA1qE7/39As7b4kAJNHlkB57kxTNtIGgCmvkyicAZBOx2ASb6xhU5kVkFkBSXgaLCkpKVZ7bbR1N/zboJTOX4ZWrz/Z/PmOCZrviqI4BUFwRdtDMb8NFhQUXGe329XWs9BQFOVJQRA+1v5OZwA1z7/094+te8Zqvvp8vvyTJ09eaFgcNuJ2iBBCehAxV9WhlK7leX7F1QCgYsETfcfdovaqOcBxXMzmbL0WmR0AoHU3HuI47uYwAL80BUE5YDg1XyZBz+kz8MA8rTciNOlejuNmx5o+LgCn0/kkwzCRr3UXcxz3jmbM6+9OeTu7WW51K9bA1zt3hdUURXleEIQ3EgJQWlqaJcvyCQAYM7gNfMFg8Ba32x1qnJD83R8gwFNmnUyV/Jfbv4K1K1+NNN/n8/kKY+1/VVC3T9DpdC5hGOZtzSqlVH26WcTz/C61Rwhk5ScEuCVVQRm1+8mHn8KbGzYNEaeUPsvz/NB/mkmCmizLsp8BQEWkLqV0OwBsav299WDeqNznAOBpxCFNikZ9T0iuv78fXLwbXLwLvm3ZDe1//jXcThPHcY/pGdddAYMGbISQTxHxET2D6XCdUvoFz/NPAEBAzx+jAFQ7DMuyjQDwjJ7RK3mdUtrA8/xStXQx4ocZACF76o8lrFbrKkrp3Yg4wsgkqZahlJ5Xu9kDgcBKt9utNnYbHqYBRFi2OZ3OaYhYRCktZBgmod8FGfZ0mCCldEB950IpPS4Ighq0sUbkRJJgok5eDXqXsgKuhvh0fcwA0EX0Pxf4Dws8WYyVxouxAAAAAElFTkSuQmCC"></head><title>Report</title><body><div id="app"></div><script defer="defer" src="./jest-html-reporters-attach/jest_html_reporters/index.js"></script></body></html>
|
package/junit.xml
CHANGED
|
@@ -1,155 +1,25 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<testsuites name="jest tests" tests="
|
|
3
|
-
<testsuite name="
|
|
4
|
-
<testcase classname="
|
|
2
|
+
<testsuites name="jest tests" tests="10" failures="0" errors="0" time="1.558">
|
|
3
|
+
<testsuite name="ManualEntries" errors="0" failures="0" skipped="0" timestamp="2026-01-05T19:12:30" time="1.365" tests="10">
|
|
4
|
+
<testcase classname="ManualEntries Should use init the base correctly" name="ManualEntries Should use init the base correctly" time="0.002">
|
|
5
5
|
</testcase>
|
|
6
|
-
|
|
7
|
-
<testsuite name="ContactRelations" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.468" tests="1">
|
|
8
|
-
<testcase classname="ContactRelations Should use init the base correctly" name="ContactRelations Should use init the base correctly" time="0.017">
|
|
9
|
-
</testcase>
|
|
10
|
-
</testsuite>
|
|
11
|
-
<testsuite name="Expenses" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.583" tests="1">
|
|
12
|
-
<testcase classname="Expenses Should use init the base correctly" name="Expenses Should use init the base correctly" time="0.012">
|
|
13
|
-
</testcase>
|
|
14
|
-
</testsuite>
|
|
15
|
-
<testsuite name="BaseCrud" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.471" tests="29">
|
|
16
|
-
<testcase classname="BaseCrud list Should be a GET request" name="BaseCrud list Should be a GET request" time="0.009">
|
|
17
|
-
</testcase>
|
|
18
|
-
<testcase classname="BaseCrud list Should use the given endpoint" name="BaseCrud list Should use the given endpoint" time="0.002">
|
|
19
|
-
</testcase>
|
|
20
|
-
<testcase classname="BaseCrud list Should pass the options to request" name="BaseCrud list Should pass the options to request" time="0.002">
|
|
21
|
-
</testcase>
|
|
22
|
-
<testcase classname="BaseCrud search Should be a POST request" name="BaseCrud search Should be a POST request" time="0.002">
|
|
23
|
-
</testcase>
|
|
24
|
-
<testcase classname="BaseCrud search Should use the given endpoint" name="BaseCrud search Should use the given endpoint" time="0.005">
|
|
25
|
-
</testcase>
|
|
26
|
-
<testcase classname="BaseCrud search Should contain the request body" name="BaseCrud search Should contain the request body" time="0.003">
|
|
27
|
-
</testcase>
|
|
28
|
-
<testcase classname="BaseCrud search Should pass the options to request" name="BaseCrud search Should pass the options to request" time="0.005">
|
|
29
|
-
</testcase>
|
|
30
|
-
<testcase classname="BaseCrud show Should be a GET request" name="BaseCrud show Should be a GET request" time="0.001">
|
|
31
|
-
</testcase>
|
|
32
|
-
<testcase classname="BaseCrud show Should use the given endpoint" name="BaseCrud show Should use the given endpoint" time="0.01">
|
|
33
|
-
</testcase>
|
|
34
|
-
<testcase classname="BaseCrud show Should pass the options to request" name="BaseCrud show Should pass the options to request" time="0.001">
|
|
35
|
-
</testcase>
|
|
36
|
-
<testcase classname="BaseCrud create Should be a POST request" name="BaseCrud create Should be a POST request" time="0.001">
|
|
37
|
-
</testcase>
|
|
38
|
-
<testcase classname="BaseCrud create Should use the given endpoint" name="BaseCrud create Should use the given endpoint" time="0.004">
|
|
39
|
-
</testcase>
|
|
40
|
-
<testcase classname="BaseCrud create Should contain the request body" name="BaseCrud create Should contain the request body" time="0.001">
|
|
6
|
+
<testcase classname="ManualEntries list Should call request with GET" name="ManualEntries list Should call request with GET" time="0.002">
|
|
41
7
|
</testcase>
|
|
42
|
-
<testcase classname="
|
|
8
|
+
<testcase classname="ManualEntries list Should pass options to request" name="ManualEntries list Should pass options to request" time="0">
|
|
43
9
|
</testcase>
|
|
44
|
-
<testcase classname="
|
|
10
|
+
<testcase classname="ManualEntries create Should call request with POST and correct data" name="ManualEntries create Should call request with POST and correct data" time="0">
|
|
45
11
|
</testcase>
|
|
46
|
-
<testcase classname="
|
|
12
|
+
<testcase classname="ManualEntries show Should throw not implemented error" name="ManualEntries show Should throw not implemented error" time="0.005">
|
|
47
13
|
</testcase>
|
|
48
|
-
<testcase classname="
|
|
14
|
+
<testcase classname="ManualEntries overwrite Should call request with PUT and correct path and data" name="ManualEntries overwrite Should call request with PUT and correct path and data" time="0.001">
|
|
49
15
|
</testcase>
|
|
50
|
-
<testcase classname="
|
|
16
|
+
<testcase classname="ManualEntries delete Should call request with DELETE and correct path" name="ManualEntries delete Should call request with DELETE and correct path" time="0">
|
|
51
17
|
</testcase>
|
|
52
|
-
<testcase classname="
|
|
18
|
+
<testcase classname="ManualEntries search Should throw not implemented error" name="ManualEntries search Should throw not implemented error" time="0">
|
|
53
19
|
</testcase>
|
|
54
|
-
<testcase classname="
|
|
20
|
+
<testcase classname="ManualEntries edit Should throw not implemented error" name="ManualEntries edit Should throw not implemented error" time="0.001">
|
|
55
21
|
</testcase>
|
|
56
|
-
<testcase classname="
|
|
57
|
-
</testcase>
|
|
58
|
-
<testcase classname="BaseCrud delete Should return the success value" name="BaseCrud delete Should return the success value" time="0.001">
|
|
59
|
-
</testcase>
|
|
60
|
-
<testcase classname="BaseCrud request Should create the request options" name="BaseCrud request Should create the request options" time="0.002">
|
|
61
|
-
</testcase>
|
|
62
|
-
<testcase classname="BaseCrud request Should add a data param if present" name="BaseCrud request Should add a data param if present" time="0.001">
|
|
63
|
-
</testcase>
|
|
64
|
-
<testcase classname="BaseCrud request Should add options as GET params" name="BaseCrud request Should add options as GET params" time="0.004">
|
|
65
|
-
</testcase>
|
|
66
|
-
<testcase classname="BaseCrud request Should normalize an error" name="BaseCrud request Should normalize an error" time="0.006">
|
|
67
|
-
</testcase>
|
|
68
|
-
<testcase classname="BaseCrud optionsToQuery Should return an empty string" name="BaseCrud optionsToQuery Should return an empty string" time="0.001">
|
|
69
|
-
</testcase>
|
|
70
|
-
<testcase classname="BaseCrud optionsToQuery Should return an GET parameter string" name="BaseCrud optionsToQuery Should return an GET parameter string" time="0.001">
|
|
71
|
-
</testcase>
|
|
72
|
-
<testcase classname="BaseCrud optionsToQuery Should url encode the parameters" name="BaseCrud optionsToQuery Should url encode the parameters" time="0.001">
|
|
73
|
-
</testcase>
|
|
74
|
-
</testsuite>
|
|
75
|
-
<testsuite name="ProjectStatuses" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.473" tests="1">
|
|
76
|
-
<testcase classname="ProjectStatuses Should use init the base correctly" name="ProjectStatuses Should use init the base correctly" time="0.016">
|
|
77
|
-
</testcase>
|
|
78
|
-
</testsuite>
|
|
79
|
-
<testsuite name="Payments" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.618" tests="1">
|
|
80
|
-
<testcase classname="Payments Should use init the base correctly" name="Payments Should use init the base correctly" time="0.011">
|
|
81
|
-
</testcase>
|
|
82
|
-
</testsuite>
|
|
83
|
-
<testsuite name="Users" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.634" tests="1">
|
|
84
|
-
<testcase classname="Users Should use init the base correctly" name="Users Should use init the base correctly" time="0.01">
|
|
85
|
-
</testcase>
|
|
86
|
-
</testsuite>
|
|
87
|
-
<testsuite name="ProjectTypes" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.67" tests="1">
|
|
88
|
-
<testcase classname="ProjectTypes Should use init the base correctly" name="ProjectTypes Should use init the base correctly" time="0.011">
|
|
89
|
-
</testcase>
|
|
90
|
-
</testsuite>
|
|
91
|
-
<testsuite name="TimetrackingStatuses" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.711" tests="1">
|
|
92
|
-
<testcase classname="TimetrackingStatuses Should use init the base correctly" name="TimetrackingStatuses Should use init the base correctly" time="0.011">
|
|
93
|
-
</testcase>
|
|
94
|
-
</testsuite>
|
|
95
|
-
<testsuite name="Bills" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.736" tests="11">
|
|
96
|
-
<testcase classname="Bills Should use init the base correctly" name="Bills Should use init the base correctly" time="0.013">
|
|
97
|
-
</testcase>
|
|
98
|
-
<testcase classname="Bills issue request" name="Bills issue request" time="0.002">
|
|
99
|
-
</testcase>
|
|
100
|
-
<testcase classname="Bills revertIssue request" name="Bills revertIssue request" time="0.002">
|
|
101
|
-
</testcase>
|
|
102
|
-
<testcase classname="Bills list Should call base list" name="Bills list Should call base list" time="0.002">
|
|
103
|
-
</testcase>
|
|
104
|
-
<testcase classname="Bills list Should pass options to base list" name="Bills list Should pass options to base list" time="0.002">
|
|
105
|
-
</testcase>
|
|
106
|
-
<testcase classname="Bills showPayment Should create a new Payment object" name="Bills showPayment Should create a new Payment object" time="0.003">
|
|
107
|
-
</testcase>
|
|
108
|
-
<testcase classname="Bills showPayment Should pass the options down" name="Bills showPayment Should pass the options down" time="0.004">
|
|
109
|
-
</testcase>
|
|
110
|
-
<testcase classname="Bills createPayment Should create a new Payment object" name="Bills createPayment Should create a new Payment object" time="0.003">
|
|
111
|
-
</testcase>
|
|
112
|
-
<testcase classname="Bills createPayment Should call create" name="Bills createPayment Should call create" time="0.01">
|
|
113
|
-
</testcase>
|
|
114
|
-
<testcase classname="Bills deletePayment Should create a new Payment object" name="Bills deletePayment Should create a new Payment object" time="0.002">
|
|
115
|
-
</testcase>
|
|
116
|
-
<testcase classname="Bills deletePayment Should call delete" name="Bills deletePayment Should call delete" time="0.002">
|
|
117
|
-
</testcase>
|
|
118
|
-
</testsuite>
|
|
119
|
-
<testsuite name="Invoices" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.745" tests="1">
|
|
120
|
-
<testcase classname="Invoices Should use init the base correctly" name="Invoices Should use init the base correctly" time="0.006">
|
|
121
|
-
</testcase>
|
|
122
|
-
</testsuite>
|
|
123
|
-
<testsuite name="Orders" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.746" tests="1">
|
|
124
|
-
<testcase classname="Orders Should use init the base correctly" name="Orders Should use init the base correctly" time="0.009">
|
|
125
|
-
</testcase>
|
|
126
|
-
</testsuite>
|
|
127
|
-
<testsuite name="Projects" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.76" tests="1">
|
|
128
|
-
<testcase classname="Projects Should use init the base correctly" name="Projects Should use init the base correctly" time="0.011">
|
|
129
|
-
</testcase>
|
|
130
|
-
</testsuite>
|
|
131
|
-
<testsuite name="Timetrackings" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.783" tests="1">
|
|
132
|
-
<testcase classname="Timetrackings Should use init the base correctly" name="Timetrackings Should use init the base correctly" time="0.005">
|
|
133
|
-
</testcase>
|
|
134
|
-
</testsuite>
|
|
135
|
-
<testsuite name="ContactTypes" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.745" tests="1">
|
|
136
|
-
<testcase classname="ContactTypes Should use init the base correctly" name="ContactTypes Should use init the base correctly" time="0.008">
|
|
137
|
-
</testcase>
|
|
138
|
-
</testsuite>
|
|
139
|
-
<testsuite name="ContactSectors" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.744" tests="1">
|
|
140
|
-
<testcase classname="ContactSectors Should use init the base correctly" name="ContactSectors Should use init the base correctly" time="0.008">
|
|
141
|
-
</testcase>
|
|
142
|
-
</testsuite>
|
|
143
|
-
<testsuite name="ContactGroups" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.815" tests="1">
|
|
144
|
-
<testcase classname="ContactGroups Should use init the base correctly" name="ContactGroups Should use init the base correctly" time="0.01">
|
|
145
|
-
</testcase>
|
|
146
|
-
</testsuite>
|
|
147
|
-
<testsuite name="Items" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.858" tests="1">
|
|
148
|
-
<testcase classname="Items Should use init the base correctly" name="Items Should use init the base correctly" time="0.006">
|
|
149
|
-
</testcase>
|
|
150
|
-
</testsuite>
|
|
151
|
-
<testsuite name="BusinessActivities" errors="0" failures="0" skipped="0" timestamp="2025-11-25T13:59:43" time="4.847" tests="1">
|
|
152
|
-
<testcase classname="BusinessActivities Should use init the base correctly" name="BusinessActivities Should use init the base correctly" time="0.005">
|
|
22
|
+
<testcase classname="ManualEntries getNextReferenceNumber Should call request with GET and correct path" name="ManualEntries getNextReferenceNumber Should call request with GET and correct path" time="0.001">
|
|
153
23
|
</testcase>
|
|
154
24
|
</testsuite>
|
|
155
25
|
</testsuites>
|
package/lib/index.d.ts
CHANGED
|
@@ -16,6 +16,12 @@ import Users from "./resources/Users";
|
|
|
16
16
|
import Items from "./resources/Items";
|
|
17
17
|
import Invoices from "./resources/Invoices";
|
|
18
18
|
import Currencies from "./resources/Currencies";
|
|
19
|
+
import BillsV4 from "./resources/BillsV4";
|
|
20
|
+
import OutgoingPayments from "./resources/OutgoingPayments";
|
|
21
|
+
import BankAccounts from "./resources/BankAccounts";
|
|
22
|
+
import Accounts from "./resources/Accounts";
|
|
23
|
+
import ManualEntries from "./resources/ManualEntries";
|
|
24
|
+
import Taxes from "./resources/Taxes";
|
|
19
25
|
export * from "./interfaces/BillsStatic";
|
|
20
26
|
export * from "./interfaces/BusinessActivitiesStatic";
|
|
21
27
|
export * from "./interfaces/CalendarStatic";
|
|
@@ -38,6 +44,12 @@ export * from "./interfaces/ItemsStatic";
|
|
|
38
44
|
export * from "./interfaces/InvoicesStatic";
|
|
39
45
|
export * from "./interfaces/PositionStatic";
|
|
40
46
|
export * from "./interfaces/CurrenciesStatic";
|
|
47
|
+
export * from "./interfaces/BillsV4Static";
|
|
48
|
+
export * from "./interfaces/OutgoingPaymentsStatic";
|
|
49
|
+
export * from "./interfaces/BankAccountsStatic";
|
|
50
|
+
export * from "./interfaces/AccountsStatic";
|
|
51
|
+
export * from "./interfaces/ManualEntriesStatic";
|
|
52
|
+
export * from "./interfaces/TaxesStatic";
|
|
41
53
|
export default class Bexio {
|
|
42
54
|
private token;
|
|
43
55
|
businessActivities: BusinessActivities;
|
|
@@ -48,6 +60,11 @@ export default class Bexio {
|
|
|
48
60
|
contactRelations: ContactRelations;
|
|
49
61
|
orders: Orders;
|
|
50
62
|
expenses: Expenses;
|
|
63
|
+
billsV4: BillsV4;
|
|
64
|
+
outgoingPayments: OutgoingPayments;
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated Use BillsV4 instead
|
|
67
|
+
*/
|
|
51
68
|
bills: Bills;
|
|
52
69
|
projects: Projects;
|
|
53
70
|
projectStatuses: ProjectStatuses;
|
|
@@ -58,5 +75,9 @@ export default class Bexio {
|
|
|
58
75
|
items: Items;
|
|
59
76
|
invoices: Invoices;
|
|
60
77
|
currencies: Currencies;
|
|
78
|
+
bankAccounts: BankAccounts;
|
|
79
|
+
accounts: Accounts;
|
|
80
|
+
manualEntries: ManualEntries;
|
|
81
|
+
taxes: Taxes;
|
|
61
82
|
constructor(token: string);
|
|
62
83
|
}
|
package/lib/index.js
CHANGED
|
@@ -35,6 +35,12 @@ const Users_1 = __importDefault(require("./resources/Users"));
|
|
|
35
35
|
const Items_1 = __importDefault(require("./resources/Items"));
|
|
36
36
|
const Invoices_1 = __importDefault(require("./resources/Invoices"));
|
|
37
37
|
const Currencies_1 = __importDefault(require("./resources/Currencies"));
|
|
38
|
+
const BillsV4_1 = __importDefault(require("./resources/BillsV4"));
|
|
39
|
+
const OutgoingPayments_1 = __importDefault(require("./resources/OutgoingPayments"));
|
|
40
|
+
const BankAccounts_1 = __importDefault(require("./resources/BankAccounts"));
|
|
41
|
+
const Accounts_1 = __importDefault(require("./resources/Accounts"));
|
|
42
|
+
const ManualEntries_1 = __importDefault(require("./resources/ManualEntries"));
|
|
43
|
+
const Taxes_1 = __importDefault(require("./resources/Taxes"));
|
|
38
44
|
__exportStar(require("./interfaces/BillsStatic"), exports);
|
|
39
45
|
__exportStar(require("./interfaces/BusinessActivitiesStatic"), exports);
|
|
40
46
|
__exportStar(require("./interfaces/CalendarStatic"), exports);
|
|
@@ -57,6 +63,12 @@ __exportStar(require("./interfaces/ItemsStatic"), exports);
|
|
|
57
63
|
__exportStar(require("./interfaces/InvoicesStatic"), exports);
|
|
58
64
|
__exportStar(require("./interfaces/PositionStatic"), exports);
|
|
59
65
|
__exportStar(require("./interfaces/CurrenciesStatic"), exports);
|
|
66
|
+
__exportStar(require("./interfaces/BillsV4Static"), exports);
|
|
67
|
+
__exportStar(require("./interfaces/OutgoingPaymentsStatic"), exports);
|
|
68
|
+
__exportStar(require("./interfaces/BankAccountsStatic"), exports);
|
|
69
|
+
__exportStar(require("./interfaces/AccountsStatic"), exports);
|
|
70
|
+
__exportStar(require("./interfaces/ManualEntriesStatic"), exports);
|
|
71
|
+
__exportStar(require("./interfaces/TaxesStatic"), exports);
|
|
60
72
|
class Bexio {
|
|
61
73
|
constructor(token) {
|
|
62
74
|
this.token = token;
|
|
@@ -72,6 +84,8 @@ class Bexio {
|
|
|
72
84
|
this.projectStatuses = new ProjectStatuses_1.default(this.token);
|
|
73
85
|
this.projectTypes = new ProjectTypes_1.default(this.token);
|
|
74
86
|
this.expenses = new Expenses_1.default(this.token);
|
|
87
|
+
this.billsV4 = new BillsV4_1.default(this.token);
|
|
88
|
+
this.outgoingPayments = new OutgoingPayments_1.default(this.token);
|
|
75
89
|
this.bills = new Bills_1.default(this.token);
|
|
76
90
|
this.timetrackings = new Timetrackings_1.default(this.token);
|
|
77
91
|
this.timetrackingStatuses = new TimetrackingStatuses_1.default(this.token);
|
|
@@ -79,6 +93,10 @@ class Bexio {
|
|
|
79
93
|
this.items = new Items_1.default(this.token);
|
|
80
94
|
this.invoices = new Invoices_1.default(this.token);
|
|
81
95
|
this.currencies = new Currencies_1.default(this.token);
|
|
96
|
+
this.bankAccounts = new BankAccounts_1.default(this.token);
|
|
97
|
+
this.accounts = new Accounts_1.default(this.token);
|
|
98
|
+
this.manualEntries = new ManualEntries_1.default(this.token);
|
|
99
|
+
this.taxes = new Taxes_1.default(this.token);
|
|
82
100
|
}
|
|
83
101
|
}
|
|
84
102
|
exports.default = Bexio;
|