xero-node 11.2.0 → 13.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/README.md +6 -6
- package/dist/XeroClient.js +2 -2
- package/dist/XeroClient.js.map +1 -1
- package/dist/gen/api/accountingApi.d.ts +1 -4
- package/dist/gen/api/accountingApi.js +476 -476
- package/dist/gen/api/accountingApi.js.map +1 -1
- package/dist/gen/api/appStoreApi.d.ts +1 -1
- package/dist/gen/api/appStoreApi.js +10 -10
- package/dist/gen/api/appStoreApi.js.map +1 -1
- package/dist/gen/api/assetApi.d.ts +1 -1
- package/dist/gen/api/assetApi.js +14 -14
- package/dist/gen/api/assetApi.js.map +1 -1
- package/dist/gen/api/bankfeedsApi.d.ts +1 -1
- package/dist/gen/api/bankfeedsApi.js +16 -16
- package/dist/gen/api/bankfeedsApi.js.map +1 -1
- package/dist/gen/api/filesApi.d.ts +3 -5
- package/dist/gen/api/filesApi.js +42 -38
- package/dist/gen/api/filesApi.js.map +1 -1
- package/dist/gen/api/financeApi.d.ts +1 -1
- package/dist/gen/api/financeApi.js +26 -26
- package/dist/gen/api/financeApi.js.map +1 -1
- package/dist/gen/api/payrollAUApi.d.ts +1 -1
- package/dist/gen/api/payrollAUApi.js +66 -66
- package/dist/gen/api/payrollAUApi.js.map +1 -1
- package/dist/gen/api/payrollNZApi.d.ts +1 -1
- package/dist/gen/api/payrollNZApi.js +146 -146
- package/dist/gen/api/payrollNZApi.js.map +1 -1
- package/dist/gen/api/payrollUKApi.d.ts +1 -1
- package/dist/gen/api/payrollUKApi.js +142 -142
- package/dist/gen/api/payrollUKApi.js.map +1 -1
- package/dist/gen/api/projectApi.d.ts +1 -1
- package/dist/gen/api/projectApi.js +34 -34
- package/dist/gen/api/projectApi.js.map +1 -1
- package/dist/gen/model/accounting/user.d.ts +2 -1
- package/dist/gen/model/accounting/user.js +1 -0
- package/dist/gen/model/accounting/user.js.map +1 -1
- package/dist/gen/model/appstore/product.d.ts +3 -2
- package/dist/gen/model/appstore/product.js +1 -0
- package/dist/gen/model/appstore/product.js.map +1 -1
- package/dist/gen/model/payroll-nz/employee.d.ts +4 -4
- package/dist/gen/model/payroll-nz/employment.d.ts +3 -3
- package/dist/gen/model/payroll-uk/employee.d.ts +6 -6
- package/dist/gen/model/payroll-uk/employeeStatutoryLeaveBalance.d.ts +2 -1
- package/dist/gen/model/payroll-uk/employeeStatutoryLeaveBalance.js +1 -0
- package/dist/gen/model/payroll-uk/employeeStatutoryLeaveBalance.js.map +1 -1
- package/dist/gen/model/payroll-uk/employeeStatutoryLeaveSummary.d.ts +2 -1
- package/dist/gen/model/payroll-uk/employeeStatutoryLeaveSummary.js +1 -0
- package/dist/gen/model/payroll-uk/employeeStatutoryLeaveSummary.js.map +1 -1
- package/dist/gen/model/payroll-uk/employment.d.ts +4 -4
- package/package.json +6 -6
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Xero Payroll AU API
|
|
4
4
|
* This is the Xero Payroll API for orgs in Australia region.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document:
|
|
6
|
+
* The version of the OpenAPI document: 9.0.0
|
|
7
7
|
* Contact: api@xero.com
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -38,7 +38,7 @@ var PayrollAuApiApiKeys;
|
|
|
38
38
|
class PayrollAuApi {
|
|
39
39
|
constructor(basePathOrUsername, password, basePath) {
|
|
40
40
|
this._basePath = defaultBasePath;
|
|
41
|
-
this.defaultHeaders = { 'user-agent': 'xero-node-
|
|
41
|
+
this.defaultHeaders = { 'user-agent': 'xero-node-13.0.0' };
|
|
42
42
|
this._useQuerystring = false;
|
|
43
43
|
this.binaryHeaders = {};
|
|
44
44
|
this.authentications = {
|
|
@@ -81,8 +81,8 @@ class PayrollAuApi {
|
|
|
81
81
|
* @param leaveApplicationID Leave Application id for single object
|
|
82
82
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
83
83
|
*/
|
|
84
|
-
approveLeaveApplication(
|
|
85
|
-
return __awaiter(this,
|
|
84
|
+
approveLeaveApplication(xeroTenantId_1, leaveApplicationID_1, idempotencyKey_1) {
|
|
85
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, leaveApplicationID, idempotencyKey, options = { headers: {} }) {
|
|
86
86
|
const localVarPath = this.basePath + '/LeaveApplications/{LeaveApplicationID}/approve'
|
|
87
87
|
.replace('{' + 'LeaveApplicationID' + '}', encodeURIComponent(String(leaveApplicationID)));
|
|
88
88
|
let localVarQueryParameters = {};
|
|
@@ -155,8 +155,8 @@ class PayrollAuApi {
|
|
|
155
155
|
* @param employee
|
|
156
156
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
157
157
|
*/
|
|
158
|
-
createEmployee(
|
|
159
|
-
return __awaiter(this,
|
|
158
|
+
createEmployee(xeroTenantId_1, employee_1, idempotencyKey_1) {
|
|
159
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, employee, idempotencyKey, options = { headers: {} }) {
|
|
160
160
|
const localVarPath = this.basePath + '/Employees';
|
|
161
161
|
let localVarQueryParameters = {};
|
|
162
162
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -228,8 +228,8 @@ class PayrollAuApi {
|
|
|
228
228
|
* @param leaveApplication
|
|
229
229
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
230
230
|
*/
|
|
231
|
-
createLeaveApplication(
|
|
232
|
-
return __awaiter(this,
|
|
231
|
+
createLeaveApplication(xeroTenantId_1, leaveApplication_1, idempotencyKey_1) {
|
|
232
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, leaveApplication, idempotencyKey, options = { headers: {} }) {
|
|
233
233
|
const localVarPath = this.basePath + '/LeaveApplications';
|
|
234
234
|
let localVarQueryParameters = {};
|
|
235
235
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -301,8 +301,8 @@ class PayrollAuApi {
|
|
|
301
301
|
* @param payItem
|
|
302
302
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
303
303
|
*/
|
|
304
|
-
createPayItem(
|
|
305
|
-
return __awaiter(this,
|
|
304
|
+
createPayItem(xeroTenantId_1, payItem_1, idempotencyKey_1) {
|
|
305
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, payItem, idempotencyKey, options = { headers: {} }) {
|
|
306
306
|
const localVarPath = this.basePath + '/PayItems';
|
|
307
307
|
let localVarQueryParameters = {};
|
|
308
308
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -374,8 +374,8 @@ class PayrollAuApi {
|
|
|
374
374
|
* @param payRun
|
|
375
375
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
376
376
|
*/
|
|
377
|
-
createPayRun(
|
|
378
|
-
return __awaiter(this,
|
|
377
|
+
createPayRun(xeroTenantId_1, payRun_1, idempotencyKey_1) {
|
|
378
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, payRun, idempotencyKey, options = { headers: {} }) {
|
|
379
379
|
const localVarPath = this.basePath + '/PayRuns';
|
|
380
380
|
let localVarQueryParameters = {};
|
|
381
381
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -447,8 +447,8 @@ class PayrollAuApi {
|
|
|
447
447
|
* @param payrollCalendar
|
|
448
448
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
449
449
|
*/
|
|
450
|
-
createPayrollCalendar(
|
|
451
|
-
return __awaiter(this,
|
|
450
|
+
createPayrollCalendar(xeroTenantId_1, payrollCalendar_1, idempotencyKey_1) {
|
|
451
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, payrollCalendar, idempotencyKey, options = { headers: {} }) {
|
|
452
452
|
const localVarPath = this.basePath + '/PayrollCalendars';
|
|
453
453
|
let localVarQueryParameters = {};
|
|
454
454
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -520,8 +520,8 @@ class PayrollAuApi {
|
|
|
520
520
|
* @param superFund
|
|
521
521
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
522
522
|
*/
|
|
523
|
-
createSuperfund(
|
|
524
|
-
return __awaiter(this,
|
|
523
|
+
createSuperfund(xeroTenantId_1, superFund_1, idempotencyKey_1) {
|
|
524
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, superFund, idempotencyKey, options = { headers: {} }) {
|
|
525
525
|
const localVarPath = this.basePath + '/Superfunds';
|
|
526
526
|
let localVarQueryParameters = {};
|
|
527
527
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -593,8 +593,8 @@ class PayrollAuApi {
|
|
|
593
593
|
* @param timesheet
|
|
594
594
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
595
595
|
*/
|
|
596
|
-
createTimesheet(
|
|
597
|
-
return __awaiter(this,
|
|
596
|
+
createTimesheet(xeroTenantId_1, timesheet_1, idempotencyKey_1) {
|
|
597
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, timesheet, idempotencyKey, options = { headers: {} }) {
|
|
598
598
|
const localVarPath = this.basePath + '/Timesheets';
|
|
599
599
|
let localVarQueryParameters = {};
|
|
600
600
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -665,8 +665,8 @@ class PayrollAuApi {
|
|
|
665
665
|
* @param xeroTenantId Xero identifier for Tenant
|
|
666
666
|
* @param employeeID Employee id for single object
|
|
667
667
|
*/
|
|
668
|
-
getEmployee(
|
|
669
|
-
return __awaiter(this,
|
|
668
|
+
getEmployee(xeroTenantId_1, employeeID_1) {
|
|
669
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, employeeID, options = { headers: {} }) {
|
|
670
670
|
const localVarPath = this.basePath + '/Employees/{EmployeeID}'
|
|
671
671
|
.replace('{' + 'EmployeeID' + '}', encodeURIComponent(String(employeeID)));
|
|
672
672
|
let localVarQueryParameters = {};
|
|
@@ -740,8 +740,8 @@ class PayrollAuApi {
|
|
|
740
740
|
* @param order Order by an any element
|
|
741
741
|
* @param page e.g. page=1 – Up to 100 employees will be returned in a single API call
|
|
742
742
|
*/
|
|
743
|
-
getEmployees(
|
|
744
|
-
return __awaiter(this,
|
|
743
|
+
getEmployees(xeroTenantId_1, ifModifiedSince_1, where_1, order_1, page_1) {
|
|
744
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, ifModifiedSince, where, order, page, options = { headers: {} }) {
|
|
745
745
|
const localVarPath = this.basePath + '/Employees';
|
|
746
746
|
let localVarQueryParameters = {};
|
|
747
747
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -817,8 +817,8 @@ class PayrollAuApi {
|
|
|
817
817
|
* @param xeroTenantId Xero identifier for Tenant
|
|
818
818
|
* @param leaveApplicationID Leave Application id for single object
|
|
819
819
|
*/
|
|
820
|
-
getLeaveApplication(
|
|
821
|
-
return __awaiter(this,
|
|
820
|
+
getLeaveApplication(xeroTenantId_1, leaveApplicationID_1) {
|
|
821
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, leaveApplicationID, options = { headers: {} }) {
|
|
822
822
|
const localVarPath = this.basePath + '/LeaveApplications/{LeaveApplicationID}'
|
|
823
823
|
.replace('{' + 'LeaveApplicationID' + '}', encodeURIComponent(String(leaveApplicationID)));
|
|
824
824
|
let localVarQueryParameters = {};
|
|
@@ -892,8 +892,8 @@ class PayrollAuApi {
|
|
|
892
892
|
* @param order Order by an any element
|
|
893
893
|
* @param page e.g. page=1 – Up to 100 objects will be returned in a single API call
|
|
894
894
|
*/
|
|
895
|
-
getLeaveApplications(
|
|
896
|
-
return __awaiter(this,
|
|
895
|
+
getLeaveApplications(xeroTenantId_1, ifModifiedSince_1, where_1, order_1, page_1) {
|
|
896
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, ifModifiedSince, where, order, page, options = { headers: {} }) {
|
|
897
897
|
const localVarPath = this.basePath + '/LeaveApplications';
|
|
898
898
|
let localVarQueryParameters = {};
|
|
899
899
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -972,8 +972,8 @@ class PayrollAuApi {
|
|
|
972
972
|
* @param order Order by an any element
|
|
973
973
|
* @param page e.g. page=1 – Up to 100 objects will be returned in a single API call
|
|
974
974
|
*/
|
|
975
|
-
getLeaveApplicationsV2(
|
|
976
|
-
return __awaiter(this,
|
|
975
|
+
getLeaveApplicationsV2(xeroTenantId_1, ifModifiedSince_1, where_1, order_1, page_1) {
|
|
976
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, ifModifiedSince, where, order, page, options = { headers: {} }) {
|
|
977
977
|
const localVarPath = this.basePath + '/LeaveApplications/v2';
|
|
978
978
|
let localVarQueryParameters = {};
|
|
979
979
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -1052,8 +1052,8 @@ class PayrollAuApi {
|
|
|
1052
1052
|
* @param order Order by an any element
|
|
1053
1053
|
* @param page e.g. page=1 – Up to 100 objects will be returned in a single API call
|
|
1054
1054
|
*/
|
|
1055
|
-
getPayItems(
|
|
1056
|
-
return __awaiter(this,
|
|
1055
|
+
getPayItems(xeroTenantId_1, ifModifiedSince_1, where_1, order_1, page_1) {
|
|
1056
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, ifModifiedSince, where, order, page, options = { headers: {} }) {
|
|
1057
1057
|
const localVarPath = this.basePath + '/PayItems';
|
|
1058
1058
|
let localVarQueryParameters = {};
|
|
1059
1059
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -1129,8 +1129,8 @@ class PayrollAuApi {
|
|
|
1129
1129
|
* @param xeroTenantId Xero identifier for Tenant
|
|
1130
1130
|
* @param payRunID PayRun id for single object
|
|
1131
1131
|
*/
|
|
1132
|
-
getPayRun(
|
|
1133
|
-
return __awaiter(this,
|
|
1132
|
+
getPayRun(xeroTenantId_1, payRunID_1) {
|
|
1133
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, payRunID, options = { headers: {} }) {
|
|
1134
1134
|
const localVarPath = this.basePath + '/PayRuns/{PayRunID}'
|
|
1135
1135
|
.replace('{' + 'PayRunID' + '}', encodeURIComponent(String(payRunID)));
|
|
1136
1136
|
let localVarQueryParameters = {};
|
|
@@ -1204,8 +1204,8 @@ class PayrollAuApi {
|
|
|
1204
1204
|
* @param order Order by an any element
|
|
1205
1205
|
* @param page e.g. page=1 – Up to 100 PayRuns will be returned in a single API call
|
|
1206
1206
|
*/
|
|
1207
|
-
getPayRuns(
|
|
1208
|
-
return __awaiter(this,
|
|
1207
|
+
getPayRuns(xeroTenantId_1, ifModifiedSince_1, where_1, order_1, page_1) {
|
|
1208
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, ifModifiedSince, where, order, page, options = { headers: {} }) {
|
|
1209
1209
|
const localVarPath = this.basePath + '/PayRuns';
|
|
1210
1210
|
let localVarQueryParameters = {};
|
|
1211
1211
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -1281,8 +1281,8 @@ class PayrollAuApi {
|
|
|
1281
1281
|
* @param xeroTenantId Xero identifier for Tenant
|
|
1282
1282
|
* @param payrollCalendarID Payroll Calendar id for single object
|
|
1283
1283
|
*/
|
|
1284
|
-
getPayrollCalendar(
|
|
1285
|
-
return __awaiter(this,
|
|
1284
|
+
getPayrollCalendar(xeroTenantId_1, payrollCalendarID_1) {
|
|
1285
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, payrollCalendarID, options = { headers: {} }) {
|
|
1286
1286
|
const localVarPath = this.basePath + '/PayrollCalendars/{PayrollCalendarID}'
|
|
1287
1287
|
.replace('{' + 'PayrollCalendarID' + '}', encodeURIComponent(String(payrollCalendarID)));
|
|
1288
1288
|
let localVarQueryParameters = {};
|
|
@@ -1356,8 +1356,8 @@ class PayrollAuApi {
|
|
|
1356
1356
|
* @param order Order by an any element
|
|
1357
1357
|
* @param page e.g. page=1 – Up to 100 objects will be returned in a single API call
|
|
1358
1358
|
*/
|
|
1359
|
-
getPayrollCalendars(
|
|
1360
|
-
return __awaiter(this,
|
|
1359
|
+
getPayrollCalendars(xeroTenantId_1, ifModifiedSince_1, where_1, order_1, page_1) {
|
|
1360
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, ifModifiedSince, where, order, page, options = { headers: {} }) {
|
|
1361
1361
|
const localVarPath = this.basePath + '/PayrollCalendars';
|
|
1362
1362
|
let localVarQueryParameters = {};
|
|
1363
1363
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -1433,8 +1433,8 @@ class PayrollAuApi {
|
|
|
1433
1433
|
* @param xeroTenantId Xero identifier for Tenant
|
|
1434
1434
|
* @param payslipID Payslip id for single object
|
|
1435
1435
|
*/
|
|
1436
|
-
getPayslip(
|
|
1437
|
-
return __awaiter(this,
|
|
1436
|
+
getPayslip(xeroTenantId_1, payslipID_1) {
|
|
1437
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, payslipID, options = { headers: {} }) {
|
|
1438
1438
|
const localVarPath = this.basePath + '/Payslip/{PayslipID}'
|
|
1439
1439
|
.replace('{' + 'PayslipID' + '}', encodeURIComponent(String(payslipID)));
|
|
1440
1440
|
let localVarQueryParameters = {};
|
|
@@ -1504,8 +1504,8 @@ class PayrollAuApi {
|
|
|
1504
1504
|
* @summary Retrieves payroll settings
|
|
1505
1505
|
* @param xeroTenantId Xero identifier for Tenant
|
|
1506
1506
|
*/
|
|
1507
|
-
getSettings(
|
|
1508
|
-
return __awaiter(this,
|
|
1507
|
+
getSettings(xeroTenantId_1) {
|
|
1508
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, options = { headers: {} }) {
|
|
1509
1509
|
const localVarPath = this.basePath + '/Settings';
|
|
1510
1510
|
let localVarQueryParameters = {};
|
|
1511
1511
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -1571,8 +1571,8 @@ class PayrollAuApi {
|
|
|
1571
1571
|
* @param xeroTenantId Xero identifier for Tenant
|
|
1572
1572
|
* @param superFundID Superfund id for single object
|
|
1573
1573
|
*/
|
|
1574
|
-
getSuperfund(
|
|
1575
|
-
return __awaiter(this,
|
|
1574
|
+
getSuperfund(xeroTenantId_1, superFundID_1) {
|
|
1575
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, superFundID, options = { headers: {} }) {
|
|
1576
1576
|
const localVarPath = this.basePath + '/Superfunds/{SuperFundID}'
|
|
1577
1577
|
.replace('{' + 'SuperFundID' + '}', encodeURIComponent(String(superFundID)));
|
|
1578
1578
|
let localVarQueryParameters = {};
|
|
@@ -1644,8 +1644,8 @@ class PayrollAuApi {
|
|
|
1644
1644
|
* @param aBN The ABN of the Regulated SuperFund
|
|
1645
1645
|
* @param uSI The USI of the Regulated SuperFund
|
|
1646
1646
|
*/
|
|
1647
|
-
getSuperfundProducts(
|
|
1648
|
-
return __awaiter(this,
|
|
1647
|
+
getSuperfundProducts(xeroTenantId_1, aBN_1, uSI_1) {
|
|
1648
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, aBN, uSI, options = { headers: {} }) {
|
|
1649
1649
|
const localVarPath = this.basePath + '/SuperfundProducts';
|
|
1650
1650
|
let localVarQueryParameters = {};
|
|
1651
1651
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -1720,8 +1720,8 @@ class PayrollAuApi {
|
|
|
1720
1720
|
* @param order Order by an any element
|
|
1721
1721
|
* @param page e.g. page=1 – Up to 100 SuperFunds will be returned in a single API call
|
|
1722
1722
|
*/
|
|
1723
|
-
getSuperfunds(
|
|
1724
|
-
return __awaiter(this,
|
|
1723
|
+
getSuperfunds(xeroTenantId_1, ifModifiedSince_1, where_1, order_1, page_1) {
|
|
1724
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, ifModifiedSince, where, order, page, options = { headers: {} }) {
|
|
1725
1725
|
const localVarPath = this.basePath + '/Superfunds';
|
|
1726
1726
|
let localVarQueryParameters = {};
|
|
1727
1727
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -1797,8 +1797,8 @@ class PayrollAuApi {
|
|
|
1797
1797
|
* @param xeroTenantId Xero identifier for Tenant
|
|
1798
1798
|
* @param timesheetID Timesheet id for single object
|
|
1799
1799
|
*/
|
|
1800
|
-
getTimesheet(
|
|
1801
|
-
return __awaiter(this,
|
|
1800
|
+
getTimesheet(xeroTenantId_1, timesheetID_1) {
|
|
1801
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, timesheetID, options = { headers: {} }) {
|
|
1802
1802
|
const localVarPath = this.basePath + '/Timesheets/{TimesheetID}'
|
|
1803
1803
|
.replace('{' + 'TimesheetID' + '}', encodeURIComponent(String(timesheetID)));
|
|
1804
1804
|
let localVarQueryParameters = {};
|
|
@@ -1872,8 +1872,8 @@ class PayrollAuApi {
|
|
|
1872
1872
|
* @param order Order by an any element
|
|
1873
1873
|
* @param page e.g. page=1 – Up to 100 timesheets will be returned in a single API call
|
|
1874
1874
|
*/
|
|
1875
|
-
getTimesheets(
|
|
1876
|
-
return __awaiter(this,
|
|
1875
|
+
getTimesheets(xeroTenantId_1, ifModifiedSince_1, where_1, order_1, page_1) {
|
|
1876
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, ifModifiedSince, where, order, page, options = { headers: {} }) {
|
|
1877
1877
|
const localVarPath = this.basePath + '/Timesheets';
|
|
1878
1878
|
let localVarQueryParameters = {};
|
|
1879
1879
|
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
@@ -1950,8 +1950,8 @@ class PayrollAuApi {
|
|
|
1950
1950
|
* @param leaveApplicationID Leave Application id for single object
|
|
1951
1951
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
1952
1952
|
*/
|
|
1953
|
-
rejectLeaveApplication(
|
|
1954
|
-
return __awaiter(this,
|
|
1953
|
+
rejectLeaveApplication(xeroTenantId_1, leaveApplicationID_1, idempotencyKey_1) {
|
|
1954
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, leaveApplicationID, idempotencyKey, options = { headers: {} }) {
|
|
1955
1955
|
const localVarPath = this.basePath + '/LeaveApplications/{LeaveApplicationID}/reject'
|
|
1956
1956
|
.replace('{' + 'LeaveApplicationID' + '}', encodeURIComponent(String(leaveApplicationID)));
|
|
1957
1957
|
let localVarQueryParameters = {};
|
|
@@ -2025,8 +2025,8 @@ class PayrollAuApi {
|
|
|
2025
2025
|
* @param employee
|
|
2026
2026
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
2027
2027
|
*/
|
|
2028
|
-
updateEmployee(
|
|
2029
|
-
return __awaiter(this,
|
|
2028
|
+
updateEmployee(xeroTenantId_1, employeeID_1, employee_1, idempotencyKey_1) {
|
|
2029
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, employeeID, employee, idempotencyKey, options = { headers: {} }) {
|
|
2030
2030
|
const localVarPath = this.basePath + '/Employees/{EmployeeID}'
|
|
2031
2031
|
.replace('{' + 'EmployeeID' + '}', encodeURIComponent(String(employeeID)));
|
|
2032
2032
|
let localVarQueryParameters = {};
|
|
@@ -2104,8 +2104,8 @@ class PayrollAuApi {
|
|
|
2104
2104
|
* @param leaveApplication
|
|
2105
2105
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
2106
2106
|
*/
|
|
2107
|
-
updateLeaveApplication(
|
|
2108
|
-
return __awaiter(this,
|
|
2107
|
+
updateLeaveApplication(xeroTenantId_1, leaveApplicationID_1, leaveApplication_1, idempotencyKey_1) {
|
|
2108
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, leaveApplicationID, leaveApplication, idempotencyKey, options = { headers: {} }) {
|
|
2109
2109
|
const localVarPath = this.basePath + '/LeaveApplications/{LeaveApplicationID}'
|
|
2110
2110
|
.replace('{' + 'LeaveApplicationID' + '}', encodeURIComponent(String(leaveApplicationID)));
|
|
2111
2111
|
let localVarQueryParameters = {};
|
|
@@ -2183,8 +2183,8 @@ class PayrollAuApi {
|
|
|
2183
2183
|
* @param payRun
|
|
2184
2184
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
2185
2185
|
*/
|
|
2186
|
-
updatePayRun(
|
|
2187
|
-
return __awaiter(this,
|
|
2186
|
+
updatePayRun(xeroTenantId_1, payRunID_1, payRun_1, idempotencyKey_1) {
|
|
2187
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, payRunID, payRun, idempotencyKey, options = { headers: {} }) {
|
|
2188
2188
|
const localVarPath = this.basePath + '/PayRuns/{PayRunID}'
|
|
2189
2189
|
.replace('{' + 'PayRunID' + '}', encodeURIComponent(String(payRunID)));
|
|
2190
2190
|
let localVarQueryParameters = {};
|
|
@@ -2262,8 +2262,8 @@ class PayrollAuApi {
|
|
|
2262
2262
|
* @param payslipLines
|
|
2263
2263
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
2264
2264
|
*/
|
|
2265
|
-
updatePayslip(
|
|
2266
|
-
return __awaiter(this,
|
|
2265
|
+
updatePayslip(xeroTenantId_1, payslipID_1, payslipLines_1, idempotencyKey_1) {
|
|
2266
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, payslipID, payslipLines, idempotencyKey, options = { headers: {} }) {
|
|
2267
2267
|
const localVarPath = this.basePath + '/Payslip/{PayslipID}'
|
|
2268
2268
|
.replace('{' + 'PayslipID' + '}', encodeURIComponent(String(payslipID)));
|
|
2269
2269
|
let localVarQueryParameters = {};
|
|
@@ -2341,8 +2341,8 @@ class PayrollAuApi {
|
|
|
2341
2341
|
* @param superFund
|
|
2342
2342
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
2343
2343
|
*/
|
|
2344
|
-
updateSuperfund(
|
|
2345
|
-
return __awaiter(this,
|
|
2344
|
+
updateSuperfund(xeroTenantId_1, superFundID_1, superFund_1, idempotencyKey_1) {
|
|
2345
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, superFundID, superFund, idempotencyKey, options = { headers: {} }) {
|
|
2346
2346
|
const localVarPath = this.basePath + '/Superfunds/{SuperFundID}'
|
|
2347
2347
|
.replace('{' + 'SuperFundID' + '}', encodeURIComponent(String(superFundID)));
|
|
2348
2348
|
let localVarQueryParameters = {};
|
|
@@ -2420,8 +2420,8 @@ class PayrollAuApi {
|
|
|
2420
2420
|
* @param timesheet
|
|
2421
2421
|
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
2422
2422
|
*/
|
|
2423
|
-
updateTimesheet(
|
|
2424
|
-
return __awaiter(this,
|
|
2423
|
+
updateTimesheet(xeroTenantId_1, timesheetID_1, timesheet_1, idempotencyKey_1) {
|
|
2424
|
+
return __awaiter(this, arguments, void 0, function* (xeroTenantId, timesheetID, timesheet, idempotencyKey, options = { headers: {} }) {
|
|
2425
2425
|
const localVarPath = this.basePath + '/Timesheets/{TimesheetID}'
|
|
2426
2426
|
.replace('{' + 'TimesheetID' + '}', encodeURIComponent(String(timesheetID)));
|
|
2427
2427
|
let localVarQueryParameters = {};
|