xero-node 4.38.0 → 5.0.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/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 +5 -5
|
@@ -2,17 +2,13 @@
|
|
|
2
2
|
* Xero Payroll NZ
|
|
3
3
|
* This is the Xero Payroll API for orgs in the NZ 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-nz/benefit';
|
|
17
13
|
import { Deduction } from '../model/payroll-nz/deduction';
|
|
18
14
|
import { DeductionObject } from '../model/payroll-nz/deductionObject';
|
|
@@ -75,6 +71,7 @@ import { TimesheetObject } from '../model/payroll-nz/timesheetObject';
|
|
|
75
71
|
import { Timesheets } from '../model/payroll-nz/timesheets';
|
|
76
72
|
import { TrackingCategories } from '../model/payroll-nz/trackingCategories';
|
|
77
73
|
import { Authentication } from '../model/payroll-nz/models';
|
|
74
|
+
import { AxiosResponse } from 'axios';
|
|
78
75
|
import { OAuth } from '../model/payroll-nz/models';
|
|
79
76
|
export declare enum PayrollNzApiApiKeys {
|
|
80
77
|
}
|
|
@@ -106,7 +103,7 @@ export declare class PayrollNzApi {
|
|
|
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 PayrollNzApi {
|
|
|
121
118
|
[name: string]: string;
|
|
122
119
|
};
|
|
123
120
|
}): Promise<{
|
|
124
|
-
response:
|
|
121
|
+
response: AxiosResponse;
|
|
125
122
|
body: DeductionObject;
|
|
126
123
|
}>;
|
|
127
124
|
/**
|
|
@@ -136,7 +133,7 @@ export declare class PayrollNzApi {
|
|
|
136
133
|
[name: string]: string;
|
|
137
134
|
};
|
|
138
135
|
}): Promise<{
|
|
139
|
-
response:
|
|
136
|
+
response: AxiosResponse;
|
|
140
137
|
body: EarningsRateObject;
|
|
141
138
|
}>;
|
|
142
139
|
/**
|
|
@@ -151,7 +148,7 @@ export declare class PayrollNzApi {
|
|
|
151
148
|
[name: string]: string;
|
|
152
149
|
};
|
|
153
150
|
}): Promise<{
|
|
154
|
-
response:
|
|
151
|
+
response: AxiosResponse;
|
|
155
152
|
body: EmployeeObject;
|
|
156
153
|
}>;
|
|
157
154
|
/**
|
|
@@ -167,7 +164,7 @@ export declare class PayrollNzApi {
|
|
|
167
164
|
[name: string]: string;
|
|
168
165
|
};
|
|
169
166
|
}): Promise<{
|
|
170
|
-
response:
|
|
167
|
+
response: AxiosResponse;
|
|
171
168
|
body: EarningsTemplateObject;
|
|
172
169
|
}>;
|
|
173
170
|
/**
|
|
@@ -183,7 +180,7 @@ export declare class PayrollNzApi {
|
|
|
183
180
|
[name: string]: string;
|
|
184
181
|
};
|
|
185
182
|
}): Promise<{
|
|
186
|
-
response:
|
|
183
|
+
response: AxiosResponse;
|
|
187
184
|
body: EmployeeLeaveObject;
|
|
188
185
|
}>;
|
|
189
186
|
/**
|
|
@@ -199,7 +196,7 @@ export declare class PayrollNzApi {
|
|
|
199
196
|
[name: string]: string;
|
|
200
197
|
};
|
|
201
198
|
}): Promise<{
|
|
202
|
-
response:
|
|
199
|
+
response: AxiosResponse;
|
|
203
200
|
body: EmployeeLeaveSetupObject;
|
|
204
201
|
}>;
|
|
205
202
|
/**
|
|
@@ -215,7 +212,7 @@ export declare class PayrollNzApi {
|
|
|
215
212
|
[name: string]: string;
|
|
216
213
|
};
|
|
217
214
|
}): Promise<{
|
|
218
|
-
response:
|
|
215
|
+
response: AxiosResponse;
|
|
219
216
|
body: EmployeeLeaveTypeObject;
|
|
220
217
|
}>;
|
|
221
218
|
/**
|
|
@@ -231,7 +228,7 @@ export declare class PayrollNzApi {
|
|
|
231
228
|
[name: string]: string;
|
|
232
229
|
};
|
|
233
230
|
}): Promise<{
|
|
234
|
-
response:
|
|
231
|
+
response: AxiosResponse;
|
|
235
232
|
body: EmployeeOpeningBalancesObject;
|
|
236
233
|
}>;
|
|
237
234
|
/**
|
|
@@ -247,7 +244,7 @@ export declare class PayrollNzApi {
|
|
|
247
244
|
[name: string]: string;
|
|
248
245
|
};
|
|
249
246
|
}): Promise<{
|
|
250
|
-
response:
|
|
247
|
+
response: AxiosResponse;
|
|
251
248
|
body: PaymentMethodObject;
|
|
252
249
|
}>;
|
|
253
250
|
/**
|
|
@@ -263,7 +260,7 @@ export declare class PayrollNzApi {
|
|
|
263
260
|
[name: string]: string;
|
|
264
261
|
};
|
|
265
262
|
}): Promise<{
|
|
266
|
-
response:
|
|
263
|
+
response: AxiosResponse;
|
|
267
264
|
body: SalaryAndWageObject;
|
|
268
265
|
}>;
|
|
269
266
|
/**
|
|
@@ -279,7 +276,7 @@ export declare class PayrollNzApi {
|
|
|
279
276
|
[name: string]: string;
|
|
280
277
|
};
|
|
281
278
|
}): Promise<{
|
|
282
|
-
response:
|
|
279
|
+
response: AxiosResponse;
|
|
283
280
|
body: EmploymentObject;
|
|
284
281
|
}>;
|
|
285
282
|
/**
|
|
@@ -294,7 +291,7 @@ export declare class PayrollNzApi {
|
|
|
294
291
|
[name: string]: string;
|
|
295
292
|
};
|
|
296
293
|
}): Promise<{
|
|
297
|
-
response:
|
|
294
|
+
response: AxiosResponse;
|
|
298
295
|
body: LeaveTypeObject;
|
|
299
296
|
}>;
|
|
300
297
|
/**
|
|
@@ -310,7 +307,7 @@ export declare class PayrollNzApi {
|
|
|
310
307
|
[name: string]: string;
|
|
311
308
|
};
|
|
312
309
|
}): Promise<{
|
|
313
|
-
response:
|
|
310
|
+
response: AxiosResponse;
|
|
314
311
|
body: EmployeeEarningsTemplates;
|
|
315
312
|
}>;
|
|
316
313
|
/**
|
|
@@ -325,7 +322,7 @@ export declare class PayrollNzApi {
|
|
|
325
322
|
[name: string]: string;
|
|
326
323
|
};
|
|
327
324
|
}): Promise<{
|
|
328
|
-
response:
|
|
325
|
+
response: AxiosResponse;
|
|
329
326
|
body: PayRunObject;
|
|
330
327
|
}>;
|
|
331
328
|
/**
|
|
@@ -340,7 +337,7 @@ export declare class PayrollNzApi {
|
|
|
340
337
|
[name: string]: string;
|
|
341
338
|
};
|
|
342
339
|
}): Promise<{
|
|
343
|
-
response:
|
|
340
|
+
response: AxiosResponse;
|
|
344
341
|
body: PayRunCalendarObject;
|
|
345
342
|
}>;
|
|
346
343
|
/**
|
|
@@ -355,7 +352,7 @@ export declare class PayrollNzApi {
|
|
|
355
352
|
[name: string]: string;
|
|
356
353
|
};
|
|
357
354
|
}): Promise<{
|
|
358
|
-
response:
|
|
355
|
+
response: AxiosResponse;
|
|
359
356
|
body: ReimbursementObject;
|
|
360
357
|
}>;
|
|
361
358
|
/**
|
|
@@ -370,7 +367,7 @@ export declare class PayrollNzApi {
|
|
|
370
367
|
[name: string]: string;
|
|
371
368
|
};
|
|
372
369
|
}): Promise<{
|
|
373
|
-
response:
|
|
370
|
+
response: AxiosResponse;
|
|
374
371
|
body: SuperannuationObject;
|
|
375
372
|
}>;
|
|
376
373
|
/**
|
|
@@ -385,7 +382,7 @@ export declare class PayrollNzApi {
|
|
|
385
382
|
[name: string]: string;
|
|
386
383
|
};
|
|
387
384
|
}): Promise<{
|
|
388
|
-
response:
|
|
385
|
+
response: AxiosResponse;
|
|
389
386
|
body: TimesheetObject;
|
|
390
387
|
}>;
|
|
391
388
|
/**
|
|
@@ -401,7 +398,7 @@ export declare class PayrollNzApi {
|
|
|
401
398
|
[name: string]: string;
|
|
402
399
|
};
|
|
403
400
|
}): Promise<{
|
|
404
|
-
response:
|
|
401
|
+
response: AxiosResponse;
|
|
405
402
|
body: TimesheetLineObject;
|
|
406
403
|
}>;
|
|
407
404
|
/**
|
|
@@ -416,7 +413,7 @@ export declare class PayrollNzApi {
|
|
|
416
413
|
[name: string]: string;
|
|
417
414
|
};
|
|
418
415
|
}): Promise<{
|
|
419
|
-
response:
|
|
416
|
+
response: AxiosResponse;
|
|
420
417
|
body: EarningsTemplateObject;
|
|
421
418
|
}>;
|
|
422
419
|
/**
|
|
@@ -431,7 +428,7 @@ export declare class PayrollNzApi {
|
|
|
431
428
|
[name: string]: string;
|
|
432
429
|
};
|
|
433
430
|
}): Promise<{
|
|
434
|
-
response:
|
|
431
|
+
response: AxiosResponse;
|
|
435
432
|
body: EmployeeLeaveObject;
|
|
436
433
|
}>;
|
|
437
434
|
/**
|
|
@@ -446,7 +443,7 @@ export declare class PayrollNzApi {
|
|
|
446
443
|
[name: string]: string;
|
|
447
444
|
};
|
|
448
445
|
}): Promise<{
|
|
449
|
-
response:
|
|
446
|
+
response: AxiosResponse;
|
|
450
447
|
body: SalaryAndWageObject;
|
|
451
448
|
}>;
|
|
452
449
|
/**
|
|
@@ -460,7 +457,7 @@ export declare class PayrollNzApi {
|
|
|
460
457
|
[name: string]: string;
|
|
461
458
|
};
|
|
462
459
|
}): Promise<{
|
|
463
|
-
response:
|
|
460
|
+
response: AxiosResponse;
|
|
464
461
|
body: TimesheetLine;
|
|
465
462
|
}>;
|
|
466
463
|
/**
|
|
@@ -475,7 +472,7 @@ export declare class PayrollNzApi {
|
|
|
475
472
|
[name: string]: string;
|
|
476
473
|
};
|
|
477
474
|
}): Promise<{
|
|
478
|
-
response:
|
|
475
|
+
response: AxiosResponse;
|
|
479
476
|
body: TimesheetLine;
|
|
480
477
|
}>;
|
|
481
478
|
/**
|
|
@@ -489,7 +486,7 @@ export declare class PayrollNzApi {
|
|
|
489
486
|
[name: string]: string;
|
|
490
487
|
};
|
|
491
488
|
}): Promise<{
|
|
492
|
-
response:
|
|
489
|
+
response: AxiosResponse;
|
|
493
490
|
body: DeductionObject;
|
|
494
491
|
}>;
|
|
495
492
|
/**
|
|
@@ -503,7 +500,7 @@ export declare class PayrollNzApi {
|
|
|
503
500
|
[name: string]: string;
|
|
504
501
|
};
|
|
505
502
|
}): Promise<{
|
|
506
|
-
response:
|
|
503
|
+
response: AxiosResponse;
|
|
507
504
|
body: Deductions;
|
|
508
505
|
}>;
|
|
509
506
|
/**
|
|
@@ -517,7 +514,7 @@ export declare class PayrollNzApi {
|
|
|
517
514
|
[name: string]: string;
|
|
518
515
|
};
|
|
519
516
|
}): Promise<{
|
|
520
|
-
response:
|
|
517
|
+
response: AxiosResponse;
|
|
521
518
|
body: EarningsRateObject;
|
|
522
519
|
}>;
|
|
523
520
|
/**
|
|
@@ -531,7 +528,7 @@ export declare class PayrollNzApi {
|
|
|
531
528
|
[name: string]: string;
|
|
532
529
|
};
|
|
533
530
|
}): Promise<{
|
|
534
|
-
response:
|
|
531
|
+
response: AxiosResponse;
|
|
535
532
|
body: EarningsRates;
|
|
536
533
|
}>;
|
|
537
534
|
/**
|
|
@@ -545,7 +542,7 @@ export declare class PayrollNzApi {
|
|
|
545
542
|
[name: string]: string;
|
|
546
543
|
};
|
|
547
544
|
}): Promise<{
|
|
548
|
-
response:
|
|
545
|
+
response: AxiosResponse;
|
|
549
546
|
body: EmployeeObject;
|
|
550
547
|
}>;
|
|
551
548
|
/**
|
|
@@ -559,7 +556,7 @@ export declare class PayrollNzApi {
|
|
|
559
556
|
[name: string]: string;
|
|
560
557
|
};
|
|
561
558
|
}): Promise<{
|
|
562
|
-
response:
|
|
559
|
+
response: AxiosResponse;
|
|
563
560
|
body: EmployeeLeaveBalances;
|
|
564
561
|
}>;
|
|
565
562
|
/**
|
|
@@ -575,7 +572,7 @@ export declare class PayrollNzApi {
|
|
|
575
572
|
[name: string]: string;
|
|
576
573
|
};
|
|
577
574
|
}): Promise<{
|
|
578
|
-
response:
|
|
575
|
+
response: AxiosResponse;
|
|
579
576
|
body: LeavePeriods;
|
|
580
577
|
}>;
|
|
581
578
|
/**
|
|
@@ -589,7 +586,7 @@ export declare class PayrollNzApi {
|
|
|
589
586
|
[name: string]: string;
|
|
590
587
|
};
|
|
591
588
|
}): Promise<{
|
|
592
|
-
response:
|
|
589
|
+
response: AxiosResponse;
|
|
593
590
|
body: EmployeeLeaveTypes;
|
|
594
591
|
}>;
|
|
595
592
|
/**
|
|
@@ -603,7 +600,7 @@ export declare class PayrollNzApi {
|
|
|
603
600
|
[name: string]: string;
|
|
604
601
|
};
|
|
605
602
|
}): Promise<{
|
|
606
|
-
response:
|
|
603
|
+
response: AxiosResponse;
|
|
607
604
|
body: EmployeeLeaves;
|
|
608
605
|
}>;
|
|
609
606
|
/**
|
|
@@ -617,7 +614,7 @@ export declare class PayrollNzApi {
|
|
|
617
614
|
[name: string]: string;
|
|
618
615
|
};
|
|
619
616
|
}): Promise<{
|
|
620
|
-
response:
|
|
617
|
+
response: AxiosResponse;
|
|
621
618
|
body: EmployeeOpeningBalancesObject;
|
|
622
619
|
}>;
|
|
623
620
|
/**
|
|
@@ -631,7 +628,7 @@ export declare class PayrollNzApi {
|
|
|
631
628
|
[name: string]: string;
|
|
632
629
|
};
|
|
633
630
|
}): Promise<{
|
|
634
|
-
response:
|
|
631
|
+
response: AxiosResponse;
|
|
635
632
|
body: EmployeePayTemplates;
|
|
636
633
|
}>;
|
|
637
634
|
/**
|
|
@@ -645,7 +642,7 @@ export declare class PayrollNzApi {
|
|
|
645
642
|
[name: string]: string;
|
|
646
643
|
};
|
|
647
644
|
}): Promise<{
|
|
648
|
-
response:
|
|
645
|
+
response: AxiosResponse;
|
|
649
646
|
body: PaymentMethodObject;
|
|
650
647
|
}>;
|
|
651
648
|
/**
|
|
@@ -660,7 +657,7 @@ export declare class PayrollNzApi {
|
|
|
660
657
|
[name: string]: string;
|
|
661
658
|
};
|
|
662
659
|
}): Promise<{
|
|
663
|
-
response:
|
|
660
|
+
response: AxiosResponse;
|
|
664
661
|
body: SalaryAndWages;
|
|
665
662
|
}>;
|
|
666
663
|
/**
|
|
@@ -675,7 +672,7 @@ export declare class PayrollNzApi {
|
|
|
675
672
|
[name: string]: string;
|
|
676
673
|
};
|
|
677
674
|
}): Promise<{
|
|
678
|
-
response:
|
|
675
|
+
response: AxiosResponse;
|
|
679
676
|
body: SalaryAndWages;
|
|
680
677
|
}>;
|
|
681
678
|
/**
|
|
@@ -689,7 +686,7 @@ export declare class PayrollNzApi {
|
|
|
689
686
|
[name: string]: string;
|
|
690
687
|
};
|
|
691
688
|
}): Promise<{
|
|
692
|
-
response:
|
|
689
|
+
response: AxiosResponse;
|
|
693
690
|
body: EmployeeTaxObject;
|
|
694
691
|
}>;
|
|
695
692
|
/**
|
|
@@ -704,7 +701,7 @@ export declare class PayrollNzApi {
|
|
|
704
701
|
[name: string]: string;
|
|
705
702
|
};
|
|
706
703
|
}): Promise<{
|
|
707
|
-
response:
|
|
704
|
+
response: AxiosResponse;
|
|
708
705
|
body: Employees;
|
|
709
706
|
}>;
|
|
710
707
|
/**
|
|
@@ -718,7 +715,7 @@ export declare class PayrollNzApi {
|
|
|
718
715
|
[name: string]: string;
|
|
719
716
|
};
|
|
720
717
|
}): Promise<{
|
|
721
|
-
response:
|
|
718
|
+
response: AxiosResponse;
|
|
722
719
|
body: LeaveTypeObject;
|
|
723
720
|
}>;
|
|
724
721
|
/**
|
|
@@ -733,7 +730,7 @@ export declare class PayrollNzApi {
|
|
|
733
730
|
[name: string]: string;
|
|
734
731
|
};
|
|
735
732
|
}): Promise<{
|
|
736
|
-
response:
|
|
733
|
+
response: AxiosResponse;
|
|
737
734
|
body: LeaveTypes;
|
|
738
735
|
}>;
|
|
739
736
|
/**
|
|
@@ -747,7 +744,7 @@ export declare class PayrollNzApi {
|
|
|
747
744
|
[name: string]: string;
|
|
748
745
|
};
|
|
749
746
|
}): Promise<{
|
|
750
|
-
response:
|
|
747
|
+
response: AxiosResponse;
|
|
751
748
|
body: PayRunObject;
|
|
752
749
|
}>;
|
|
753
750
|
/**
|
|
@@ -761,7 +758,7 @@ export declare class PayrollNzApi {
|
|
|
761
758
|
[name: string]: string;
|
|
762
759
|
};
|
|
763
760
|
}): Promise<{
|
|
764
|
-
response:
|
|
761
|
+
response: AxiosResponse;
|
|
765
762
|
body: PayRunCalendarObject;
|
|
766
763
|
}>;
|
|
767
764
|
/**
|
|
@@ -775,7 +772,7 @@ export declare class PayrollNzApi {
|
|
|
775
772
|
[name: string]: string;
|
|
776
773
|
};
|
|
777
774
|
}): Promise<{
|
|
778
|
-
response:
|
|
775
|
+
response: AxiosResponse;
|
|
779
776
|
body: PayRunCalendars;
|
|
780
777
|
}>;
|
|
781
778
|
/**
|
|
@@ -790,7 +787,7 @@ export declare class PayrollNzApi {
|
|
|
790
787
|
[name: string]: string;
|
|
791
788
|
};
|
|
792
789
|
}): Promise<{
|
|
793
|
-
response:
|
|
790
|
+
response: AxiosResponse;
|
|
794
791
|
body: PayRuns;
|
|
795
792
|
}>;
|
|
796
793
|
/**
|
|
@@ -804,7 +801,7 @@ export declare class PayrollNzApi {
|
|
|
804
801
|
[name: string]: string;
|
|
805
802
|
};
|
|
806
803
|
}): Promise<{
|
|
807
|
-
response:
|
|
804
|
+
response: AxiosResponse;
|
|
808
805
|
body: PaySlipObject;
|
|
809
806
|
}>;
|
|
810
807
|
/**
|
|
@@ -819,7 +816,7 @@ export declare class PayrollNzApi {
|
|
|
819
816
|
[name: string]: string;
|
|
820
817
|
};
|
|
821
818
|
}): Promise<{
|
|
822
|
-
response:
|
|
819
|
+
response: AxiosResponse;
|
|
823
820
|
body: PaySlips;
|
|
824
821
|
}>;
|
|
825
822
|
/**
|
|
@@ -833,7 +830,7 @@ export declare class PayrollNzApi {
|
|
|
833
830
|
[name: string]: string;
|
|
834
831
|
};
|
|
835
832
|
}): Promise<{
|
|
836
|
-
response:
|
|
833
|
+
response: AxiosResponse;
|
|
837
834
|
body: ReimbursementObject;
|
|
838
835
|
}>;
|
|
839
836
|
/**
|
|
@@ -847,7 +844,7 @@ export declare class PayrollNzApi {
|
|
|
847
844
|
[name: string]: string;
|
|
848
845
|
};
|
|
849
846
|
}): Promise<{
|
|
850
|
-
response:
|
|
847
|
+
response: AxiosResponse;
|
|
851
848
|
body: Reimbursements;
|
|
852
849
|
}>;
|
|
853
850
|
/**
|
|
@@ -860,7 +857,7 @@ export declare class PayrollNzApi {
|
|
|
860
857
|
[name: string]: string;
|
|
861
858
|
};
|
|
862
859
|
}): Promise<{
|
|
863
|
-
response:
|
|
860
|
+
response: AxiosResponse;
|
|
864
861
|
body: Settings;
|
|
865
862
|
}>;
|
|
866
863
|
/**
|
|
@@ -874,7 +871,7 @@ export declare class PayrollNzApi {
|
|
|
874
871
|
[name: string]: string;
|
|
875
872
|
};
|
|
876
873
|
}): Promise<{
|
|
877
|
-
response:
|
|
874
|
+
response: AxiosResponse;
|
|
878
875
|
body: StatutoryDeductionObject;
|
|
879
876
|
}>;
|
|
880
877
|
/**
|
|
@@ -888,7 +885,7 @@ export declare class PayrollNzApi {
|
|
|
888
885
|
[name: string]: string;
|
|
889
886
|
};
|
|
890
887
|
}): Promise<{
|
|
891
|
-
response:
|
|
888
|
+
response: AxiosResponse;
|
|
892
889
|
body: StatutoryDeductions;
|
|
893
890
|
}>;
|
|
894
891
|
/**
|
|
@@ -902,7 +899,7 @@ export declare class PayrollNzApi {
|
|
|
902
899
|
[name: string]: string;
|
|
903
900
|
};
|
|
904
901
|
}): Promise<{
|
|
905
|
-
response:
|
|
902
|
+
response: AxiosResponse;
|
|
906
903
|
body: SuperannuationObject;
|
|
907
904
|
}>;
|
|
908
905
|
/**
|
|
@@ -916,7 +913,7 @@ export declare class PayrollNzApi {
|
|
|
916
913
|
[name: string]: string;
|
|
917
914
|
};
|
|
918
915
|
}): Promise<{
|
|
919
|
-
response:
|
|
916
|
+
response: AxiosResponse;
|
|
920
917
|
body: Superannuations;
|
|
921
918
|
}>;
|
|
922
919
|
/**
|
|
@@ -930,7 +927,7 @@ export declare class PayrollNzApi {
|
|
|
930
927
|
[name: string]: string;
|
|
931
928
|
};
|
|
932
929
|
}): Promise<{
|
|
933
|
-
response:
|
|
930
|
+
response: AxiosResponse;
|
|
934
931
|
body: TimesheetObject;
|
|
935
932
|
}>;
|
|
936
933
|
/**
|
|
@@ -949,7 +946,7 @@ export declare class PayrollNzApi {
|
|
|
949
946
|
[name: string]: string;
|
|
950
947
|
};
|
|
951
948
|
}): Promise<{
|
|
952
|
-
response:
|
|
949
|
+
response: AxiosResponse;
|
|
953
950
|
body: Timesheets;
|
|
954
951
|
}>;
|
|
955
952
|
/**
|
|
@@ -962,7 +959,7 @@ export declare class PayrollNzApi {
|
|
|
962
959
|
[name: string]: string;
|
|
963
960
|
};
|
|
964
961
|
}): Promise<{
|
|
965
|
-
response:
|
|
962
|
+
response: AxiosResponse;
|
|
966
963
|
body: TrackingCategories;
|
|
967
964
|
}>;
|
|
968
965
|
/**
|
|
@@ -977,7 +974,7 @@ export declare class PayrollNzApi {
|
|
|
977
974
|
[name: string]: string;
|
|
978
975
|
};
|
|
979
976
|
}): Promise<{
|
|
980
|
-
response:
|
|
977
|
+
response: AxiosResponse;
|
|
981
978
|
body: TimesheetObject;
|
|
982
979
|
}>;
|
|
983
980
|
/**
|
|
@@ -993,7 +990,7 @@ export declare class PayrollNzApi {
|
|
|
993
990
|
[name: string]: string;
|
|
994
991
|
};
|
|
995
992
|
}): Promise<{
|
|
996
|
-
response:
|
|
993
|
+
response: AxiosResponse;
|
|
997
994
|
body: EmployeeObject;
|
|
998
995
|
}>;
|
|
999
996
|
/**
|
|
@@ -1010,7 +1007,7 @@ export declare class PayrollNzApi {
|
|
|
1010
1007
|
[name: string]: string;
|
|
1011
1008
|
};
|
|
1012
1009
|
}): Promise<{
|
|
1013
|
-
response:
|
|
1010
|
+
response: AxiosResponse;
|
|
1014
1011
|
body: EarningsTemplateObject;
|
|
1015
1012
|
}>;
|
|
1016
1013
|
/**
|
|
@@ -1027,7 +1024,7 @@ export declare class PayrollNzApi {
|
|
|
1027
1024
|
[name: string]: string;
|
|
1028
1025
|
};
|
|
1029
1026
|
}): Promise<{
|
|
1030
|
-
response:
|
|
1027
|
+
response: AxiosResponse;
|
|
1031
1028
|
body: EmployeeLeaveObject;
|
|
1032
1029
|
}>;
|
|
1033
1030
|
/**
|
|
@@ -1044,7 +1041,7 @@ export declare class PayrollNzApi {
|
|
|
1044
1041
|
[name: string]: string;
|
|
1045
1042
|
};
|
|
1046
1043
|
}): Promise<{
|
|
1047
|
-
response:
|
|
1044
|
+
response: AxiosResponse;
|
|
1048
1045
|
body: SalaryAndWageObject;
|
|
1049
1046
|
}>;
|
|
1050
1047
|
/**
|
|
@@ -1060,7 +1057,7 @@ export declare class PayrollNzApi {
|
|
|
1060
1057
|
[name: string]: string;
|
|
1061
1058
|
};
|
|
1062
1059
|
}): Promise<{
|
|
1063
|
-
response:
|
|
1060
|
+
response: AxiosResponse;
|
|
1064
1061
|
body: EmployeeTaxObject;
|
|
1065
1062
|
}>;
|
|
1066
1063
|
/**
|
|
@@ -1076,7 +1073,7 @@ export declare class PayrollNzApi {
|
|
|
1076
1073
|
[name: string]: string;
|
|
1077
1074
|
};
|
|
1078
1075
|
}): Promise<{
|
|
1079
|
-
response:
|
|
1076
|
+
response: AxiosResponse;
|
|
1080
1077
|
body: PayRunObject;
|
|
1081
1078
|
}>;
|
|
1082
1079
|
/**
|
|
@@ -1092,7 +1089,7 @@ export declare class PayrollNzApi {
|
|
|
1092
1089
|
[name: string]: string;
|
|
1093
1090
|
};
|
|
1094
1091
|
}): Promise<{
|
|
1095
|
-
response:
|
|
1092
|
+
response: AxiosResponse;
|
|
1096
1093
|
body: PaySlipObject;
|
|
1097
1094
|
}>;
|
|
1098
1095
|
/**
|
|
@@ -1109,7 +1106,7 @@ export declare class PayrollNzApi {
|
|
|
1109
1106
|
[name: string]: string;
|
|
1110
1107
|
};
|
|
1111
1108
|
}): Promise<{
|
|
1112
|
-
response:
|
|
1109
|
+
response: AxiosResponse;
|
|
1113
1110
|
body: TimesheetLineObject;
|
|
1114
1111
|
}>;
|
|
1115
1112
|
}
|