bexio 3.3.0 → 3.4.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/block-navigation.js +87 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +146 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +210 -0
- package/jest-html-reporters-attach/jest_html_reporters/index.js +3 -0
- package/jest-html-reporters-attach/jest_html_reporters/result.js +1 -0
- package/jest_html_reporters.html +1 -0
- package/junit.xml +150 -66
- package/lib/index.d.ts +12 -0
- package/lib/index.js +9 -0
- package/lib/index.js.map +1 -1
- 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/OutgoingPaymentsStatic.d.ts +142 -0
- package/lib/interfaces/OutgoingPaymentsStatic.js +39 -0
- package/lib/interfaces/OutgoingPaymentsStatic.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/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/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/OutgoingPayments.test.d.ts +1 -0
- package/lib/tests/OutgoingPayments.test.js +125 -0
- package/lib/tests/OutgoingPayments.test.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
export declare namespace BillsV4Static {
|
|
2
|
+
interface Bill {
|
|
3
|
+
id: string;
|
|
4
|
+
document_no: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
status: BillStatus;
|
|
7
|
+
firstname_suffix?: string;
|
|
8
|
+
lastname_company: string;
|
|
9
|
+
created_at: string;
|
|
10
|
+
vendor_ref?: string;
|
|
11
|
+
pending_amount?: number;
|
|
12
|
+
currency_code: string;
|
|
13
|
+
net?: number;
|
|
14
|
+
gross?: number;
|
|
15
|
+
bill_date: string;
|
|
16
|
+
due_date: string;
|
|
17
|
+
overdue: boolean;
|
|
18
|
+
booking_account_ids: number[];
|
|
19
|
+
attachment_ids: string[];
|
|
20
|
+
}
|
|
21
|
+
interface BillFull extends Bill {
|
|
22
|
+
supplier_id: number;
|
|
23
|
+
contact_partner_id: number;
|
|
24
|
+
amount_man: number;
|
|
25
|
+
amount_calc: number;
|
|
26
|
+
manual_amount: boolean;
|
|
27
|
+
exchange_rate: number;
|
|
28
|
+
base_currency_code: string;
|
|
29
|
+
item_net: boolean;
|
|
30
|
+
split_into_line_items: boolean;
|
|
31
|
+
purchase_order_id?: number;
|
|
32
|
+
base_currency_amount: number;
|
|
33
|
+
qr_bill_information?: string;
|
|
34
|
+
address: Address;
|
|
35
|
+
line_items: LineItem[];
|
|
36
|
+
discounts: Discount[];
|
|
37
|
+
payment?: Payment;
|
|
38
|
+
note?: string;
|
|
39
|
+
}
|
|
40
|
+
interface Address {
|
|
41
|
+
title?: string;
|
|
42
|
+
salutation?: string;
|
|
43
|
+
firstname_suffix?: string;
|
|
44
|
+
lastname_company: string;
|
|
45
|
+
address_line?: string;
|
|
46
|
+
postcode?: string;
|
|
47
|
+
city?: string;
|
|
48
|
+
country_code?: string;
|
|
49
|
+
main_contact_id?: number;
|
|
50
|
+
contact_address_id?: number;
|
|
51
|
+
type: "PRIVATE" | "COMPANY";
|
|
52
|
+
}
|
|
53
|
+
interface LineItem {
|
|
54
|
+
position: number;
|
|
55
|
+
title?: string;
|
|
56
|
+
tax_id?: number;
|
|
57
|
+
amount: number;
|
|
58
|
+
booking_account_id?: number;
|
|
59
|
+
}
|
|
60
|
+
interface Discount {
|
|
61
|
+
position: number;
|
|
62
|
+
amount: number;
|
|
63
|
+
}
|
|
64
|
+
interface Payment {
|
|
65
|
+
type: PaymentType;
|
|
66
|
+
bank_account_id?: number;
|
|
67
|
+
fee?: PaymentFee;
|
|
68
|
+
execution_date: string;
|
|
69
|
+
exchange_rate?: number;
|
|
70
|
+
amount: number;
|
|
71
|
+
account_no?: string;
|
|
72
|
+
iban?: string;
|
|
73
|
+
name?: string;
|
|
74
|
+
address?: string;
|
|
75
|
+
street?: string;
|
|
76
|
+
house_no?: string;
|
|
77
|
+
postcode?: string;
|
|
78
|
+
city?: string;
|
|
79
|
+
country_code?: string;
|
|
80
|
+
message?: string;
|
|
81
|
+
booking_text?: string;
|
|
82
|
+
salary_payment?: boolean;
|
|
83
|
+
reference_no?: string;
|
|
84
|
+
}
|
|
85
|
+
interface BillCreate {
|
|
86
|
+
supplier_id: number;
|
|
87
|
+
vendor_ref?: string;
|
|
88
|
+
title?: string;
|
|
89
|
+
contact_partner_id: number;
|
|
90
|
+
bill_date: string;
|
|
91
|
+
due_date: string;
|
|
92
|
+
amount_man?: number;
|
|
93
|
+
amount_calc?: number;
|
|
94
|
+
manual_amount: boolean;
|
|
95
|
+
currency_code: string;
|
|
96
|
+
exchange_rate?: number;
|
|
97
|
+
base_currency_amount?: number;
|
|
98
|
+
item_net: boolean;
|
|
99
|
+
purchase_order_id?: number;
|
|
100
|
+
qr_bill_information?: string;
|
|
101
|
+
attachment_ids: string[];
|
|
102
|
+
address: Address;
|
|
103
|
+
line_items: LineItem[];
|
|
104
|
+
discounts: Discount[];
|
|
105
|
+
payment?: Payment;
|
|
106
|
+
salary_payment?: boolean;
|
|
107
|
+
reference_no?: string;
|
|
108
|
+
note?: string;
|
|
109
|
+
}
|
|
110
|
+
interface BillOverwrite {
|
|
111
|
+
document_no?: string;
|
|
112
|
+
title?: string;
|
|
113
|
+
supplier_id: number;
|
|
114
|
+
vendor_ref?: string;
|
|
115
|
+
contact_partner_id: number;
|
|
116
|
+
bill_date: string;
|
|
117
|
+
due_date: string;
|
|
118
|
+
amount_man?: number;
|
|
119
|
+
amount_calc?: number;
|
|
120
|
+
manual_amount: boolean;
|
|
121
|
+
currency_code: string;
|
|
122
|
+
exchange_rate?: number;
|
|
123
|
+
item_net: boolean;
|
|
124
|
+
split_into_line_items: boolean;
|
|
125
|
+
base_currency_amount?: number;
|
|
126
|
+
attachment_ids: string[];
|
|
127
|
+
address: Address;
|
|
128
|
+
line_items: LineItem[];
|
|
129
|
+
discounts: Discount[];
|
|
130
|
+
payment?: Payment;
|
|
131
|
+
}
|
|
132
|
+
enum SearchParameters {
|
|
133
|
+
document_no = "document_no",
|
|
134
|
+
title = "title",
|
|
135
|
+
vendor_ref = "vendor_ref",
|
|
136
|
+
currency_code = "currency_code",
|
|
137
|
+
lastname_company = "lastname_company",
|
|
138
|
+
firstname_suffix = "firstname_suffix"
|
|
139
|
+
}
|
|
140
|
+
enum BillStatusUpdate {
|
|
141
|
+
DRAFT = "DRAFT",
|
|
142
|
+
BOOKED = "BOOKED"
|
|
143
|
+
}
|
|
144
|
+
enum BillAction {
|
|
145
|
+
DUPLICATE = "DUPLICATE"
|
|
146
|
+
}
|
|
147
|
+
enum BillStatusFilter {
|
|
148
|
+
DRAFTS = "DRAFTS",
|
|
149
|
+
TODO = "TODO",
|
|
150
|
+
PAID = "PAID",
|
|
151
|
+
OVERDUE = "OVERDUE"
|
|
152
|
+
}
|
|
153
|
+
interface ListOptions {
|
|
154
|
+
limit?: number;
|
|
155
|
+
page?: number;
|
|
156
|
+
order?: "asc" | "desc";
|
|
157
|
+
sort?: string;
|
|
158
|
+
search_term?: string;
|
|
159
|
+
"fields[]"?: string[];
|
|
160
|
+
status?: BillStatusFilter;
|
|
161
|
+
bill_date_start?: string;
|
|
162
|
+
bill_date_end?: string;
|
|
163
|
+
due_date_start?: string;
|
|
164
|
+
due_date_end?: string;
|
|
165
|
+
vendor_ref?: string;
|
|
166
|
+
title?: string;
|
|
167
|
+
currency_code?: string;
|
|
168
|
+
pending_amount_min?: number;
|
|
169
|
+
pending_amount_max?: number;
|
|
170
|
+
vendor?: string;
|
|
171
|
+
gross_min?: number;
|
|
172
|
+
gross_max?: number;
|
|
173
|
+
net_min?: number;
|
|
174
|
+
net_max?: number;
|
|
175
|
+
document_no?: string;
|
|
176
|
+
supplier_id?: number;
|
|
177
|
+
average_exchange_rate_enabled?: boolean;
|
|
178
|
+
}
|
|
179
|
+
enum PaymentType {
|
|
180
|
+
IBAN = "IBAN",
|
|
181
|
+
MANUAL = "MANUAL",
|
|
182
|
+
QR = "QR"
|
|
183
|
+
}
|
|
184
|
+
enum PaymentFee {
|
|
185
|
+
BY_SENDER = "BY_SENDER",
|
|
186
|
+
BY_RECEIVER = "BY_RECEIVER",
|
|
187
|
+
BREAKDOWN = "BREAKDOWN",
|
|
188
|
+
NO_FEE = "NO_FEE"
|
|
189
|
+
}
|
|
190
|
+
enum BillStatus {
|
|
191
|
+
DRAFT = "DRAFT",
|
|
192
|
+
BOOKED = "BOOKED",
|
|
193
|
+
PARTIALLY_CREATED = "PARTIALLY_CREATED",
|
|
194
|
+
CREATED = "CREATED",
|
|
195
|
+
PARTIALLY_SENT = "PARTIALLY_SENT",
|
|
196
|
+
SENT = "SENT",
|
|
197
|
+
PARTIALLY_DOWNLOADED = "PARTIALLY_DOWNLOADED",
|
|
198
|
+
DOWNLOADED = "DOWNLOADED",
|
|
199
|
+
PARTIALLY_PAID = "PARTIALLY_PAID",
|
|
200
|
+
PAID = "PAID",
|
|
201
|
+
PARTIALLY_FAILED = "PARTIALLY_FAILED",
|
|
202
|
+
FAILED = "FAILED"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BillsV4Static = void 0;
|
|
4
|
+
var BillsV4Static;
|
|
5
|
+
(function (BillsV4Static) {
|
|
6
|
+
let SearchParameters;
|
|
7
|
+
(function (SearchParameters) {
|
|
8
|
+
SearchParameters["document_no"] = "document_no";
|
|
9
|
+
SearchParameters["title"] = "title";
|
|
10
|
+
SearchParameters["vendor_ref"] = "vendor_ref";
|
|
11
|
+
SearchParameters["currency_code"] = "currency_code";
|
|
12
|
+
SearchParameters["lastname_company"] = "lastname_company";
|
|
13
|
+
SearchParameters["firstname_suffix"] = "firstname_suffix";
|
|
14
|
+
})(SearchParameters = BillsV4Static.SearchParameters || (BillsV4Static.SearchParameters = {}));
|
|
15
|
+
let BillStatusUpdate;
|
|
16
|
+
(function (BillStatusUpdate) {
|
|
17
|
+
BillStatusUpdate["DRAFT"] = "DRAFT";
|
|
18
|
+
BillStatusUpdate["BOOKED"] = "BOOKED";
|
|
19
|
+
})(BillStatusUpdate = BillsV4Static.BillStatusUpdate || (BillsV4Static.BillStatusUpdate = {}));
|
|
20
|
+
let BillAction;
|
|
21
|
+
(function (BillAction) {
|
|
22
|
+
BillAction["DUPLICATE"] = "DUPLICATE";
|
|
23
|
+
})(BillAction = BillsV4Static.BillAction || (BillsV4Static.BillAction = {}));
|
|
24
|
+
let BillStatusFilter;
|
|
25
|
+
(function (BillStatusFilter) {
|
|
26
|
+
BillStatusFilter["DRAFTS"] = "DRAFTS";
|
|
27
|
+
BillStatusFilter["TODO"] = "TODO";
|
|
28
|
+
BillStatusFilter["PAID"] = "PAID";
|
|
29
|
+
BillStatusFilter["OVERDUE"] = "OVERDUE";
|
|
30
|
+
})(BillStatusFilter = BillsV4Static.BillStatusFilter || (BillsV4Static.BillStatusFilter = {}));
|
|
31
|
+
let PaymentType;
|
|
32
|
+
(function (PaymentType) {
|
|
33
|
+
PaymentType["IBAN"] = "IBAN";
|
|
34
|
+
PaymentType["MANUAL"] = "MANUAL";
|
|
35
|
+
PaymentType["QR"] = "QR";
|
|
36
|
+
})(PaymentType = BillsV4Static.PaymentType || (BillsV4Static.PaymentType = {}));
|
|
37
|
+
let PaymentFee;
|
|
38
|
+
(function (PaymentFee) {
|
|
39
|
+
PaymentFee["BY_SENDER"] = "BY_SENDER";
|
|
40
|
+
PaymentFee["BY_RECEIVER"] = "BY_RECEIVER";
|
|
41
|
+
PaymentFee["BREAKDOWN"] = "BREAKDOWN";
|
|
42
|
+
PaymentFee["NO_FEE"] = "NO_FEE";
|
|
43
|
+
})(PaymentFee = BillsV4Static.PaymentFee || (BillsV4Static.PaymentFee = {}));
|
|
44
|
+
let BillStatus;
|
|
45
|
+
(function (BillStatus) {
|
|
46
|
+
BillStatus["DRAFT"] = "DRAFT";
|
|
47
|
+
BillStatus["BOOKED"] = "BOOKED";
|
|
48
|
+
BillStatus["PARTIALLY_CREATED"] = "PARTIALLY_CREATED";
|
|
49
|
+
BillStatus["CREATED"] = "CREATED";
|
|
50
|
+
BillStatus["PARTIALLY_SENT"] = "PARTIALLY_SENT";
|
|
51
|
+
BillStatus["SENT"] = "SENT";
|
|
52
|
+
BillStatus["PARTIALLY_DOWNLOADED"] = "PARTIALLY_DOWNLOADED";
|
|
53
|
+
BillStatus["DOWNLOADED"] = "DOWNLOADED";
|
|
54
|
+
BillStatus["PARTIALLY_PAID"] = "PARTIALLY_PAID";
|
|
55
|
+
BillStatus["PAID"] = "PAID";
|
|
56
|
+
BillStatus["PARTIALLY_FAILED"] = "PARTIALLY_FAILED";
|
|
57
|
+
BillStatus["FAILED"] = "FAILED";
|
|
58
|
+
})(BillStatus = BillsV4Static.BillStatus || (BillsV4Static.BillStatus = {}));
|
|
59
|
+
})(BillsV4Static || (exports.BillsV4Static = BillsV4Static = {}));
|
|
60
|
+
//# sourceMappingURL=BillsV4Static.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillsV4Static.js","sourceRoot":"","sources":["../../src/interfaces/BillsV4Static.ts"],"names":[],"mappings":";;;AAAA,IAAiB,aAAa,CA0N7B;AA1ND,WAAiB,aAAa;IA2I5B,IAAY,gBAOX;IAPD,WAAY,gBAAgB;QAC1B,+CAA2B,CAAA;QAC3B,mCAAe,CAAA;QACf,6CAAyB,CAAA;QACzB,mDAA+B,CAAA;QAC/B,yDAAqC,CAAA;QACrC,yDAAqC,CAAA;IACvC,CAAC,EAPW,gBAAgB,GAAhB,8BAAgB,KAAhB,8BAAgB,QAO3B;IAED,IAAY,gBAGX;IAHD,WAAY,gBAAgB;QAC1B,mCAAe,CAAA;QACf,qCAAiB,CAAA;IACnB,CAAC,EAHW,gBAAgB,GAAhB,8BAAgB,KAAhB,8BAAgB,QAG3B;IAED,IAAY,UAEX;IAFD,WAAY,UAAU;QACpB,qCAAuB,CAAA;IACzB,CAAC,EAFW,UAAU,GAAV,wBAAU,KAAV,wBAAU,QAErB;IAED,IAAY,gBAKX;IALD,WAAY,gBAAgB;QAC1B,qCAAiB,CAAA;QACjB,iCAAa,CAAA;QACb,iCAAa,CAAA;QACb,uCAAmB,CAAA;IACrB,CAAC,EALW,gBAAgB,GAAhB,8BAAgB,KAAhB,8BAAgB,QAK3B;IA6BD,IAAY,WAIX;IAJD,WAAY,WAAW;QACrB,4BAAa,CAAA;QACb,gCAAiB,CAAA;QACjB,wBAAS,CAAA;IACX,CAAC,EAJW,WAAW,GAAX,yBAAW,KAAX,yBAAW,QAItB;IAED,IAAY,UAKX;IALD,WAAY,UAAU;QACpB,qCAAuB,CAAA;QACvB,yCAA2B,CAAA;QAC3B,qCAAuB,CAAA;QACvB,+BAAiB,CAAA;IACnB,CAAC,EALW,UAAU,GAAV,wBAAU,KAAV,wBAAU,QAKrB;IAED,IAAY,UAaX;IAbD,WAAY,UAAU;QACpB,6BAAe,CAAA;QACf,+BAAiB,CAAA;QACjB,qDAAuC,CAAA;QACvC,iCAAmB,CAAA;QACnB,+CAAiC,CAAA;QACjC,2BAAa,CAAA;QACb,2DAA6C,CAAA;QAC7C,uCAAyB,CAAA;QACzB,+CAAiC,CAAA;QACjC,2BAAa,CAAA;QACb,mDAAqC,CAAA;QACrC,+BAAiB,CAAA;IACnB,CAAC,EAbW,UAAU,GAAV,wBAAU,KAAV,wBAAU,QAarB;AACH,CAAC,EA1NgB,aAAa,6BAAb,aAAa,QA0N7B"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
export declare namespace OutgoingPaymentsStatic {
|
|
2
|
+
/**
|
|
3
|
+
* Outgoing Payment Status
|
|
4
|
+
*/
|
|
5
|
+
enum OutgoingPaymentStatus {
|
|
6
|
+
DOWNLOADED = "DOWNLOADED",
|
|
7
|
+
OPEN = "OPEN",
|
|
8
|
+
RECONCILED = "RECONCILED",
|
|
9
|
+
CANCELLED = "CANCELLED",
|
|
10
|
+
UPLOADED = "UPLOADED",
|
|
11
|
+
REJECTED = "REJECTED"
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Outgoing Payment Type
|
|
15
|
+
*/
|
|
16
|
+
enum OutgoingPaymentType {
|
|
17
|
+
IBAN = "IBAN",
|
|
18
|
+
MANUAL = "MANUAL",
|
|
19
|
+
CASH_DISCOUNT = "CASH_DISCOUNT",
|
|
20
|
+
QR = "QR"
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Fee Type
|
|
24
|
+
*/
|
|
25
|
+
enum FeeType {
|
|
26
|
+
BY_SENDER = "BY_SENDER",
|
|
27
|
+
BY_RECEIVER = "BY_RECEIVER",
|
|
28
|
+
BREAKDOWN = "BREAKDOWN",
|
|
29
|
+
NO_FEE = "NO_FEE"
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Outgoing Payment
|
|
33
|
+
*/
|
|
34
|
+
interface OutgoingPayment {
|
|
35
|
+
id: string;
|
|
36
|
+
status: OutgoingPaymentStatus | string;
|
|
37
|
+
created_at: string;
|
|
38
|
+
bill_id: string;
|
|
39
|
+
payment_type: OutgoingPaymentType | string;
|
|
40
|
+
execution_date: string;
|
|
41
|
+
amount: number;
|
|
42
|
+
currency_code: string;
|
|
43
|
+
exchange_rate: number;
|
|
44
|
+
note?: string;
|
|
45
|
+
sender_bank_account_id?: number;
|
|
46
|
+
sender_iban?: string;
|
|
47
|
+
sender_name?: string;
|
|
48
|
+
sender_street?: string;
|
|
49
|
+
sender_house_no?: string;
|
|
50
|
+
sender_city?: string;
|
|
51
|
+
sender_postcode?: string;
|
|
52
|
+
sender_country_code?: string;
|
|
53
|
+
sender_bc_no?: string;
|
|
54
|
+
sender_bank_no?: string;
|
|
55
|
+
sender_bank_name?: string;
|
|
56
|
+
receiver_iban?: string;
|
|
57
|
+
receiver_name?: string;
|
|
58
|
+
receiver_street?: string;
|
|
59
|
+
receiver_house_no?: string;
|
|
60
|
+
receiver_city?: string;
|
|
61
|
+
receiver_postcode?: string;
|
|
62
|
+
receiver_country_code?: string;
|
|
63
|
+
receiver_bc_no?: string;
|
|
64
|
+
receiver_bank_no?: string;
|
|
65
|
+
receiver_bank_name?: string;
|
|
66
|
+
fee_type?: FeeType | string;
|
|
67
|
+
is_salary_payment: boolean;
|
|
68
|
+
reference_no?: string;
|
|
69
|
+
message?: string;
|
|
70
|
+
booking_text?: string;
|
|
71
|
+
banking_payment_id?: string;
|
|
72
|
+
banking_payment_entry_id?: string;
|
|
73
|
+
transaction_id?: string;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Outgoing Payment Create
|
|
77
|
+
*/
|
|
78
|
+
interface OutgoingPaymentCreate {
|
|
79
|
+
bill_id: string;
|
|
80
|
+
payment_type: OutgoingPaymentType | string;
|
|
81
|
+
execution_date: string;
|
|
82
|
+
amount: number;
|
|
83
|
+
currency_code: string;
|
|
84
|
+
exchange_rate: number;
|
|
85
|
+
note?: string;
|
|
86
|
+
sender_bank_account_id?: number;
|
|
87
|
+
sender_iban?: string;
|
|
88
|
+
sender_name?: string;
|
|
89
|
+
sender_street?: string;
|
|
90
|
+
sender_house_no?: string;
|
|
91
|
+
sender_city?: string;
|
|
92
|
+
sender_postcode?: string;
|
|
93
|
+
sender_country_code?: string;
|
|
94
|
+
sender_bc_no?: string;
|
|
95
|
+
sender_bank_no?: string;
|
|
96
|
+
sender_bank_name?: string;
|
|
97
|
+
receiver_iban?: string;
|
|
98
|
+
receiver_name?: string;
|
|
99
|
+
receiver_street?: string;
|
|
100
|
+
receiver_house_no?: string;
|
|
101
|
+
receiver_city?: string;
|
|
102
|
+
receiver_postcode?: string;
|
|
103
|
+
receiver_country_code?: string;
|
|
104
|
+
receiver_bc_no?: string;
|
|
105
|
+
receiver_bank_no?: string;
|
|
106
|
+
receiver_bank_name?: string;
|
|
107
|
+
fee_type?: FeeType | string;
|
|
108
|
+
is_salary_payment: boolean;
|
|
109
|
+
reference_no?: string;
|
|
110
|
+
message?: string;
|
|
111
|
+
booking_text?: string;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Outgoing Payment Update
|
|
115
|
+
*/
|
|
116
|
+
interface OutgoingPaymentUpdate {
|
|
117
|
+
payment_id: string;
|
|
118
|
+
execution_date: string;
|
|
119
|
+
amount: number;
|
|
120
|
+
fee_type?: FeeType | string;
|
|
121
|
+
is_salary_payment: boolean;
|
|
122
|
+
reference_no?: string | null;
|
|
123
|
+
message?: string | null;
|
|
124
|
+
receiver_iban?: string;
|
|
125
|
+
receiver_name?: string;
|
|
126
|
+
receiver_street?: string;
|
|
127
|
+
receiver_house_no?: string;
|
|
128
|
+
receiver_city?: string;
|
|
129
|
+
receiver_postcode?: string;
|
|
130
|
+
receiver_country_code?: string;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* List Options
|
|
134
|
+
*/
|
|
135
|
+
interface ListOptions {
|
|
136
|
+
bill_id: string;
|
|
137
|
+
limit?: number;
|
|
138
|
+
page?: number;
|
|
139
|
+
order?: 'asc' | 'desc';
|
|
140
|
+
sort?: string;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OutgoingPaymentsStatic = void 0;
|
|
4
|
+
var OutgoingPaymentsStatic;
|
|
5
|
+
(function (OutgoingPaymentsStatic) {
|
|
6
|
+
/**
|
|
7
|
+
* Outgoing Payment Status
|
|
8
|
+
*/
|
|
9
|
+
let OutgoingPaymentStatus;
|
|
10
|
+
(function (OutgoingPaymentStatus) {
|
|
11
|
+
OutgoingPaymentStatus["DOWNLOADED"] = "DOWNLOADED";
|
|
12
|
+
OutgoingPaymentStatus["OPEN"] = "OPEN";
|
|
13
|
+
OutgoingPaymentStatus["RECONCILED"] = "RECONCILED";
|
|
14
|
+
OutgoingPaymentStatus["CANCELLED"] = "CANCELLED";
|
|
15
|
+
OutgoingPaymentStatus["UPLOADED"] = "UPLOADED";
|
|
16
|
+
OutgoingPaymentStatus["REJECTED"] = "REJECTED";
|
|
17
|
+
})(OutgoingPaymentStatus = OutgoingPaymentsStatic.OutgoingPaymentStatus || (OutgoingPaymentsStatic.OutgoingPaymentStatus = {}));
|
|
18
|
+
/**
|
|
19
|
+
* Outgoing Payment Type
|
|
20
|
+
*/
|
|
21
|
+
let OutgoingPaymentType;
|
|
22
|
+
(function (OutgoingPaymentType) {
|
|
23
|
+
OutgoingPaymentType["IBAN"] = "IBAN";
|
|
24
|
+
OutgoingPaymentType["MANUAL"] = "MANUAL";
|
|
25
|
+
OutgoingPaymentType["CASH_DISCOUNT"] = "CASH_DISCOUNT";
|
|
26
|
+
OutgoingPaymentType["QR"] = "QR";
|
|
27
|
+
})(OutgoingPaymentType = OutgoingPaymentsStatic.OutgoingPaymentType || (OutgoingPaymentsStatic.OutgoingPaymentType = {}));
|
|
28
|
+
/**
|
|
29
|
+
* Fee Type
|
|
30
|
+
*/
|
|
31
|
+
let FeeType;
|
|
32
|
+
(function (FeeType) {
|
|
33
|
+
FeeType["BY_SENDER"] = "BY_SENDER";
|
|
34
|
+
FeeType["BY_RECEIVER"] = "BY_RECEIVER";
|
|
35
|
+
FeeType["BREAKDOWN"] = "BREAKDOWN";
|
|
36
|
+
FeeType["NO_FEE"] = "NO_FEE";
|
|
37
|
+
})(FeeType = OutgoingPaymentsStatic.FeeType || (OutgoingPaymentsStatic.FeeType = {}));
|
|
38
|
+
})(OutgoingPaymentsStatic || (exports.OutgoingPaymentsStatic = OutgoingPaymentsStatic = {}));
|
|
39
|
+
//# sourceMappingURL=OutgoingPaymentsStatic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutgoingPaymentsStatic.js","sourceRoot":"","sources":["../../src/interfaces/OutgoingPaymentsStatic.ts"],"names":[],"mappings":";;;AAAA,IAAiB,sBAAsB,CAmJtC;AAnJD,WAAiB,sBAAsB;IACrC;;OAEG;IACH,IAAY,qBAOX;IAPD,WAAY,qBAAqB;QAC/B,kDAAyB,CAAA;QACzB,sCAAa,CAAA;QACb,kDAAyB,CAAA;QACzB,gDAAuB,CAAA;QACvB,8CAAqB,CAAA;QACrB,8CAAqB,CAAA;IACvB,CAAC,EAPW,qBAAqB,GAArB,4CAAqB,KAArB,4CAAqB,QAOhC;IAED;;OAEG;IACH,IAAY,mBAKX;IALD,WAAY,mBAAmB;QAC7B,oCAAa,CAAA;QACb,wCAAiB,CAAA;QACjB,sDAA+B,CAAA;QAC/B,gCAAS,CAAA;IACX,CAAC,EALW,mBAAmB,GAAnB,0CAAmB,KAAnB,0CAAmB,QAK9B;IAED;;OAEG;IACH,IAAY,OAKX;IALD,WAAY,OAAO;QACjB,kCAAuB,CAAA;QACvB,sCAA2B,CAAA;QAC3B,kCAAuB,CAAA;QACvB,4BAAiB,CAAA;IACnB,CAAC,EALW,OAAO,GAAP,8BAAO,KAAP,8BAAO,QAKlB;AAoHH,CAAC,EAnJgB,sBAAsB,sCAAtB,sBAAsB,QAmJtC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import BaseCrud from "./BaseCrud";
|
|
2
|
+
import { BankAccountsStatic } from "../interfaces/BankAccountsStatic";
|
|
3
|
+
import { BaseStatic } from "../interfaces/BaseStatic";
|
|
4
|
+
export default class BankAccounts extends BaseCrud<BankAccountsStatic.BankAccount, BankAccountsStatic.BankAccountFull, BankAccountsStatic.BankAccount, {}, {}, {}> {
|
|
5
|
+
constructor(apiToken: string);
|
|
6
|
+
/**
|
|
7
|
+
* NOT IMPLEMENTED BY BEXIO YET
|
|
8
|
+
*
|
|
9
|
+
* @param {Array<BaseStatic.SearchParameter<{}>>} searchOptions
|
|
10
|
+
* @param {BaseStatic.BaseOptions} [options]
|
|
11
|
+
* @returns {Promise<Array<{}>>}
|
|
12
|
+
* @memberof BankAccounts
|
|
13
|
+
*/
|
|
14
|
+
search(searchOptions: Array<BaseStatic.SearchParameter<{}>>, options?: BaseStatic.BaseOptions): Promise<Array<BankAccountsStatic.BankAccount>>;
|
|
15
|
+
/**
|
|
16
|
+
* NOT IMPLEMENTED BY BEXIO YET
|
|
17
|
+
*
|
|
18
|
+
* @param {number} id
|
|
19
|
+
* @param {{}} ressource
|
|
20
|
+
* @returns {Promise<BankAccountsStatic.BankAccountFull>}
|
|
21
|
+
* @memberof BankAccounts
|
|
22
|
+
*/
|
|
23
|
+
overwrite(id: number, ressource: {}): Promise<BankAccountsStatic.BankAccountFull>;
|
|
24
|
+
/**
|
|
25
|
+
* NOT IMPLEMENTED BY BEXIO YET
|
|
26
|
+
*
|
|
27
|
+
* @param {number} id
|
|
28
|
+
* @param {Partial<{}>} ressource
|
|
29
|
+
* @returns {Promise<BankAccountsStatic.BankAccountFull>}
|
|
30
|
+
* @memberof BankAccounts
|
|
31
|
+
*/
|
|
32
|
+
edit(id: number, ressource: Partial<{}>): Promise<BankAccountsStatic.BankAccountFull>;
|
|
33
|
+
/**
|
|
34
|
+
* NOT IMPLEMENTED BY BEXIO YET
|
|
35
|
+
*
|
|
36
|
+
* @param {{}} ressource
|
|
37
|
+
* @returns {Promise<BankAccountsStatic.BankAccountFull>}
|
|
38
|
+
* @memberof BankAccounts
|
|
39
|
+
*/
|
|
40
|
+
create(ressource: {}): Promise<BankAccountsStatic.BankAccountFull>;
|
|
41
|
+
/**
|
|
42
|
+
* NOT IMPLEMENTED BY BEXIO YET
|
|
43
|
+
*
|
|
44
|
+
* @param {number} id
|
|
45
|
+
* @returns {Promise<boolean>}
|
|
46
|
+
* @memberof BankAccounts
|
|
47
|
+
*/
|
|
48
|
+
delete(id: number): Promise<boolean>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const BaseCrud_1 = __importDefault(require("./BaseCrud"));
|
|
16
|
+
class BankAccounts extends BaseCrud_1.default {
|
|
17
|
+
constructor(apiToken) {
|
|
18
|
+
super(apiToken, "/3.0/banking/accounts");
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* NOT IMPLEMENTED BY BEXIO YET
|
|
22
|
+
*
|
|
23
|
+
* @param {Array<BaseStatic.SearchParameter<{}>>} searchOptions
|
|
24
|
+
* @param {BaseStatic.BaseOptions} [options]
|
|
25
|
+
* @returns {Promise<Array<{}>>}
|
|
26
|
+
* @memberof BankAccounts
|
|
27
|
+
*/
|
|
28
|
+
search(searchOptions, options) {
|
|
29
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30
|
+
throw new Error("not implemented by Bexio yet");
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* NOT IMPLEMENTED BY BEXIO YET
|
|
35
|
+
*
|
|
36
|
+
* @param {number} id
|
|
37
|
+
* @param {{}} ressource
|
|
38
|
+
* @returns {Promise<BankAccountsStatic.BankAccountFull>}
|
|
39
|
+
* @memberof BankAccounts
|
|
40
|
+
*/
|
|
41
|
+
overwrite(id, ressource) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
throw new Error("not implemented by Bexio yet");
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* NOT IMPLEMENTED BY BEXIO YET
|
|
48
|
+
*
|
|
49
|
+
* @param {number} id
|
|
50
|
+
* @param {Partial<{}>} ressource
|
|
51
|
+
* @returns {Promise<BankAccountsStatic.BankAccountFull>}
|
|
52
|
+
* @memberof BankAccounts
|
|
53
|
+
*/
|
|
54
|
+
edit(id, ressource) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
throw new Error("not implemented by Bexio yet");
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* NOT IMPLEMENTED BY BEXIO YET
|
|
61
|
+
*
|
|
62
|
+
* @param {{}} ressource
|
|
63
|
+
* @returns {Promise<BankAccountsStatic.BankAccountFull>}
|
|
64
|
+
* @memberof BankAccounts
|
|
65
|
+
*/
|
|
66
|
+
create(ressource) {
|
|
67
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
+
throw new Error("not implemented by Bexio yet");
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* NOT IMPLEMENTED BY BEXIO YET
|
|
73
|
+
*
|
|
74
|
+
* @param {number} id
|
|
75
|
+
* @returns {Promise<boolean>}
|
|
76
|
+
* @memberof BankAccounts
|
|
77
|
+
*/
|
|
78
|
+
delete(id) {
|
|
79
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
80
|
+
throw new Error("not implemented by Bexio yet");
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.default = BankAccounts;
|
|
85
|
+
//# sourceMappingURL=BankAccounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BankAccounts.js","sourceRoot":"","sources":["../../src/resources/BankAccounts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,0DAAkC;AAIlC,MAAqB,YAAa,SAAQ,kBAOzC;IACC,YAAY,QAAgB;QAC1B,KAAK,CAAC,QAAQ,EAAE,uBAAuB,CAAC,CAAC;IAC3C,CAAC;IAED;;;;;;;OAOG;IACU,MAAM,CACjB,aAAoD,EACpD,OAAgC;;YAEhC,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;;OAOG;IACU,SAAS,CACpB,EAAU,EACV,SAAa;;YAEb,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;;OAOG;IACU,IAAI,CACf,EAAU,EACV,SAAsB;;YAEtB,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;OAMG;IACU,MAAM,CACjB,SAAa;;YAEb,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;OAMG;IACU,MAAM,CAAC,EAAU;;YAC5B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;KAAA;CACF;AAhFD,+BAgFC"}
|
|
@@ -24,12 +24,12 @@ export default class BaseCrud<Small, Full, Search, SearchType, Create, Overwrite
|
|
|
24
24
|
/**
|
|
25
25
|
* show a specific ressource
|
|
26
26
|
*
|
|
27
|
-
* @param {number} id
|
|
27
|
+
* @param {string | number} id
|
|
28
28
|
* @param {BaseStatic.BaseOptions} [options]
|
|
29
29
|
* @returns {Promise<Full>}
|
|
30
30
|
* @memberof BaseCrud
|
|
31
31
|
*/
|
|
32
|
-
show(id: number, options?: BaseStatic.BaseOptions): Promise<Full>;
|
|
32
|
+
show(id: string | number, options?: BaseStatic.BaseOptions): Promise<Full>;
|
|
33
33
|
/**
|
|
34
34
|
* create a new ressource
|
|
35
35
|
*
|
|
@@ -59,11 +59,11 @@ export default class BaseCrud<Small, Full, Search, SearchType, Create, Overwrite
|
|
|
59
59
|
/**
|
|
60
60
|
* delete an ressource
|
|
61
61
|
*
|
|
62
|
-
* @param {number} id
|
|
62
|
+
* @param {string | number} id
|
|
63
63
|
* @returns {Promise<boolean>}
|
|
64
64
|
* @memberof BaseCrud
|
|
65
65
|
*/
|
|
66
|
-
delete(id: number): Promise<boolean>;
|
|
66
|
+
delete(id: string | number): Promise<boolean>;
|
|
67
67
|
/**
|
|
68
68
|
* Base request to the api
|
|
69
69
|
*
|
|
@@ -47,7 +47,7 @@ class BaseCrud {
|
|
|
47
47
|
/**
|
|
48
48
|
* show a specific ressource
|
|
49
49
|
*
|
|
50
|
-
* @param {number} id
|
|
50
|
+
* @param {string | number} id
|
|
51
51
|
* @param {BaseStatic.BaseOptions} [options]
|
|
52
52
|
* @returns {Promise<Full>}
|
|
53
53
|
* @memberof BaseCrud
|
|
@@ -98,7 +98,7 @@ class BaseCrud {
|
|
|
98
98
|
/**
|
|
99
99
|
* delete an ressource
|
|
100
100
|
*
|
|
101
|
-
* @param {number} id
|
|
101
|
+
* @param {string | number} id
|
|
102
102
|
* @returns {Promise<boolean>}
|
|
103
103
|
* @memberof BaseCrud
|
|
104
104
|
*/
|
|
@@ -163,7 +163,15 @@ class BaseCrud {
|
|
|
163
163
|
}
|
|
164
164
|
for (let i in options) {
|
|
165
165
|
if (options.hasOwnProperty(i)) {
|
|
166
|
-
|
|
166
|
+
const value = options[i];
|
|
167
|
+
if (Array.isArray(value)) {
|
|
168
|
+
value.forEach((v) => {
|
|
169
|
+
str.push(encodeURIComponent(i) + "=" + encodeURIComponent(v));
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
str.push(encodeURIComponent(i) + "=" + encodeURIComponent(value));
|
|
174
|
+
}
|
|
167
175
|
}
|
|
168
176
|
}
|
|
169
177
|
return `?${str.join("&")}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseCrud.js","sourceRoot":"","sources":["../../src/resources/BaseCrud.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,kDAA8D;AAE9D,MAAqB,QAAQ;IAY3B,YAAY,QAAgB,EAAE,WAAmB;QAFvC,eAAU,GAAW,uBAAuB,CAAC;QAGrD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,WAAW,GAAG,WAAW,CA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