bkper-js 2.2.1 → 2.2.2
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/lib/index.d.ts +16 -2
- package/lib/model/BalancesDataTableBuilder.js +1 -1
- package/lib/model/Book.js +12 -0
- package/lib/model/Group.js +2 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -890,7 +890,7 @@ export declare interface BalancesContainer {
|
|
|
890
890
|
*
|
|
891
891
|
* Gets the property value for given keys. First property found will be retrieved
|
|
892
892
|
*
|
|
893
|
-
* @param keys The property key
|
|
893
|
+
* @param keys - The property key
|
|
894
894
|
*/
|
|
895
895
|
getProperty(...keys: string[]): string | undefined;
|
|
896
896
|
/**
|
|
@@ -968,7 +968,7 @@ declare class BalancesDataTableBuilder implements BalancesDataTableBuilder {
|
|
|
968
968
|
/**
|
|
969
969
|
* Fluent method to set the [[BalanceType]] for the builder.
|
|
970
970
|
*
|
|
971
|
-
* @param type The type of balance for this data table
|
|
971
|
+
* @param type - The type of balance for this data table
|
|
972
972
|
*
|
|
973
973
|
* For **TOTAL** [[BalanceType]], the table format looks like:
|
|
974
974
|
*
|
|
@@ -1368,6 +1368,8 @@ export declare class Book {
|
|
|
1368
1368
|
/**
|
|
1369
1369
|
* Sets the date pattern of the Book. Current: dd/MM/yyyy | MM/dd/yyyy | yyyy/MM/dd
|
|
1370
1370
|
*
|
|
1371
|
+
* @param datePattern - The date pattern to set
|
|
1372
|
+
*
|
|
1371
1373
|
* @returns This Book, for chaining
|
|
1372
1374
|
*/
|
|
1373
1375
|
setDatePattern(datePattern: string): Book;
|
|
@@ -1380,6 +1382,8 @@ export declare class Book {
|
|
|
1380
1382
|
/**
|
|
1381
1383
|
* Sets the lock date of the Book in ISO format yyyy-MM-dd.
|
|
1382
1384
|
*
|
|
1385
|
+
* @param lockDate - The lock date to set in ISO format yyyy-MM-dd
|
|
1386
|
+
*
|
|
1383
1387
|
* @returns This Book, for chaining
|
|
1384
1388
|
*/
|
|
1385
1389
|
setLockDate(lockDate: string | null): Book;
|
|
@@ -1392,6 +1396,8 @@ export declare class Book {
|
|
|
1392
1396
|
/**
|
|
1393
1397
|
* Sets the closing date of the Book in ISO format yyyy-MM-dd.
|
|
1394
1398
|
*
|
|
1399
|
+
* @param closingDate - The closing date to set in ISO format yyyy-MM-dd
|
|
1400
|
+
*
|
|
1395
1401
|
* @returns This Book, for chaining
|
|
1396
1402
|
*/
|
|
1397
1403
|
setClosingDate(closingDate: string | null): Book;
|
|
@@ -1404,6 +1410,8 @@ export declare class Book {
|
|
|
1404
1410
|
/**
|
|
1405
1411
|
* Sets the decimal separator of the Book
|
|
1406
1412
|
*
|
|
1413
|
+
* @param decimalSeparator - The decimal separator to set
|
|
1414
|
+
*
|
|
1407
1415
|
* @returns This Book, for chaining
|
|
1408
1416
|
*/
|
|
1409
1417
|
setDecimalSeparator(decimalSeparator: DecimalSeparator): Book;
|
|
@@ -1416,6 +1424,8 @@ export declare class Book {
|
|
|
1416
1424
|
/**
|
|
1417
1425
|
* Sets the time zone of the Book.
|
|
1418
1426
|
*
|
|
1427
|
+
* @param timeZone - The time zone to set
|
|
1428
|
+
*
|
|
1419
1429
|
* @returns This Book, for chaining
|
|
1420
1430
|
*/
|
|
1421
1431
|
setTimeZone(timeZone: string): Book;
|
|
@@ -1434,6 +1444,8 @@ export declare class Book {
|
|
|
1434
1444
|
/**
|
|
1435
1445
|
* Sets the auto post status of the Book.
|
|
1436
1446
|
*
|
|
1447
|
+
* @param autoPost - The auto post status to set
|
|
1448
|
+
*
|
|
1437
1449
|
* @returns This Book, for chaining
|
|
1438
1450
|
*/
|
|
1439
1451
|
setAutoPost(autoPost: boolean): Book;
|
|
@@ -2507,6 +2519,8 @@ export declare class Group {
|
|
|
2507
2519
|
/**
|
|
2508
2520
|
* Sets the name of the Group.
|
|
2509
2521
|
*
|
|
2522
|
+
* @param name - The name to set
|
|
2523
|
+
*
|
|
2510
2524
|
* @returns This Group, for chaining
|
|
2511
2525
|
*/
|
|
2512
2526
|
setName(name: string): Group;
|
|
@@ -84,7 +84,7 @@ export class BalancesDataTableBuilder {
|
|
|
84
84
|
/**
|
|
85
85
|
* Fluent method to set the [[BalanceType]] for the builder.
|
|
86
86
|
*
|
|
87
|
-
* @param type The type of balance for this data table
|
|
87
|
+
* @param type - The type of balance for this data table
|
|
88
88
|
*
|
|
89
89
|
* For **TOTAL** [[BalanceType]], the table format looks like:
|
|
90
90
|
*
|
package/lib/model/Book.js
CHANGED
|
@@ -203,6 +203,8 @@ export class Book {
|
|
|
203
203
|
/**
|
|
204
204
|
* Sets the date pattern of the Book. Current: dd/MM/yyyy | MM/dd/yyyy | yyyy/MM/dd
|
|
205
205
|
*
|
|
206
|
+
* @param datePattern - The date pattern to set
|
|
207
|
+
*
|
|
206
208
|
* @returns This Book, for chaining
|
|
207
209
|
*/
|
|
208
210
|
setDatePattern(datePattern) {
|
|
@@ -220,6 +222,8 @@ export class Book {
|
|
|
220
222
|
/**
|
|
221
223
|
* Sets the lock date of the Book in ISO format yyyy-MM-dd.
|
|
222
224
|
*
|
|
225
|
+
* @param lockDate - The lock date to set in ISO format yyyy-MM-dd
|
|
226
|
+
*
|
|
223
227
|
* @returns This Book, for chaining
|
|
224
228
|
*/
|
|
225
229
|
setLockDate(lockDate) {
|
|
@@ -240,6 +244,8 @@ export class Book {
|
|
|
240
244
|
/**
|
|
241
245
|
* Sets the closing date of the Book in ISO format yyyy-MM-dd.
|
|
242
246
|
*
|
|
247
|
+
* @param closingDate - The closing date to set in ISO format yyyy-MM-dd
|
|
248
|
+
*
|
|
243
249
|
* @returns This Book, for chaining
|
|
244
250
|
*/
|
|
245
251
|
setClosingDate(closingDate) {
|
|
@@ -260,6 +266,8 @@ export class Book {
|
|
|
260
266
|
/**
|
|
261
267
|
* Sets the decimal separator of the Book
|
|
262
268
|
*
|
|
269
|
+
* @param decimalSeparator - The decimal separator to set
|
|
270
|
+
*
|
|
263
271
|
* @returns This Book, for chaining
|
|
264
272
|
*/
|
|
265
273
|
setDecimalSeparator(decimalSeparator) {
|
|
@@ -277,6 +285,8 @@ export class Book {
|
|
|
277
285
|
/**
|
|
278
286
|
* Sets the time zone of the Book.
|
|
279
287
|
*
|
|
288
|
+
* @param timeZone - The time zone to set
|
|
289
|
+
*
|
|
280
290
|
* @returns This Book, for chaining
|
|
281
291
|
*/
|
|
282
292
|
setTimeZone(timeZone) {
|
|
@@ -302,6 +312,8 @@ export class Book {
|
|
|
302
312
|
/**
|
|
303
313
|
* Sets the auto post status of the Book.
|
|
304
314
|
*
|
|
315
|
+
* @param autoPost - The auto post status to set
|
|
316
|
+
*
|
|
305
317
|
* @returns This Book, for chaining
|
|
306
318
|
*/
|
|
307
319
|
setAutoPost(autoPost) {
|
package/lib/model/Group.js
CHANGED