xero-node 4.38.0 → 5.0.1
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/dist/XeroClient.js +38 -42
- package/dist/XeroClient.js.map +1 -1
- package/dist/gen/api/accountingApi.d.ts +302 -305
- package/dist/gen/api/accountingApi.js +6893 -4833
- package/dist/gen/api/accountingApi.js.map +1 -1
- package/dist/gen/api/appStoreApi.d.ts +6 -9
- package/dist/gen/api/appStoreApi.js +119 -81
- package/dist/gen/api/appStoreApi.js.map +1 -1
- package/dist/gen/api/assetApi.d.ts +10 -13
- package/dist/gen/api/assetApi.js +181 -120
- package/dist/gen/api/assetApi.js.map +1 -1
- package/dist/gen/api/bankfeedsApi.d.ts +11 -14
- package/dist/gen/api/bankfeedsApi.js +211 -141
- package/dist/gen/api/bankfeedsApi.js.map +1 -1
- package/dist/gen/api/filesApi.d.ts +26 -29
- package/dist/gen/api/filesApi.js +520 -348
- package/dist/gen/api/filesApi.js.map +1 -1
- package/dist/gen/api/financeApi.d.ts +14 -17
- package/dist/gen/api/financeApi.js +343 -230
- package/dist/gen/api/financeApi.js.map +1 -1
- package/dist/gen/api/payrollAUApi.d.ts +44 -47
- package/dist/gen/api/payrollAUApi.js +965 -666
- package/dist/gen/api/payrollAUApi.js.map +1 -1
- package/dist/gen/api/payrollNZApi.d.ts +70 -73
- package/dist/gen/api/payrollNZApi.js +1979 -1390
- package/dist/gen/api/payrollNZApi.js.map +1 -1
- package/dist/gen/api/payrollUKApi.d.ts +72 -75
- package/dist/gen/api/payrollUKApi.js +2031 -1424
- package/dist/gen/api/payrollUKApi.js.map +1 -1
- package/dist/gen/api/projectApi.d.ts +18 -21
- package/dist/gen/api/projectApi.js +449 -308
- package/dist/gen/api/projectApi.js.map +1 -1
- package/dist/gen/model/accounting/models.d.ts +6 -6
- package/dist/gen/model/accounting/models.js +1 -1
- package/dist/gen/model/accounting/models.js.map +1 -1
- package/dist/gen/model/appstore/models.d.ts +6 -6
- package/dist/gen/model/appstore/models.js +1 -1
- package/dist/gen/model/appstore/models.js.map +1 -1
- package/dist/gen/model/assets/models.d.ts +6 -6
- package/dist/gen/model/assets/models.js +1 -1
- package/dist/gen/model/assets/models.js.map +1 -1
- package/dist/gen/model/bankfeeds/models.d.ts +6 -6
- package/dist/gen/model/bankfeeds/models.js +1 -1
- package/dist/gen/model/bankfeeds/models.js.map +1 -1
- package/dist/gen/model/files/models.d.ts +6 -6
- package/dist/gen/model/files/models.js +1 -1
- package/dist/gen/model/files/models.js.map +1 -1
- package/dist/gen/model/finance/models.d.ts +6 -6
- package/dist/gen/model/finance/models.js +1 -1
- package/dist/gen/model/finance/models.js.map +1 -1
- package/dist/gen/model/payroll-au/models.d.ts +6 -6
- package/dist/gen/model/payroll-au/models.js +1 -1
- package/dist/gen/model/payroll-au/models.js.map +1 -1
- package/dist/gen/model/payroll-nz/models.d.ts +6 -6
- package/dist/gen/model/payroll-nz/models.js +1 -1
- package/dist/gen/model/payroll-nz/models.js.map +1 -1
- package/dist/gen/model/payroll-uk/models.d.ts +6 -6
- package/dist/gen/model/payroll-uk/models.js +1 -1
- package/dist/gen/model/payroll-uk/models.js.map +1 -1
- package/dist/gen/model/projects/models.d.ts +6 -6
- package/dist/gen/model/projects/models.js +1 -1
- package/dist/gen/model/projects/models.js.map +1 -1
- package/dist/model/ApiError.d.ts +30 -0
- package/dist/model/ApiError.js +33 -0
- package/dist/model/ApiError.js.map +1 -0
- package/package.json +9 -11
|
@@ -2,17 +2,13 @@
|
|
|
2
2
|
* Xero Payroll UK
|
|
3
3
|
* This is the Xero Payroll API for orgs in the UK region.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6
6
|
* Contact: api@xero.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/// <reference types="node" />
|
|
13
|
-
/// <reference types="node/http" />
|
|
14
|
-
/// <reference types="got/dist/source/core/utils/timed-out" />
|
|
15
|
-
import http = require('http');
|
|
16
12
|
import { Benefit } from '../model/payroll-uk/benefit';
|
|
17
13
|
import { BenefitObject } from '../model/payroll-uk/benefitObject';
|
|
18
14
|
import { Benefits } from '../model/payroll-uk/benefits';
|
|
@@ -75,6 +71,7 @@ import { TimesheetObject } from '../model/payroll-uk/timesheetObject';
|
|
|
75
71
|
import { Timesheets } from '../model/payroll-uk/timesheets';
|
|
76
72
|
import { TrackingCategories } from '../model/payroll-uk/trackingCategories';
|
|
77
73
|
import { Authentication } from '../model/payroll-uk/models';
|
|
74
|
+
import { AxiosResponse } from 'axios';
|
|
78
75
|
import { OAuth } from '../model/payroll-uk/models';
|
|
79
76
|
export declare enum PayrollUkApiApiKeys {
|
|
80
77
|
}
|
|
@@ -106,7 +103,7 @@ export declare class PayrollUkApi {
|
|
|
106
103
|
[name: string]: string;
|
|
107
104
|
};
|
|
108
105
|
}): Promise<{
|
|
109
|
-
response:
|
|
106
|
+
response: AxiosResponse;
|
|
110
107
|
body: TimesheetObject;
|
|
111
108
|
}>;
|
|
112
109
|
/**
|
|
@@ -121,7 +118,7 @@ export declare class PayrollUkApi {
|
|
|
121
118
|
[name: string]: string;
|
|
122
119
|
};
|
|
123
120
|
}): Promise<{
|
|
124
|
-
response:
|
|
121
|
+
response: AxiosResponse;
|
|
125
122
|
body: BenefitObject;
|
|
126
123
|
}>;
|
|
127
124
|
/**
|
|
@@ -136,7 +133,7 @@ export declare class PayrollUkApi {
|
|
|
136
133
|
[name: string]: string;
|
|
137
134
|
};
|
|
138
135
|
}): Promise<{
|
|
139
|
-
response:
|
|
136
|
+
response: AxiosResponse;
|
|
140
137
|
body: DeductionObject;
|
|
141
138
|
}>;
|
|
142
139
|
/**
|
|
@@ -151,7 +148,7 @@ export declare class PayrollUkApi {
|
|
|
151
148
|
[name: string]: string;
|
|
152
149
|
};
|
|
153
150
|
}): Promise<{
|
|
154
|
-
response:
|
|
151
|
+
response: AxiosResponse;
|
|
155
152
|
body: EarningsRateObject;
|
|
156
153
|
}>;
|
|
157
154
|
/**
|
|
@@ -166,7 +163,7 @@ export declare class PayrollUkApi {
|
|
|
166
163
|
[name: string]: string;
|
|
167
164
|
};
|
|
168
165
|
}): Promise<{
|
|
169
|
-
response:
|
|
166
|
+
response: AxiosResponse;
|
|
170
167
|
body: EmployeeObject;
|
|
171
168
|
}>;
|
|
172
169
|
/**
|
|
@@ -182,7 +179,7 @@ export declare class PayrollUkApi {
|
|
|
182
179
|
[name: string]: string;
|
|
183
180
|
};
|
|
184
181
|
}): Promise<{
|
|
185
|
-
response:
|
|
182
|
+
response: AxiosResponse;
|
|
186
183
|
body: EarningsTemplateObject;
|
|
187
184
|
}>;
|
|
188
185
|
/**
|
|
@@ -198,7 +195,7 @@ export declare class PayrollUkApi {
|
|
|
198
195
|
[name: string]: string;
|
|
199
196
|
};
|
|
200
197
|
}): Promise<{
|
|
201
|
-
response:
|
|
198
|
+
response: AxiosResponse;
|
|
202
199
|
body: EmployeeLeaveObject;
|
|
203
200
|
}>;
|
|
204
201
|
/**
|
|
@@ -214,7 +211,7 @@ export declare class PayrollUkApi {
|
|
|
214
211
|
[name: string]: string;
|
|
215
212
|
};
|
|
216
213
|
}): Promise<{
|
|
217
|
-
response:
|
|
214
|
+
response: AxiosResponse;
|
|
218
215
|
body: EmployeeLeaveTypeObject;
|
|
219
216
|
}>;
|
|
220
217
|
/**
|
|
@@ -230,7 +227,7 @@ export declare class PayrollUkApi {
|
|
|
230
227
|
[name: string]: string;
|
|
231
228
|
};
|
|
232
229
|
}): Promise<{
|
|
233
|
-
response:
|
|
230
|
+
response: AxiosResponse;
|
|
234
231
|
body: EmployeeOpeningBalancesObject;
|
|
235
232
|
}>;
|
|
236
233
|
/**
|
|
@@ -246,7 +243,7 @@ export declare class PayrollUkApi {
|
|
|
246
243
|
[name: string]: string;
|
|
247
244
|
};
|
|
248
245
|
}): Promise<{
|
|
249
|
-
response:
|
|
246
|
+
response: AxiosResponse;
|
|
250
247
|
body: PaymentMethodObject;
|
|
251
248
|
}>;
|
|
252
249
|
/**
|
|
@@ -262,7 +259,7 @@ export declare class PayrollUkApi {
|
|
|
262
259
|
[name: string]: string;
|
|
263
260
|
};
|
|
264
261
|
}): Promise<{
|
|
265
|
-
response:
|
|
262
|
+
response: AxiosResponse;
|
|
266
263
|
body: SalaryAndWageObject;
|
|
267
264
|
}>;
|
|
268
265
|
/**
|
|
@@ -277,7 +274,7 @@ export declare class PayrollUkApi {
|
|
|
277
274
|
[name: string]: string;
|
|
278
275
|
};
|
|
279
276
|
}): Promise<{
|
|
280
|
-
response:
|
|
277
|
+
response: AxiosResponse;
|
|
281
278
|
body: EmployeeStatutorySickLeaveObject;
|
|
282
279
|
}>;
|
|
283
280
|
/**
|
|
@@ -293,7 +290,7 @@ export declare class PayrollUkApi {
|
|
|
293
290
|
[name: string]: string;
|
|
294
291
|
};
|
|
295
292
|
}): Promise<{
|
|
296
|
-
response:
|
|
293
|
+
response: AxiosResponse;
|
|
297
294
|
body: EmploymentObject;
|
|
298
295
|
}>;
|
|
299
296
|
/**
|
|
@@ -308,7 +305,7 @@ export declare class PayrollUkApi {
|
|
|
308
305
|
[name: string]: string;
|
|
309
306
|
};
|
|
310
307
|
}): Promise<{
|
|
311
|
-
response:
|
|
308
|
+
response: AxiosResponse;
|
|
312
309
|
body: LeaveTypeObject;
|
|
313
310
|
}>;
|
|
314
311
|
/**
|
|
@@ -324,7 +321,7 @@ export declare class PayrollUkApi {
|
|
|
324
321
|
[name: string]: string;
|
|
325
322
|
};
|
|
326
323
|
}): Promise<{
|
|
327
|
-
response:
|
|
324
|
+
response: AxiosResponse;
|
|
328
325
|
body: EmployeePayTemplates;
|
|
329
326
|
}>;
|
|
330
327
|
/**
|
|
@@ -339,7 +336,7 @@ export declare class PayrollUkApi {
|
|
|
339
336
|
[name: string]: string;
|
|
340
337
|
};
|
|
341
338
|
}): Promise<{
|
|
342
|
-
response:
|
|
339
|
+
response: AxiosResponse;
|
|
343
340
|
body: PayRunCalendarObject;
|
|
344
341
|
}>;
|
|
345
342
|
/**
|
|
@@ -354,7 +351,7 @@ export declare class PayrollUkApi {
|
|
|
354
351
|
[name: string]: string;
|
|
355
352
|
};
|
|
356
353
|
}): Promise<{
|
|
357
|
-
response:
|
|
354
|
+
response: AxiosResponse;
|
|
358
355
|
body: ReimbursementObject;
|
|
359
356
|
}>;
|
|
360
357
|
/**
|
|
@@ -369,7 +366,7 @@ export declare class PayrollUkApi {
|
|
|
369
366
|
[name: string]: string;
|
|
370
367
|
};
|
|
371
368
|
}): Promise<{
|
|
372
|
-
response:
|
|
369
|
+
response: AxiosResponse;
|
|
373
370
|
body: TimesheetObject;
|
|
374
371
|
}>;
|
|
375
372
|
/**
|
|
@@ -385,7 +382,7 @@ export declare class PayrollUkApi {
|
|
|
385
382
|
[name: string]: string;
|
|
386
383
|
};
|
|
387
384
|
}): Promise<{
|
|
388
|
-
response:
|
|
385
|
+
response: AxiosResponse;
|
|
389
386
|
body: TimesheetLineObject;
|
|
390
387
|
}>;
|
|
391
388
|
/**
|
|
@@ -400,7 +397,7 @@ export declare class PayrollUkApi {
|
|
|
400
397
|
[name: string]: string;
|
|
401
398
|
};
|
|
402
399
|
}): Promise<{
|
|
403
|
-
response:
|
|
400
|
+
response: AxiosResponse;
|
|
404
401
|
body?: any;
|
|
405
402
|
}>;
|
|
406
403
|
/**
|
|
@@ -415,7 +412,7 @@ export declare class PayrollUkApi {
|
|
|
415
412
|
[name: string]: string;
|
|
416
413
|
};
|
|
417
414
|
}): Promise<{
|
|
418
|
-
response:
|
|
415
|
+
response: AxiosResponse;
|
|
419
416
|
body: EmployeeLeaveObject;
|
|
420
417
|
}>;
|
|
421
418
|
/**
|
|
@@ -430,7 +427,7 @@ export declare class PayrollUkApi {
|
|
|
430
427
|
[name: string]: string;
|
|
431
428
|
};
|
|
432
429
|
}): Promise<{
|
|
433
|
-
response:
|
|
430
|
+
response: AxiosResponse;
|
|
434
431
|
body?: any;
|
|
435
432
|
}>;
|
|
436
433
|
/**
|
|
@@ -444,7 +441,7 @@ export declare class PayrollUkApi {
|
|
|
444
441
|
[name: string]: string;
|
|
445
442
|
};
|
|
446
443
|
}): Promise<{
|
|
447
|
-
response:
|
|
444
|
+
response: AxiosResponse;
|
|
448
445
|
body: TimesheetLine;
|
|
449
446
|
}>;
|
|
450
447
|
/**
|
|
@@ -459,7 +456,7 @@ export declare class PayrollUkApi {
|
|
|
459
456
|
[name: string]: string;
|
|
460
457
|
};
|
|
461
458
|
}): Promise<{
|
|
462
|
-
response:
|
|
459
|
+
response: AxiosResponse;
|
|
463
460
|
body: TimesheetLine;
|
|
464
461
|
}>;
|
|
465
462
|
/**
|
|
@@ -473,7 +470,7 @@ export declare class PayrollUkApi {
|
|
|
473
470
|
[name: string]: string;
|
|
474
471
|
};
|
|
475
472
|
}): Promise<{
|
|
476
|
-
response:
|
|
473
|
+
response: AxiosResponse;
|
|
477
474
|
body: BenefitObject;
|
|
478
475
|
}>;
|
|
479
476
|
/**
|
|
@@ -487,7 +484,7 @@ export declare class PayrollUkApi {
|
|
|
487
484
|
[name: string]: string;
|
|
488
485
|
};
|
|
489
486
|
}): Promise<{
|
|
490
|
-
response:
|
|
487
|
+
response: AxiosResponse;
|
|
491
488
|
body: Benefits;
|
|
492
489
|
}>;
|
|
493
490
|
/**
|
|
@@ -501,7 +498,7 @@ export declare class PayrollUkApi {
|
|
|
501
498
|
[name: string]: string;
|
|
502
499
|
};
|
|
503
500
|
}): Promise<{
|
|
504
|
-
response:
|
|
501
|
+
response: AxiosResponse;
|
|
505
502
|
body: DeductionObject;
|
|
506
503
|
}>;
|
|
507
504
|
/**
|
|
@@ -515,7 +512,7 @@ export declare class PayrollUkApi {
|
|
|
515
512
|
[name: string]: string;
|
|
516
513
|
};
|
|
517
514
|
}): Promise<{
|
|
518
|
-
response:
|
|
515
|
+
response: AxiosResponse;
|
|
519
516
|
body: Deductions;
|
|
520
517
|
}>;
|
|
521
518
|
/**
|
|
@@ -529,7 +526,7 @@ export declare class PayrollUkApi {
|
|
|
529
526
|
[name: string]: string;
|
|
530
527
|
};
|
|
531
528
|
}): Promise<{
|
|
532
|
-
response:
|
|
529
|
+
response: AxiosResponse;
|
|
533
530
|
body: EarningsOrderObject;
|
|
534
531
|
}>;
|
|
535
532
|
/**
|
|
@@ -543,7 +540,7 @@ export declare class PayrollUkApi {
|
|
|
543
540
|
[name: string]: string;
|
|
544
541
|
};
|
|
545
542
|
}): Promise<{
|
|
546
|
-
response:
|
|
543
|
+
response: AxiosResponse;
|
|
547
544
|
body: EarningsOrders;
|
|
548
545
|
}>;
|
|
549
546
|
/**
|
|
@@ -557,7 +554,7 @@ export declare class PayrollUkApi {
|
|
|
557
554
|
[name: string]: string;
|
|
558
555
|
};
|
|
559
556
|
}): Promise<{
|
|
560
|
-
response:
|
|
557
|
+
response: AxiosResponse;
|
|
561
558
|
body: EarningsRateObject;
|
|
562
559
|
}>;
|
|
563
560
|
/**
|
|
@@ -571,7 +568,7 @@ export declare class PayrollUkApi {
|
|
|
571
568
|
[name: string]: string;
|
|
572
569
|
};
|
|
573
570
|
}): Promise<{
|
|
574
|
-
response:
|
|
571
|
+
response: AxiosResponse;
|
|
575
572
|
body: EarningsRates;
|
|
576
573
|
}>;
|
|
577
574
|
/**
|
|
@@ -585,7 +582,7 @@ export declare class PayrollUkApi {
|
|
|
585
582
|
[name: string]: string;
|
|
586
583
|
};
|
|
587
584
|
}): Promise<{
|
|
588
|
-
response:
|
|
585
|
+
response: AxiosResponse;
|
|
589
586
|
body: EmployeeObject;
|
|
590
587
|
}>;
|
|
591
588
|
/**
|
|
@@ -600,7 +597,7 @@ export declare class PayrollUkApi {
|
|
|
600
597
|
[name: string]: string;
|
|
601
598
|
};
|
|
602
599
|
}): Promise<{
|
|
603
|
-
response:
|
|
600
|
+
response: AxiosResponse;
|
|
604
601
|
body: EmployeeLeaveObject;
|
|
605
602
|
}>;
|
|
606
603
|
/**
|
|
@@ -614,7 +611,7 @@ export declare class PayrollUkApi {
|
|
|
614
611
|
[name: string]: string;
|
|
615
612
|
};
|
|
616
613
|
}): Promise<{
|
|
617
|
-
response:
|
|
614
|
+
response: AxiosResponse;
|
|
618
615
|
body: EmployeeLeaveBalances;
|
|
619
616
|
}>;
|
|
620
617
|
/**
|
|
@@ -630,7 +627,7 @@ export declare class PayrollUkApi {
|
|
|
630
627
|
[name: string]: string;
|
|
631
628
|
};
|
|
632
629
|
}): Promise<{
|
|
633
|
-
response:
|
|
630
|
+
response: AxiosResponse;
|
|
634
631
|
body: LeavePeriods;
|
|
635
632
|
}>;
|
|
636
633
|
/**
|
|
@@ -644,7 +641,7 @@ export declare class PayrollUkApi {
|
|
|
644
641
|
[name: string]: string;
|
|
645
642
|
};
|
|
646
643
|
}): Promise<{
|
|
647
|
-
response:
|
|
644
|
+
response: AxiosResponse;
|
|
648
645
|
body: EmployeeLeaveTypes;
|
|
649
646
|
}>;
|
|
650
647
|
/**
|
|
@@ -658,7 +655,7 @@ export declare class PayrollUkApi {
|
|
|
658
655
|
[name: string]: string;
|
|
659
656
|
};
|
|
660
657
|
}): Promise<{
|
|
661
|
-
response:
|
|
658
|
+
response: AxiosResponse;
|
|
662
659
|
body: EmployeeLeaves;
|
|
663
660
|
}>;
|
|
664
661
|
/**
|
|
@@ -672,7 +669,7 @@ export declare class PayrollUkApi {
|
|
|
672
669
|
[name: string]: string;
|
|
673
670
|
};
|
|
674
671
|
}): Promise<{
|
|
675
|
-
response:
|
|
672
|
+
response: AxiosResponse;
|
|
676
673
|
body: EmployeeOpeningBalancesObject;
|
|
677
674
|
}>;
|
|
678
675
|
/**
|
|
@@ -686,7 +683,7 @@ export declare class PayrollUkApi {
|
|
|
686
683
|
[name: string]: string;
|
|
687
684
|
};
|
|
688
685
|
}): Promise<{
|
|
689
|
-
response:
|
|
686
|
+
response: AxiosResponse;
|
|
690
687
|
body: EmployeePayTemplateObject;
|
|
691
688
|
}>;
|
|
692
689
|
/**
|
|
@@ -700,7 +697,7 @@ export declare class PayrollUkApi {
|
|
|
700
697
|
[name: string]: string;
|
|
701
698
|
};
|
|
702
699
|
}): Promise<{
|
|
703
|
-
response:
|
|
700
|
+
response: AxiosResponse;
|
|
704
701
|
body: PaymentMethodObject;
|
|
705
702
|
}>;
|
|
706
703
|
/**
|
|
@@ -715,7 +712,7 @@ export declare class PayrollUkApi {
|
|
|
715
712
|
[name: string]: string;
|
|
716
713
|
};
|
|
717
714
|
}): Promise<{
|
|
718
|
-
response:
|
|
715
|
+
response: AxiosResponse;
|
|
719
716
|
body: SalaryAndWages;
|
|
720
717
|
}>;
|
|
721
718
|
/**
|
|
@@ -730,7 +727,7 @@ export declare class PayrollUkApi {
|
|
|
730
727
|
[name: string]: string;
|
|
731
728
|
};
|
|
732
729
|
}): Promise<{
|
|
733
|
-
response:
|
|
730
|
+
response: AxiosResponse;
|
|
734
731
|
body: SalaryAndWages;
|
|
735
732
|
}>;
|
|
736
733
|
/**
|
|
@@ -746,7 +743,7 @@ export declare class PayrollUkApi {
|
|
|
746
743
|
[name: string]: string;
|
|
747
744
|
};
|
|
748
745
|
}): Promise<{
|
|
749
|
-
response:
|
|
746
|
+
response: AxiosResponse;
|
|
750
747
|
body: EmployeeStatutoryLeaveBalanceObject;
|
|
751
748
|
}>;
|
|
752
749
|
/**
|
|
@@ -760,7 +757,7 @@ export declare class PayrollUkApi {
|
|
|
760
757
|
[name: string]: string;
|
|
761
758
|
};
|
|
762
759
|
}): Promise<{
|
|
763
|
-
response:
|
|
760
|
+
response: AxiosResponse;
|
|
764
761
|
body: EmployeeStatutorySickLeaveObject;
|
|
765
762
|
}>;
|
|
766
763
|
/**
|
|
@@ -774,7 +771,7 @@ export declare class PayrollUkApi {
|
|
|
774
771
|
[name: string]: string;
|
|
775
772
|
};
|
|
776
773
|
}): Promise<{
|
|
777
|
-
response:
|
|
774
|
+
response: AxiosResponse;
|
|
778
775
|
body: EmployeeTaxObject;
|
|
779
776
|
}>;
|
|
780
777
|
/**
|
|
@@ -789,7 +786,7 @@ export declare class PayrollUkApi {
|
|
|
789
786
|
[name: string]: string;
|
|
790
787
|
};
|
|
791
788
|
}): Promise<{
|
|
792
|
-
response:
|
|
789
|
+
response: AxiosResponse;
|
|
793
790
|
body: Employees;
|
|
794
791
|
}>;
|
|
795
792
|
/**
|
|
@@ -803,7 +800,7 @@ export declare class PayrollUkApi {
|
|
|
803
800
|
[name: string]: string;
|
|
804
801
|
};
|
|
805
802
|
}): Promise<{
|
|
806
|
-
response:
|
|
803
|
+
response: AxiosResponse;
|
|
807
804
|
body: LeaveTypeObject;
|
|
808
805
|
}>;
|
|
809
806
|
/**
|
|
@@ -818,7 +815,7 @@ export declare class PayrollUkApi {
|
|
|
818
815
|
[name: string]: string;
|
|
819
816
|
};
|
|
820
817
|
}): Promise<{
|
|
821
|
-
response:
|
|
818
|
+
response: AxiosResponse;
|
|
822
819
|
body: LeaveTypes;
|
|
823
820
|
}>;
|
|
824
821
|
/**
|
|
@@ -832,7 +829,7 @@ export declare class PayrollUkApi {
|
|
|
832
829
|
[name: string]: string;
|
|
833
830
|
};
|
|
834
831
|
}): Promise<{
|
|
835
|
-
response:
|
|
832
|
+
response: AxiosResponse;
|
|
836
833
|
body: PayRunObject;
|
|
837
834
|
}>;
|
|
838
835
|
/**
|
|
@@ -846,7 +843,7 @@ export declare class PayrollUkApi {
|
|
|
846
843
|
[name: string]: string;
|
|
847
844
|
};
|
|
848
845
|
}): Promise<{
|
|
849
|
-
response:
|
|
846
|
+
response: AxiosResponse;
|
|
850
847
|
body: PayRunCalendarObject;
|
|
851
848
|
}>;
|
|
852
849
|
/**
|
|
@@ -860,7 +857,7 @@ export declare class PayrollUkApi {
|
|
|
860
857
|
[name: string]: string;
|
|
861
858
|
};
|
|
862
859
|
}): Promise<{
|
|
863
|
-
response:
|
|
860
|
+
response: AxiosResponse;
|
|
864
861
|
body: PayRunCalendars;
|
|
865
862
|
}>;
|
|
866
863
|
/**
|
|
@@ -875,7 +872,7 @@ export declare class PayrollUkApi {
|
|
|
875
872
|
[name: string]: string;
|
|
876
873
|
};
|
|
877
874
|
}): Promise<{
|
|
878
|
-
response:
|
|
875
|
+
response: AxiosResponse;
|
|
879
876
|
body: PayRuns;
|
|
880
877
|
}>;
|
|
881
878
|
/**
|
|
@@ -889,7 +886,7 @@ export declare class PayrollUkApi {
|
|
|
889
886
|
[name: string]: string;
|
|
890
887
|
};
|
|
891
888
|
}): Promise<{
|
|
892
|
-
response:
|
|
889
|
+
response: AxiosResponse;
|
|
893
890
|
body: PayslipObject;
|
|
894
891
|
}>;
|
|
895
892
|
/**
|
|
@@ -904,7 +901,7 @@ export declare class PayrollUkApi {
|
|
|
904
901
|
[name: string]: string;
|
|
905
902
|
};
|
|
906
903
|
}): Promise<{
|
|
907
|
-
response:
|
|
904
|
+
response: AxiosResponse;
|
|
908
905
|
body: Payslips;
|
|
909
906
|
}>;
|
|
910
907
|
/**
|
|
@@ -918,7 +915,7 @@ export declare class PayrollUkApi {
|
|
|
918
915
|
[name: string]: string;
|
|
919
916
|
};
|
|
920
917
|
}): Promise<{
|
|
921
|
-
response:
|
|
918
|
+
response: AxiosResponse;
|
|
922
919
|
body: ReimbursementObject;
|
|
923
920
|
}>;
|
|
924
921
|
/**
|
|
@@ -932,7 +929,7 @@ export declare class PayrollUkApi {
|
|
|
932
929
|
[name: string]: string;
|
|
933
930
|
};
|
|
934
931
|
}): Promise<{
|
|
935
|
-
response:
|
|
932
|
+
response: AxiosResponse;
|
|
936
933
|
body: Reimbursements;
|
|
937
934
|
}>;
|
|
938
935
|
/**
|
|
@@ -945,7 +942,7 @@ export declare class PayrollUkApi {
|
|
|
945
942
|
[name: string]: string;
|
|
946
943
|
};
|
|
947
944
|
}): Promise<{
|
|
948
|
-
response:
|
|
945
|
+
response: AxiosResponse;
|
|
949
946
|
body: Settings;
|
|
950
947
|
}>;
|
|
951
948
|
/**
|
|
@@ -960,7 +957,7 @@ export declare class PayrollUkApi {
|
|
|
960
957
|
[name: string]: string;
|
|
961
958
|
};
|
|
962
959
|
}): Promise<{
|
|
963
|
-
response:
|
|
960
|
+
response: AxiosResponse;
|
|
964
961
|
body: EmployeeStatutoryLeavesSummaries;
|
|
965
962
|
}>;
|
|
966
963
|
/**
|
|
@@ -974,7 +971,7 @@ export declare class PayrollUkApi {
|
|
|
974
971
|
[name: string]: string;
|
|
975
972
|
};
|
|
976
973
|
}): Promise<{
|
|
977
|
-
response:
|
|
974
|
+
response: AxiosResponse;
|
|
978
975
|
body: TimesheetObject;
|
|
979
976
|
}>;
|
|
980
977
|
/**
|
|
@@ -993,7 +990,7 @@ export declare class PayrollUkApi {
|
|
|
993
990
|
[name: string]: string;
|
|
994
991
|
};
|
|
995
992
|
}): Promise<{
|
|
996
|
-
response:
|
|
993
|
+
response: AxiosResponse;
|
|
997
994
|
body: Timesheets;
|
|
998
995
|
}>;
|
|
999
996
|
/**
|
|
@@ -1006,7 +1003,7 @@ export declare class PayrollUkApi {
|
|
|
1006
1003
|
[name: string]: string;
|
|
1007
1004
|
};
|
|
1008
1005
|
}): Promise<{
|
|
1009
|
-
response:
|
|
1006
|
+
response: AxiosResponse;
|
|
1010
1007
|
body: TrackingCategories;
|
|
1011
1008
|
}>;
|
|
1012
1009
|
/**
|
|
@@ -1021,7 +1018,7 @@ export declare class PayrollUkApi {
|
|
|
1021
1018
|
[name: string]: string;
|
|
1022
1019
|
};
|
|
1023
1020
|
}): Promise<{
|
|
1024
|
-
response:
|
|
1021
|
+
response: AxiosResponse;
|
|
1025
1022
|
body: TimesheetObject;
|
|
1026
1023
|
}>;
|
|
1027
1024
|
/**
|
|
@@ -1037,7 +1034,7 @@ export declare class PayrollUkApi {
|
|
|
1037
1034
|
[name: string]: string;
|
|
1038
1035
|
};
|
|
1039
1036
|
}): Promise<{
|
|
1040
|
-
response:
|
|
1037
|
+
response: AxiosResponse;
|
|
1041
1038
|
body: EmployeeObject;
|
|
1042
1039
|
}>;
|
|
1043
1040
|
/**
|
|
@@ -1054,7 +1051,7 @@ export declare class PayrollUkApi {
|
|
|
1054
1051
|
[name: string]: string;
|
|
1055
1052
|
};
|
|
1056
1053
|
}): Promise<{
|
|
1057
|
-
response:
|
|
1054
|
+
response: AxiosResponse;
|
|
1058
1055
|
body: EarningsTemplateObject;
|
|
1059
1056
|
}>;
|
|
1060
1057
|
/**
|
|
@@ -1071,7 +1068,7 @@ export declare class PayrollUkApi {
|
|
|
1071
1068
|
[name: string]: string;
|
|
1072
1069
|
};
|
|
1073
1070
|
}): Promise<{
|
|
1074
|
-
response:
|
|
1071
|
+
response: AxiosResponse;
|
|
1075
1072
|
body: EmployeeLeaveObject;
|
|
1076
1073
|
}>;
|
|
1077
1074
|
/**
|
|
@@ -1087,7 +1084,7 @@ export declare class PayrollUkApi {
|
|
|
1087
1084
|
[name: string]: string;
|
|
1088
1085
|
};
|
|
1089
1086
|
}): Promise<{
|
|
1090
|
-
response:
|
|
1087
|
+
response: AxiosResponse;
|
|
1091
1088
|
body: EmployeeOpeningBalancesObject;
|
|
1092
1089
|
}>;
|
|
1093
1090
|
/**
|
|
@@ -1104,7 +1101,7 @@ export declare class PayrollUkApi {
|
|
|
1104
1101
|
[name: string]: string;
|
|
1105
1102
|
};
|
|
1106
1103
|
}): Promise<{
|
|
1107
|
-
response:
|
|
1104
|
+
response: AxiosResponse;
|
|
1108
1105
|
body: SalaryAndWageObject;
|
|
1109
1106
|
}>;
|
|
1110
1107
|
/**
|
|
@@ -1120,7 +1117,7 @@ export declare class PayrollUkApi {
|
|
|
1120
1117
|
[name: string]: string;
|
|
1121
1118
|
};
|
|
1122
1119
|
}): Promise<{
|
|
1123
|
-
response:
|
|
1120
|
+
response: AxiosResponse;
|
|
1124
1121
|
body: PayRunObject;
|
|
1125
1122
|
}>;
|
|
1126
1123
|
/**
|
|
@@ -1137,7 +1134,7 @@ export declare class PayrollUkApi {
|
|
|
1137
1134
|
[name: string]: string;
|
|
1138
1135
|
};
|
|
1139
1136
|
}): Promise<{
|
|
1140
|
-
response:
|
|
1137
|
+
response: AxiosResponse;
|
|
1141
1138
|
body: TimesheetLineObject;
|
|
1142
1139
|
}>;
|
|
1143
1140
|
}
|