xero-node 4.35.0 → 4.36.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/gen/api/accountingApi.d.ts +245 -100
- package/dist/gen/api/accountingApi.js +506 -101
- package/dist/gen/api/accountingApi.js.map +1 -1
- package/dist/gen/api/appStoreApi.d.ts +5 -3
- package/dist/gen/api/appStoreApi.js +8 -4
- package/dist/gen/api/appStoreApi.js.map +1 -1
- package/dist/gen/api/assetApi.d.ts +5 -3
- package/dist/gen/api/assetApi.js +8 -4
- package/dist/gen/api/assetApi.js.map +1 -1
- package/dist/gen/api/bankfeedsApi.d.ts +7 -4
- package/dist/gen/api/bankfeedsApi.js +11 -5
- package/dist/gen/api/bankfeedsApi.js.map +1 -1
- package/dist/gen/api/filesApi.d.ts +13 -7
- package/dist/gen/api/filesApi.js +20 -8
- package/dist/gen/api/filesApi.js.map +1 -1
- package/dist/gen/api/financeApi.d.ts +1 -1
- package/dist/gen/api/financeApi.js +2 -2
- package/dist/gen/api/payrollAUApi.d.ts +31 -16
- package/dist/gen/api/payrollAUApi.js +47 -17
- package/dist/gen/api/payrollAUApi.js.map +1 -1
- package/dist/gen/api/payrollNZApi.d.ts +59 -30
- package/dist/gen/api/payrollNZApi.js +89 -31
- package/dist/gen/api/payrollNZApi.js.map +1 -1
- package/dist/gen/api/payrollUKApi.d.ts +55 -28
- package/dist/gen/api/payrollUKApi.js +83 -29
- package/dist/gen/api/payrollUKApi.js.map +1 -1
- package/dist/gen/api/projectApi.d.ts +15 -8
- package/dist/gen/api/projectApi.js +23 -9
- package/dist/gen/api/projectApi.js.map +1 -1
- package/dist/gen/model/accounting/accountType.d.ts +1 -5
- package/dist/gen/model/accounting/accountType.js +0 -4
- package/dist/gen/model/accounting/accountType.js.map +1 -1
- package/dist/gen/model/accounting/allocation.d.ts +8 -0
- package/dist/gen/model/accounting/allocation.js +10 -0
- package/dist/gen/model/accounting/allocation.js.map +1 -1
- package/dist/gen/model/accounting/contact.d.ts +0 -4
- package/dist/gen/model/accounting/contact.js +0 -5
- package/dist/gen/model/accounting/contact.js.map +1 -1
- package/dist/gen/model/accounting/models.js +1 -0
- package/dist/gen/model/accounting/models.js.map +1 -1
- package/dist/gen/model/accounting/tenNinetyNineContact.d.ts +23 -0
- package/dist/gen/model/accounting/tenNinetyNineContact.js +28 -0
- package/dist/gen/model/accounting/tenNinetyNineContact.js.map +1 -1
- package/dist/gen/model/finance/problemType.d.ts +2 -1
- package/dist/gen/model/finance/problemType.js +1 -0
- package/dist/gen/model/finance/problemType.js.map +1 -1
- package/dist/gen/model/payroll-au/leavePeriodStatus.d.ts +3 -1
- package/dist/gen/model/payroll-au/leavePeriodStatus.js +2 -0
- package/dist/gen/model/payroll-au/leavePeriodStatus.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
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: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.40.0
|
|
6
6
|
* Contact: api@xero.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -97,8 +97,9 @@ export declare class PayrollUkApi {
|
|
|
97
97
|
* @summary Approves a specific timesheet
|
|
98
98
|
* @param xeroTenantId Xero identifier for Tenant
|
|
99
99
|
* @param timesheetID Identifier for the timesheet
|
|
100
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
100
101
|
*/
|
|
101
|
-
approveTimesheet(xeroTenantId: string, timesheetID: string, options?: {
|
|
102
|
+
approveTimesheet(xeroTenantId: string, timesheetID: string, idempotencyKey?: string, options?: {
|
|
102
103
|
headers: {
|
|
103
104
|
[name: string]: string;
|
|
104
105
|
};
|
|
@@ -111,8 +112,9 @@ export declare class PayrollUkApi {
|
|
|
111
112
|
* @summary Creates a new employee benefit
|
|
112
113
|
* @param xeroTenantId Xero identifier for Tenant
|
|
113
114
|
* @param benefit
|
|
115
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
114
116
|
*/
|
|
115
|
-
createBenefit(xeroTenantId: string, benefit: Benefit, options?: {
|
|
117
|
+
createBenefit(xeroTenantId: string, benefit: Benefit, idempotencyKey?: string, options?: {
|
|
116
118
|
headers: {
|
|
117
119
|
[name: string]: string;
|
|
118
120
|
};
|
|
@@ -125,8 +127,9 @@ export declare class PayrollUkApi {
|
|
|
125
127
|
* @summary Creates a new deduction
|
|
126
128
|
* @param xeroTenantId Xero identifier for Tenant
|
|
127
129
|
* @param deduction
|
|
130
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
128
131
|
*/
|
|
129
|
-
createDeduction(xeroTenantId: string, deduction: Deduction, options?: {
|
|
132
|
+
createDeduction(xeroTenantId: string, deduction: Deduction, idempotencyKey?: string, options?: {
|
|
130
133
|
headers: {
|
|
131
134
|
[name: string]: string;
|
|
132
135
|
};
|
|
@@ -139,8 +142,9 @@ export declare class PayrollUkApi {
|
|
|
139
142
|
* @summary Creates a new earnings rate
|
|
140
143
|
* @param xeroTenantId Xero identifier for Tenant
|
|
141
144
|
* @param earningsRate
|
|
145
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
142
146
|
*/
|
|
143
|
-
createEarningsRate(xeroTenantId: string, earningsRate: EarningsRate, options?: {
|
|
147
|
+
createEarningsRate(xeroTenantId: string, earningsRate: EarningsRate, idempotencyKey?: string, options?: {
|
|
144
148
|
headers: {
|
|
145
149
|
[name: string]: string;
|
|
146
150
|
};
|
|
@@ -153,8 +157,9 @@ export declare class PayrollUkApi {
|
|
|
153
157
|
* @summary Creates employees
|
|
154
158
|
* @param xeroTenantId Xero identifier for Tenant
|
|
155
159
|
* @param employee
|
|
160
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
156
161
|
*/
|
|
157
|
-
createEmployee(xeroTenantId: string, employee: Employee, options?: {
|
|
162
|
+
createEmployee(xeroTenantId: string, employee: Employee, idempotencyKey?: string, options?: {
|
|
158
163
|
headers: {
|
|
159
164
|
[name: string]: string;
|
|
160
165
|
};
|
|
@@ -168,8 +173,9 @@ export declare class PayrollUkApi {
|
|
|
168
173
|
* @param xeroTenantId Xero identifier for Tenant
|
|
169
174
|
* @param employeeID Employee id for single object
|
|
170
175
|
* @param earningsTemplate
|
|
176
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
171
177
|
*/
|
|
172
|
-
createEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, earningsTemplate: EarningsTemplate, options?: {
|
|
178
|
+
createEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, earningsTemplate: EarningsTemplate, idempotencyKey?: string, options?: {
|
|
173
179
|
headers: {
|
|
174
180
|
[name: string]: string;
|
|
175
181
|
};
|
|
@@ -183,8 +189,9 @@ export declare class PayrollUkApi {
|
|
|
183
189
|
* @param xeroTenantId Xero identifier for Tenant
|
|
184
190
|
* @param employeeID Employee id for single object
|
|
185
191
|
* @param employeeLeave
|
|
192
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
186
193
|
*/
|
|
187
|
-
createEmployeeLeave(xeroTenantId: string, employeeID: string, employeeLeave: EmployeeLeave, options?: {
|
|
194
|
+
createEmployeeLeave(xeroTenantId: string, employeeID: string, employeeLeave: EmployeeLeave, idempotencyKey?: string, options?: {
|
|
188
195
|
headers: {
|
|
189
196
|
[name: string]: string;
|
|
190
197
|
};
|
|
@@ -198,8 +205,9 @@ export declare class PayrollUkApi {
|
|
|
198
205
|
* @param xeroTenantId Xero identifier for Tenant
|
|
199
206
|
* @param employeeID Employee id for single object
|
|
200
207
|
* @param employeeLeaveType
|
|
208
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
201
209
|
*/
|
|
202
|
-
createEmployeeLeaveType(xeroTenantId: string, employeeID: string, employeeLeaveType: EmployeeLeaveType, options?: {
|
|
210
|
+
createEmployeeLeaveType(xeroTenantId: string, employeeID: string, employeeLeaveType: EmployeeLeaveType, idempotencyKey?: string, options?: {
|
|
203
211
|
headers: {
|
|
204
212
|
[name: string]: string;
|
|
205
213
|
};
|
|
@@ -213,8 +221,9 @@ export declare class PayrollUkApi {
|
|
|
213
221
|
* @param xeroTenantId Xero identifier for Tenant
|
|
214
222
|
* @param employeeID Employee id for single object
|
|
215
223
|
* @param employeeOpeningBalances
|
|
224
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
216
225
|
*/
|
|
217
|
-
createEmployeeOpeningBalances(xeroTenantId: string, employeeID: string, employeeOpeningBalances: EmployeeOpeningBalances, options?: {
|
|
226
|
+
createEmployeeOpeningBalances(xeroTenantId: string, employeeID: string, employeeOpeningBalances: EmployeeOpeningBalances, idempotencyKey?: string, options?: {
|
|
218
227
|
headers: {
|
|
219
228
|
[name: string]: string;
|
|
220
229
|
};
|
|
@@ -228,8 +237,9 @@ export declare class PayrollUkApi {
|
|
|
228
237
|
* @param xeroTenantId Xero identifier for Tenant
|
|
229
238
|
* @param employeeID Employee id for single object
|
|
230
239
|
* @param paymentMethod
|
|
240
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
231
241
|
*/
|
|
232
|
-
createEmployeePaymentMethod(xeroTenantId: string, employeeID: string, paymentMethod: PaymentMethod, options?: {
|
|
242
|
+
createEmployeePaymentMethod(xeroTenantId: string, employeeID: string, paymentMethod: PaymentMethod, idempotencyKey?: string, options?: {
|
|
233
243
|
headers: {
|
|
234
244
|
[name: string]: string;
|
|
235
245
|
};
|
|
@@ -243,8 +253,9 @@ export declare class PayrollUkApi {
|
|
|
243
253
|
* @param xeroTenantId Xero identifier for Tenant
|
|
244
254
|
* @param employeeID Employee id for single object
|
|
245
255
|
* @param salaryAndWage
|
|
256
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
246
257
|
*/
|
|
247
|
-
createEmployeeSalaryAndWage(xeroTenantId: string, employeeID: string, salaryAndWage: SalaryAndWage, options?: {
|
|
258
|
+
createEmployeeSalaryAndWage(xeroTenantId: string, employeeID: string, salaryAndWage: SalaryAndWage, idempotencyKey?: string, options?: {
|
|
248
259
|
headers: {
|
|
249
260
|
[name: string]: string;
|
|
250
261
|
};
|
|
@@ -257,8 +268,9 @@ export declare class PayrollUkApi {
|
|
|
257
268
|
* @summary Creates statutory sick leave records
|
|
258
269
|
* @param xeroTenantId Xero identifier for Tenant
|
|
259
270
|
* @param employeeStatutorySickLeave
|
|
271
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
260
272
|
*/
|
|
261
|
-
createEmployeeStatutorySickLeave(xeroTenantId: string, employeeStatutorySickLeave: EmployeeStatutorySickLeave, options?: {
|
|
273
|
+
createEmployeeStatutorySickLeave(xeroTenantId: string, employeeStatutorySickLeave: EmployeeStatutorySickLeave, idempotencyKey?: string, options?: {
|
|
262
274
|
headers: {
|
|
263
275
|
[name: string]: string;
|
|
264
276
|
};
|
|
@@ -272,8 +284,9 @@ export declare class PayrollUkApi {
|
|
|
272
284
|
* @param xeroTenantId Xero identifier for Tenant
|
|
273
285
|
* @param employeeID Employee id for single object
|
|
274
286
|
* @param employment
|
|
287
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
275
288
|
*/
|
|
276
|
-
createEmployment(xeroTenantId: string, employeeID: string, employment: Employment, options?: {
|
|
289
|
+
createEmployment(xeroTenantId: string, employeeID: string, employment: Employment, idempotencyKey?: string, options?: {
|
|
277
290
|
headers: {
|
|
278
291
|
[name: string]: string;
|
|
279
292
|
};
|
|
@@ -286,8 +299,9 @@ export declare class PayrollUkApi {
|
|
|
286
299
|
* @summary Creates a new leave type
|
|
287
300
|
* @param xeroTenantId Xero identifier for Tenant
|
|
288
301
|
* @param leaveType
|
|
302
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
289
303
|
*/
|
|
290
|
-
createLeaveType(xeroTenantId: string, leaveType: LeaveType, options?: {
|
|
304
|
+
createLeaveType(xeroTenantId: string, leaveType: LeaveType, idempotencyKey?: string, options?: {
|
|
291
305
|
headers: {
|
|
292
306
|
[name: string]: string;
|
|
293
307
|
};
|
|
@@ -301,8 +315,9 @@ export declare class PayrollUkApi {
|
|
|
301
315
|
* @param xeroTenantId Xero identifier for Tenant
|
|
302
316
|
* @param employeeID Employee id for single object
|
|
303
317
|
* @param earningsTemplate
|
|
318
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
304
319
|
*/
|
|
305
|
-
createMultipleEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, earningsTemplate: Array<EarningsTemplate>, options?: {
|
|
320
|
+
createMultipleEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, earningsTemplate: Array<EarningsTemplate>, idempotencyKey?: string, options?: {
|
|
306
321
|
headers: {
|
|
307
322
|
[name: string]: string;
|
|
308
323
|
};
|
|
@@ -315,8 +330,9 @@ export declare class PayrollUkApi {
|
|
|
315
330
|
* @summary Creates a new payrun calendar
|
|
316
331
|
* @param xeroTenantId Xero identifier for Tenant
|
|
317
332
|
* @param payRunCalendar
|
|
333
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
318
334
|
*/
|
|
319
|
-
createPayRunCalendar(xeroTenantId: string, payRunCalendar: PayRunCalendar, options?: {
|
|
335
|
+
createPayRunCalendar(xeroTenantId: string, payRunCalendar: PayRunCalendar, idempotencyKey?: string, options?: {
|
|
320
336
|
headers: {
|
|
321
337
|
[name: string]: string;
|
|
322
338
|
};
|
|
@@ -329,8 +345,9 @@ export declare class PayrollUkApi {
|
|
|
329
345
|
* @summary Creates a new reimbursement
|
|
330
346
|
* @param xeroTenantId Xero identifier for Tenant
|
|
331
347
|
* @param reimbursement
|
|
348
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
332
349
|
*/
|
|
333
|
-
createReimbursement(xeroTenantId: string, reimbursement: Reimbursement, options?: {
|
|
350
|
+
createReimbursement(xeroTenantId: string, reimbursement: Reimbursement, idempotencyKey?: string, options?: {
|
|
334
351
|
headers: {
|
|
335
352
|
[name: string]: string;
|
|
336
353
|
};
|
|
@@ -343,8 +360,9 @@ export declare class PayrollUkApi {
|
|
|
343
360
|
* @summary Creates a new timesheet
|
|
344
361
|
* @param xeroTenantId Xero identifier for Tenant
|
|
345
362
|
* @param timesheet
|
|
363
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
346
364
|
*/
|
|
347
|
-
createTimesheet(xeroTenantId: string, timesheet: Timesheet, options?: {
|
|
365
|
+
createTimesheet(xeroTenantId: string, timesheet: Timesheet, idempotencyKey?: string, options?: {
|
|
348
366
|
headers: {
|
|
349
367
|
[name: string]: string;
|
|
350
368
|
};
|
|
@@ -358,8 +376,9 @@ export declare class PayrollUkApi {
|
|
|
358
376
|
* @param xeroTenantId Xero identifier for Tenant
|
|
359
377
|
* @param timesheetID Identifier for the timesheet
|
|
360
378
|
* @param timesheetLine
|
|
379
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
361
380
|
*/
|
|
362
|
-
createTimesheetLine(xeroTenantId: string, timesheetID: string, timesheetLine: TimesheetLine, options?: {
|
|
381
|
+
createTimesheetLine(xeroTenantId: string, timesheetID: string, timesheetLine: TimesheetLine, idempotencyKey?: string, options?: {
|
|
363
382
|
headers: {
|
|
364
383
|
[name: string]: string;
|
|
365
384
|
};
|
|
@@ -993,8 +1012,9 @@ export declare class PayrollUkApi {
|
|
|
993
1012
|
* @summary Reverts a specific timesheet to draft
|
|
994
1013
|
* @param xeroTenantId Xero identifier for Tenant
|
|
995
1014
|
* @param timesheetID Identifier for the timesheet
|
|
1015
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
996
1016
|
*/
|
|
997
|
-
revertTimesheet(xeroTenantId: string, timesheetID: string, options?: {
|
|
1017
|
+
revertTimesheet(xeroTenantId: string, timesheetID: string, idempotencyKey?: string, options?: {
|
|
998
1018
|
headers: {
|
|
999
1019
|
[name: string]: string;
|
|
1000
1020
|
};
|
|
@@ -1008,8 +1028,9 @@ export declare class PayrollUkApi {
|
|
|
1008
1028
|
* @param xeroTenantId Xero identifier for Tenant
|
|
1009
1029
|
* @param employeeID Employee id for single object
|
|
1010
1030
|
* @param employee
|
|
1031
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
1011
1032
|
*/
|
|
1012
|
-
updateEmployee(xeroTenantId: string, employeeID: string, employee: Employee, options?: {
|
|
1033
|
+
updateEmployee(xeroTenantId: string, employeeID: string, employee: Employee, idempotencyKey?: string, options?: {
|
|
1013
1034
|
headers: {
|
|
1014
1035
|
[name: string]: string;
|
|
1015
1036
|
};
|
|
@@ -1024,8 +1045,9 @@ export declare class PayrollUkApi {
|
|
|
1024
1045
|
* @param employeeID Employee id for single object
|
|
1025
1046
|
* @param payTemplateEarningID Id for single pay template earnings object
|
|
1026
1047
|
* @param earningsTemplate
|
|
1048
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
1027
1049
|
*/
|
|
1028
|
-
updateEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, payTemplateEarningID: string, earningsTemplate: EarningsTemplate, options?: {
|
|
1050
|
+
updateEmployeeEarningsTemplate(xeroTenantId: string, employeeID: string, payTemplateEarningID: string, earningsTemplate: EarningsTemplate, idempotencyKey?: string, options?: {
|
|
1029
1051
|
headers: {
|
|
1030
1052
|
[name: string]: string;
|
|
1031
1053
|
};
|
|
@@ -1040,8 +1062,9 @@ export declare class PayrollUkApi {
|
|
|
1040
1062
|
* @param employeeID Employee id for single object
|
|
1041
1063
|
* @param leaveID Leave id for single object
|
|
1042
1064
|
* @param employeeLeave
|
|
1065
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
1043
1066
|
*/
|
|
1044
|
-
updateEmployeeLeave(xeroTenantId: string, employeeID: string, leaveID: string, employeeLeave: EmployeeLeave, options?: {
|
|
1067
|
+
updateEmployeeLeave(xeroTenantId: string, employeeID: string, leaveID: string, employeeLeave: EmployeeLeave, idempotencyKey?: string, options?: {
|
|
1045
1068
|
headers: {
|
|
1046
1069
|
[name: string]: string;
|
|
1047
1070
|
};
|
|
@@ -1055,8 +1078,9 @@ export declare class PayrollUkApi {
|
|
|
1055
1078
|
* @param xeroTenantId Xero identifier for Tenant
|
|
1056
1079
|
* @param employeeID Employee id for single object
|
|
1057
1080
|
* @param employeeOpeningBalances
|
|
1081
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
1058
1082
|
*/
|
|
1059
|
-
updateEmployeeOpeningBalances(xeroTenantId: string, employeeID: string, employeeOpeningBalances: EmployeeOpeningBalances, options?: {
|
|
1083
|
+
updateEmployeeOpeningBalances(xeroTenantId: string, employeeID: string, employeeOpeningBalances: EmployeeOpeningBalances, idempotencyKey?: string, options?: {
|
|
1060
1084
|
headers: {
|
|
1061
1085
|
[name: string]: string;
|
|
1062
1086
|
};
|
|
@@ -1071,8 +1095,9 @@ export declare class PayrollUkApi {
|
|
|
1071
1095
|
* @param employeeID Employee id for single object
|
|
1072
1096
|
* @param salaryAndWagesID Id for single pay template earnings object
|
|
1073
1097
|
* @param salaryAndWage
|
|
1098
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
1074
1099
|
*/
|
|
1075
|
-
updateEmployeeSalaryAndWage(xeroTenantId: string, employeeID: string, salaryAndWagesID: string, salaryAndWage: SalaryAndWage, options?: {
|
|
1100
|
+
updateEmployeeSalaryAndWage(xeroTenantId: string, employeeID: string, salaryAndWagesID: string, salaryAndWage: SalaryAndWage, idempotencyKey?: string, options?: {
|
|
1076
1101
|
headers: {
|
|
1077
1102
|
[name: string]: string;
|
|
1078
1103
|
};
|
|
@@ -1086,8 +1111,9 @@ export declare class PayrollUkApi {
|
|
|
1086
1111
|
* @param xeroTenantId Xero identifier for Tenant
|
|
1087
1112
|
* @param payRunID Identifier for the pay run
|
|
1088
1113
|
* @param payRun
|
|
1114
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
1089
1115
|
*/
|
|
1090
|
-
updatePayRun(xeroTenantId: string, payRunID: string, payRun: PayRun, options?: {
|
|
1116
|
+
updatePayRun(xeroTenantId: string, payRunID: string, payRun: PayRun, idempotencyKey?: string, options?: {
|
|
1091
1117
|
headers: {
|
|
1092
1118
|
[name: string]: string;
|
|
1093
1119
|
};
|
|
@@ -1102,8 +1128,9 @@ export declare class PayrollUkApi {
|
|
|
1102
1128
|
* @param timesheetID Identifier for the timesheet
|
|
1103
1129
|
* @param timesheetLineID Identifier for the timesheet line
|
|
1104
1130
|
* @param timesheetLine
|
|
1131
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
1105
1132
|
*/
|
|
1106
|
-
updateTimesheetLine(xeroTenantId: string, timesheetID: string, timesheetLineID: string, timesheetLine: TimesheetLine, options?: {
|
|
1133
|
+
updateTimesheetLine(xeroTenantId: string, timesheetID: string, timesheetLineID: string, timesheetLine: TimesheetLine, idempotencyKey?: string, options?: {
|
|
1107
1134
|
headers: {
|
|
1108
1135
|
[name: string]: string;
|
|
1109
1136
|
};
|