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,7 +2,7 @@
|
|
|
2
2
|
* Xero Accounting API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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).
|
|
@@ -11,10 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/// <reference types="node" />
|
|
13
13
|
/// <reference types="node" />
|
|
14
|
-
/// <reference types="node" />
|
|
15
|
-
/// <reference types="node/http" />
|
|
16
|
-
/// <reference types="got/dist/source/core/utils/timed-out" />
|
|
17
|
-
import http = require('http');
|
|
18
14
|
import fs = require('fs');
|
|
19
15
|
import { Account } from '../model/accounting/account';
|
|
20
16
|
import { Accounts } from '../model/accounting/accounts';
|
|
@@ -70,6 +66,7 @@ import { TrackingOption } from '../model/accounting/trackingOption';
|
|
|
70
66
|
import { TrackingOptions } from '../model/accounting/trackingOptions';
|
|
71
67
|
import { Users } from '../model/accounting/users';
|
|
72
68
|
import { Authentication } from '../model/accounting/models';
|
|
69
|
+
import { AxiosResponse } from 'axios';
|
|
73
70
|
import { OAuth } from '../model/accounting/models';
|
|
74
71
|
export declare enum AccountingApiApiKeys {
|
|
75
72
|
}
|
|
@@ -101,7 +98,7 @@ export declare class AccountingApi {
|
|
|
101
98
|
[name: string]: string;
|
|
102
99
|
};
|
|
103
100
|
}): Promise<{
|
|
104
|
-
response:
|
|
101
|
+
response: AxiosResponse;
|
|
105
102
|
body: Accounts;
|
|
106
103
|
}>;
|
|
107
104
|
/**
|
|
@@ -118,7 +115,7 @@ export declare class AccountingApi {
|
|
|
118
115
|
[name: string]: string;
|
|
119
116
|
};
|
|
120
117
|
}): Promise<{
|
|
121
|
-
response:
|
|
118
|
+
response: AxiosResponse;
|
|
122
119
|
body: Attachments;
|
|
123
120
|
}>;
|
|
124
121
|
/**
|
|
@@ -135,7 +132,7 @@ export declare class AccountingApi {
|
|
|
135
132
|
[name: string]: string;
|
|
136
133
|
};
|
|
137
134
|
}): Promise<{
|
|
138
|
-
response:
|
|
135
|
+
response: AxiosResponse;
|
|
139
136
|
body: Attachments;
|
|
140
137
|
}>;
|
|
141
138
|
/**
|
|
@@ -151,7 +148,7 @@ export declare class AccountingApi {
|
|
|
151
148
|
[name: string]: string;
|
|
152
149
|
};
|
|
153
150
|
}): Promise<{
|
|
154
|
-
response:
|
|
151
|
+
response: AxiosResponse;
|
|
155
152
|
body: HistoryRecords;
|
|
156
153
|
}>;
|
|
157
154
|
/**
|
|
@@ -159,16 +156,16 @@ export declare class AccountingApi {
|
|
|
159
156
|
* @summary Creates one or more spent or received money transaction
|
|
160
157
|
* @param xeroTenantId Xero identifier for Tenant
|
|
161
158
|
* @param bankTransactions BankTransactions with an array of BankTransaction objects in body of request
|
|
162
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
163
159
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
164
160
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
161
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
165
162
|
*/
|
|
166
|
-
createBankTransactions(xeroTenantId: string, bankTransactions: BankTransactions,
|
|
163
|
+
createBankTransactions(xeroTenantId: string, bankTransactions: BankTransactions, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
|
|
167
164
|
headers: {
|
|
168
165
|
[name: string]: string;
|
|
169
166
|
};
|
|
170
167
|
}): Promise<{
|
|
171
|
-
response:
|
|
168
|
+
response: AxiosResponse;
|
|
172
169
|
body: BankTransactions;
|
|
173
170
|
}>;
|
|
174
171
|
/**
|
|
@@ -183,7 +180,7 @@ export declare class AccountingApi {
|
|
|
183
180
|
[name: string]: string;
|
|
184
181
|
};
|
|
185
182
|
}): Promise<{
|
|
186
|
-
response:
|
|
183
|
+
response: AxiosResponse;
|
|
187
184
|
body: BankTransfers;
|
|
188
185
|
}>;
|
|
189
186
|
/**
|
|
@@ -199,7 +196,7 @@ export declare class AccountingApi {
|
|
|
199
196
|
[name: string]: string;
|
|
200
197
|
};
|
|
201
198
|
}): Promise<{
|
|
202
|
-
response:
|
|
199
|
+
response: AxiosResponse;
|
|
203
200
|
body: Attachments;
|
|
204
201
|
}>;
|
|
205
202
|
/**
|
|
@@ -215,7 +212,7 @@ export declare class AccountingApi {
|
|
|
215
212
|
[name: string]: string;
|
|
216
213
|
};
|
|
217
214
|
}): Promise<{
|
|
218
|
-
response:
|
|
215
|
+
response: AxiosResponse;
|
|
219
216
|
body: HistoryRecords;
|
|
220
217
|
}>;
|
|
221
218
|
/**
|
|
@@ -231,7 +228,7 @@ export declare class AccountingApi {
|
|
|
231
228
|
[name: string]: string;
|
|
232
229
|
};
|
|
233
230
|
}): Promise<{
|
|
234
|
-
response:
|
|
231
|
+
response: AxiosResponse;
|
|
235
232
|
body: BatchPayments;
|
|
236
233
|
}>;
|
|
237
234
|
/**
|
|
@@ -247,7 +244,7 @@ export declare class AccountingApi {
|
|
|
247
244
|
[name: string]: string;
|
|
248
245
|
};
|
|
249
246
|
}): Promise<{
|
|
250
|
-
response:
|
|
247
|
+
response: AxiosResponse;
|
|
251
248
|
body: HistoryRecords;
|
|
252
249
|
}>;
|
|
253
250
|
/**
|
|
@@ -263,7 +260,7 @@ export declare class AccountingApi {
|
|
|
263
260
|
[name: string]: string;
|
|
264
261
|
};
|
|
265
262
|
}): Promise<{
|
|
266
|
-
response:
|
|
263
|
+
response: AxiosResponse;
|
|
267
264
|
body: PaymentServices;
|
|
268
265
|
}>;
|
|
269
266
|
/**
|
|
@@ -279,7 +276,7 @@ export declare class AccountingApi {
|
|
|
279
276
|
[name: string]: string;
|
|
280
277
|
};
|
|
281
278
|
}): Promise<{
|
|
282
|
-
response:
|
|
279
|
+
response: AxiosResponse;
|
|
283
280
|
body: Attachments;
|
|
284
281
|
}>;
|
|
285
282
|
/**
|
|
@@ -294,7 +291,7 @@ export declare class AccountingApi {
|
|
|
294
291
|
[name: string]: string;
|
|
295
292
|
};
|
|
296
293
|
}): Promise<{
|
|
297
|
-
response:
|
|
294
|
+
response: AxiosResponse;
|
|
298
295
|
body: ContactGroups;
|
|
299
296
|
}>;
|
|
300
297
|
/**
|
|
@@ -310,7 +307,7 @@ export declare class AccountingApi {
|
|
|
310
307
|
[name: string]: string;
|
|
311
308
|
};
|
|
312
309
|
}): Promise<{
|
|
313
|
-
response:
|
|
310
|
+
response: AxiosResponse;
|
|
314
311
|
body: Contacts;
|
|
315
312
|
}>;
|
|
316
313
|
/**
|
|
@@ -326,7 +323,7 @@ export declare class AccountingApi {
|
|
|
326
323
|
[name: string]: string;
|
|
327
324
|
};
|
|
328
325
|
}): Promise<{
|
|
329
|
-
response:
|
|
326
|
+
response: AxiosResponse;
|
|
330
327
|
body: HistoryRecords;
|
|
331
328
|
}>;
|
|
332
329
|
/**
|
|
@@ -334,15 +331,15 @@ export declare class AccountingApi {
|
|
|
334
331
|
* @summary Creates multiple contacts (bulk) in a Xero organisation
|
|
335
332
|
* @param xeroTenantId Xero identifier for Tenant
|
|
336
333
|
* @param contacts Contacts with an array of Contact objects to create in body of request
|
|
337
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
338
334
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
335
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
339
336
|
*/
|
|
340
|
-
createContacts(xeroTenantId: string, contacts: Contacts,
|
|
337
|
+
createContacts(xeroTenantId: string, contacts: Contacts, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
341
338
|
headers: {
|
|
342
339
|
[name: string]: string;
|
|
343
340
|
};
|
|
344
341
|
}): Promise<{
|
|
345
|
-
response:
|
|
342
|
+
response: AxiosResponse;
|
|
346
343
|
body: Contacts;
|
|
347
344
|
}>;
|
|
348
345
|
/**
|
|
@@ -351,15 +348,15 @@ export declare class AccountingApi {
|
|
|
351
348
|
* @param xeroTenantId Xero identifier for Tenant
|
|
352
349
|
* @param creditNoteID Unique identifier for a Credit Note
|
|
353
350
|
* @param allocations Allocations with array of Allocation object in body of request.
|
|
354
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
355
351
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
352
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
356
353
|
*/
|
|
357
|
-
createCreditNoteAllocation(xeroTenantId: string, creditNoteID: string, allocations: Allocations,
|
|
354
|
+
createCreditNoteAllocation(xeroTenantId: string, creditNoteID: string, allocations: Allocations, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
358
355
|
headers: {
|
|
359
356
|
[name: string]: string;
|
|
360
357
|
};
|
|
361
358
|
}): Promise<{
|
|
362
|
-
response:
|
|
359
|
+
response: AxiosResponse;
|
|
363
360
|
body: Allocations;
|
|
364
361
|
}>;
|
|
365
362
|
/**
|
|
@@ -369,15 +366,15 @@ export declare class AccountingApi {
|
|
|
369
366
|
* @param creditNoteID Unique identifier for a Credit Note
|
|
370
367
|
* @param fileName Name of the attachment
|
|
371
368
|
* @param body Byte array of file in body of request
|
|
372
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
373
369
|
* @param includeOnline Allows an attachment to be seen by the end customer within their online invoice
|
|
370
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
374
371
|
*/
|
|
375
|
-
createCreditNoteAttachmentByFileName(xeroTenantId: string, creditNoteID: string, fileName: string, body: fs.ReadStream,
|
|
372
|
+
createCreditNoteAttachmentByFileName(xeroTenantId: string, creditNoteID: string, fileName: string, body: fs.ReadStream, includeOnline?: boolean, idempotencyKey?: string, options?: {
|
|
376
373
|
headers: {
|
|
377
374
|
[name: string]: string;
|
|
378
375
|
};
|
|
379
376
|
}): Promise<{
|
|
380
|
-
response:
|
|
377
|
+
response: AxiosResponse;
|
|
381
378
|
body: Attachments;
|
|
382
379
|
}>;
|
|
383
380
|
/**
|
|
@@ -393,7 +390,7 @@ export declare class AccountingApi {
|
|
|
393
390
|
[name: string]: string;
|
|
394
391
|
};
|
|
395
392
|
}): Promise<{
|
|
396
|
-
response:
|
|
393
|
+
response: AxiosResponse;
|
|
397
394
|
body: HistoryRecords;
|
|
398
395
|
}>;
|
|
399
396
|
/**
|
|
@@ -401,16 +398,16 @@ export declare class AccountingApi {
|
|
|
401
398
|
* @summary Creates a new credit note
|
|
402
399
|
* @param xeroTenantId Xero identifier for Tenant
|
|
403
400
|
* @param creditNotes Credit Notes with array of CreditNote object in body of request
|
|
404
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
405
401
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
406
402
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
403
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
407
404
|
*/
|
|
408
|
-
createCreditNotes(xeroTenantId: string, creditNotes: CreditNotes,
|
|
405
|
+
createCreditNotes(xeroTenantId: string, creditNotes: CreditNotes, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
|
|
409
406
|
headers: {
|
|
410
407
|
[name: string]: string;
|
|
411
408
|
};
|
|
412
409
|
}): Promise<{
|
|
413
|
-
response:
|
|
410
|
+
response: AxiosResponse;
|
|
414
411
|
body: CreditNotes;
|
|
415
412
|
}>;
|
|
416
413
|
/**
|
|
@@ -425,7 +422,7 @@ export declare class AccountingApi {
|
|
|
425
422
|
[name: string]: string;
|
|
426
423
|
};
|
|
427
424
|
}): Promise<{
|
|
428
|
-
response:
|
|
425
|
+
response: AxiosResponse;
|
|
429
426
|
body: Currencies;
|
|
430
427
|
}>;
|
|
431
428
|
/**
|
|
@@ -433,15 +430,15 @@ export declare class AccountingApi {
|
|
|
433
430
|
* @summary Creates new employees used in Xero payrun
|
|
434
431
|
* @param xeroTenantId Xero identifier for Tenant
|
|
435
432
|
* @param employees Employees with array of Employee object in body of request
|
|
436
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
437
433
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
434
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
438
435
|
*/
|
|
439
|
-
createEmployees(xeroTenantId: string, employees: Employees,
|
|
436
|
+
createEmployees(xeroTenantId: string, employees: Employees, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
440
437
|
headers: {
|
|
441
438
|
[name: string]: string;
|
|
442
439
|
};
|
|
443
440
|
}): Promise<{
|
|
444
|
-
response:
|
|
441
|
+
response: AxiosResponse;
|
|
445
442
|
body: Employees;
|
|
446
443
|
}>;
|
|
447
444
|
/**
|
|
@@ -457,7 +454,7 @@ export declare class AccountingApi {
|
|
|
457
454
|
[name: string]: string;
|
|
458
455
|
};
|
|
459
456
|
}): Promise<{
|
|
460
|
-
response:
|
|
457
|
+
response: AxiosResponse;
|
|
461
458
|
body: HistoryRecords;
|
|
462
459
|
}>;
|
|
463
460
|
/**
|
|
@@ -472,7 +469,7 @@ export declare class AccountingApi {
|
|
|
472
469
|
[name: string]: string;
|
|
473
470
|
};
|
|
474
471
|
}): Promise<{
|
|
475
|
-
response:
|
|
472
|
+
response: AxiosResponse;
|
|
476
473
|
body: ExpenseClaims;
|
|
477
474
|
}>;
|
|
478
475
|
/**
|
|
@@ -482,15 +479,15 @@ export declare class AccountingApi {
|
|
|
482
479
|
* @param invoiceID Unique identifier for an Invoice
|
|
483
480
|
* @param fileName Name of the attachment
|
|
484
481
|
* @param body Byte array of file in body of request
|
|
485
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
486
482
|
* @param includeOnline Allows an attachment to be seen by the end customer within their online invoice
|
|
483
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
487
484
|
*/
|
|
488
|
-
createInvoiceAttachmentByFileName(xeroTenantId: string, invoiceID: string, fileName: string, body: fs.ReadStream,
|
|
485
|
+
createInvoiceAttachmentByFileName(xeroTenantId: string, invoiceID: string, fileName: string, body: fs.ReadStream, includeOnline?: boolean, idempotencyKey?: string, options?: {
|
|
489
486
|
headers: {
|
|
490
487
|
[name: string]: string;
|
|
491
488
|
};
|
|
492
489
|
}): Promise<{
|
|
493
|
-
response:
|
|
490
|
+
response: AxiosResponse;
|
|
494
491
|
body: Attachments;
|
|
495
492
|
}>;
|
|
496
493
|
/**
|
|
@@ -506,7 +503,7 @@ export declare class AccountingApi {
|
|
|
506
503
|
[name: string]: string;
|
|
507
504
|
};
|
|
508
505
|
}): Promise<{
|
|
509
|
-
response:
|
|
506
|
+
response: AxiosResponse;
|
|
510
507
|
body: HistoryRecords;
|
|
511
508
|
}>;
|
|
512
509
|
/**
|
|
@@ -514,16 +511,16 @@ export declare class AccountingApi {
|
|
|
514
511
|
* @summary Creates one or more sales invoices or purchase bills
|
|
515
512
|
* @param xeroTenantId Xero identifier for Tenant
|
|
516
513
|
* @param invoices Invoices with an array of invoice objects in body of request
|
|
517
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
518
514
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
519
515
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
516
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
520
517
|
*/
|
|
521
|
-
createInvoices(xeroTenantId: string, invoices: Invoices,
|
|
518
|
+
createInvoices(xeroTenantId: string, invoices: Invoices, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
|
|
522
519
|
headers: {
|
|
523
520
|
[name: string]: string;
|
|
524
521
|
};
|
|
525
522
|
}): Promise<{
|
|
526
|
-
response:
|
|
523
|
+
response: AxiosResponse;
|
|
527
524
|
body: Invoices;
|
|
528
525
|
}>;
|
|
529
526
|
/**
|
|
@@ -539,7 +536,7 @@ export declare class AccountingApi {
|
|
|
539
536
|
[name: string]: string;
|
|
540
537
|
};
|
|
541
538
|
}): Promise<{
|
|
542
|
-
response:
|
|
539
|
+
response: AxiosResponse;
|
|
543
540
|
body: HistoryRecords;
|
|
544
541
|
}>;
|
|
545
542
|
/**
|
|
@@ -547,16 +544,16 @@ export declare class AccountingApi {
|
|
|
547
544
|
* @summary Creates one or more items
|
|
548
545
|
* @param xeroTenantId Xero identifier for Tenant
|
|
549
546
|
* @param items Items with an array of Item objects in body of request
|
|
550
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
551
547
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
552
548
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
549
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
553
550
|
*/
|
|
554
|
-
createItems(xeroTenantId: string, items: Items,
|
|
551
|
+
createItems(xeroTenantId: string, items: Items, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
|
|
555
552
|
headers: {
|
|
556
553
|
[name: string]: string;
|
|
557
554
|
};
|
|
558
555
|
}): Promise<{
|
|
559
|
-
response:
|
|
556
|
+
response: AxiosResponse;
|
|
560
557
|
body: Items;
|
|
561
558
|
}>;
|
|
562
559
|
/**
|
|
@@ -571,7 +568,7 @@ export declare class AccountingApi {
|
|
|
571
568
|
[name: string]: string;
|
|
572
569
|
};
|
|
573
570
|
}): Promise<{
|
|
574
|
-
response:
|
|
571
|
+
response: AxiosResponse;
|
|
575
572
|
body: LinkedTransactions;
|
|
576
573
|
}>;
|
|
577
574
|
/**
|
|
@@ -588,7 +585,7 @@ export declare class AccountingApi {
|
|
|
588
585
|
[name: string]: string;
|
|
589
586
|
};
|
|
590
587
|
}): Promise<{
|
|
591
|
-
response:
|
|
588
|
+
response: AxiosResponse;
|
|
592
589
|
body: Attachments;
|
|
593
590
|
}>;
|
|
594
591
|
/**
|
|
@@ -604,7 +601,7 @@ export declare class AccountingApi {
|
|
|
604
601
|
[name: string]: string;
|
|
605
602
|
};
|
|
606
603
|
}): Promise<{
|
|
607
|
-
response:
|
|
604
|
+
response: AxiosResponse;
|
|
608
605
|
body: HistoryRecords;
|
|
609
606
|
}>;
|
|
610
607
|
/**
|
|
@@ -612,15 +609,15 @@ export declare class AccountingApi {
|
|
|
612
609
|
* @summary Creates one or more manual journals
|
|
613
610
|
* @param xeroTenantId Xero identifier for Tenant
|
|
614
611
|
* @param manualJournals ManualJournals array with ManualJournal object in body of request
|
|
615
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
616
612
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
613
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
617
614
|
*/
|
|
618
|
-
createManualJournals(xeroTenantId: string, manualJournals: ManualJournals,
|
|
615
|
+
createManualJournals(xeroTenantId: string, manualJournals: ManualJournals, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
619
616
|
headers: {
|
|
620
617
|
[name: string]: string;
|
|
621
618
|
};
|
|
622
619
|
}): Promise<{
|
|
623
|
-
response:
|
|
620
|
+
response: AxiosResponse;
|
|
624
621
|
body: ManualJournals;
|
|
625
622
|
}>;
|
|
626
623
|
/**
|
|
@@ -629,15 +626,15 @@ export declare class AccountingApi {
|
|
|
629
626
|
* @param xeroTenantId Xero identifier for Tenant
|
|
630
627
|
* @param overpaymentID Unique identifier for a Overpayment
|
|
631
628
|
* @param allocations Allocations array with Allocation object in body of request
|
|
632
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
633
629
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
630
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
634
631
|
*/
|
|
635
|
-
createOverpaymentAllocations(xeroTenantId: string, overpaymentID: string, allocations: Allocations,
|
|
632
|
+
createOverpaymentAllocations(xeroTenantId: string, overpaymentID: string, allocations: Allocations, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
636
633
|
headers: {
|
|
637
634
|
[name: string]: string;
|
|
638
635
|
};
|
|
639
636
|
}): Promise<{
|
|
640
|
-
response:
|
|
637
|
+
response: AxiosResponse;
|
|
641
638
|
body: Allocations;
|
|
642
639
|
}>;
|
|
643
640
|
/**
|
|
@@ -653,7 +650,7 @@ export declare class AccountingApi {
|
|
|
653
650
|
[name: string]: string;
|
|
654
651
|
};
|
|
655
652
|
}): Promise<{
|
|
656
|
-
response:
|
|
653
|
+
response: AxiosResponse;
|
|
657
654
|
body: HistoryRecords;
|
|
658
655
|
}>;
|
|
659
656
|
/**
|
|
@@ -668,7 +665,7 @@ export declare class AccountingApi {
|
|
|
668
665
|
[name: string]: string;
|
|
669
666
|
};
|
|
670
667
|
}): Promise<{
|
|
671
|
-
response:
|
|
668
|
+
response: AxiosResponse;
|
|
672
669
|
body: Payments;
|
|
673
670
|
}>;
|
|
674
671
|
/**
|
|
@@ -684,7 +681,7 @@ export declare class AccountingApi {
|
|
|
684
681
|
[name: string]: string;
|
|
685
682
|
};
|
|
686
683
|
}): Promise<{
|
|
687
|
-
response:
|
|
684
|
+
response: AxiosResponse;
|
|
688
685
|
body: HistoryRecords;
|
|
689
686
|
}>;
|
|
690
687
|
/**
|
|
@@ -699,7 +696,7 @@ export declare class AccountingApi {
|
|
|
699
696
|
[name: string]: string;
|
|
700
697
|
};
|
|
701
698
|
}): Promise<{
|
|
702
|
-
response:
|
|
699
|
+
response: AxiosResponse;
|
|
703
700
|
body: PaymentServices;
|
|
704
701
|
}>;
|
|
705
702
|
/**
|
|
@@ -707,15 +704,15 @@ export declare class AccountingApi {
|
|
|
707
704
|
* @summary Creates multiple payments for invoices or credit notes
|
|
708
705
|
* @param xeroTenantId Xero identifier for Tenant
|
|
709
706
|
* @param payments Payments array with Payment object in body of request
|
|
710
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
711
707
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
708
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
712
709
|
*/
|
|
713
|
-
createPayments(xeroTenantId: string, payments: Payments,
|
|
710
|
+
createPayments(xeroTenantId: string, payments: Payments, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
714
711
|
headers: {
|
|
715
712
|
[name: string]: string;
|
|
716
713
|
};
|
|
717
714
|
}): Promise<{
|
|
718
|
-
response:
|
|
715
|
+
response: AxiosResponse;
|
|
719
716
|
body: Payments;
|
|
720
717
|
}>;
|
|
721
718
|
/**
|
|
@@ -724,15 +721,15 @@ export declare class AccountingApi {
|
|
|
724
721
|
* @param xeroTenantId Xero identifier for Tenant
|
|
725
722
|
* @param prepaymentID Unique identifier for a PrePayment
|
|
726
723
|
* @param allocations Allocations with an array of Allocation object in body of request
|
|
727
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
728
724
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
725
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
729
726
|
*/
|
|
730
|
-
createPrepaymentAllocations(xeroTenantId: string, prepaymentID: string, allocations: Allocations,
|
|
727
|
+
createPrepaymentAllocations(xeroTenantId: string, prepaymentID: string, allocations: Allocations, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
731
728
|
headers: {
|
|
732
729
|
[name: string]: string;
|
|
733
730
|
};
|
|
734
731
|
}): Promise<{
|
|
735
|
-
response:
|
|
732
|
+
response: AxiosResponse;
|
|
736
733
|
body: Allocations;
|
|
737
734
|
}>;
|
|
738
735
|
/**
|
|
@@ -748,7 +745,7 @@ export declare class AccountingApi {
|
|
|
748
745
|
[name: string]: string;
|
|
749
746
|
};
|
|
750
747
|
}): Promise<{
|
|
751
|
-
response:
|
|
748
|
+
response: AxiosResponse;
|
|
752
749
|
body: HistoryRecords;
|
|
753
750
|
}>;
|
|
754
751
|
/**
|
|
@@ -765,7 +762,7 @@ export declare class AccountingApi {
|
|
|
765
762
|
[name: string]: string;
|
|
766
763
|
};
|
|
767
764
|
}): Promise<{
|
|
768
|
-
response:
|
|
765
|
+
response: AxiosResponse;
|
|
769
766
|
body: Attachments;
|
|
770
767
|
}>;
|
|
771
768
|
/**
|
|
@@ -781,7 +778,7 @@ export declare class AccountingApi {
|
|
|
781
778
|
[name: string]: string;
|
|
782
779
|
};
|
|
783
780
|
}): Promise<{
|
|
784
|
-
response:
|
|
781
|
+
response: AxiosResponse;
|
|
785
782
|
body: HistoryRecords;
|
|
786
783
|
}>;
|
|
787
784
|
/**
|
|
@@ -789,15 +786,15 @@ export declare class AccountingApi {
|
|
|
789
786
|
* @summary Creates one or more purchase orders
|
|
790
787
|
* @param xeroTenantId Xero identifier for Tenant
|
|
791
788
|
* @param purchaseOrders PurchaseOrders with an array of PurchaseOrder object in body of request
|
|
792
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
793
789
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
790
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
794
791
|
*/
|
|
795
|
-
createPurchaseOrders(xeroTenantId: string, purchaseOrders: PurchaseOrders,
|
|
792
|
+
createPurchaseOrders(xeroTenantId: string, purchaseOrders: PurchaseOrders, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
796
793
|
headers: {
|
|
797
794
|
[name: string]: string;
|
|
798
795
|
};
|
|
799
796
|
}): Promise<{
|
|
800
|
-
response:
|
|
797
|
+
response: AxiosResponse;
|
|
801
798
|
body: PurchaseOrders;
|
|
802
799
|
}>;
|
|
803
800
|
/**
|
|
@@ -814,7 +811,7 @@ export declare class AccountingApi {
|
|
|
814
811
|
[name: string]: string;
|
|
815
812
|
};
|
|
816
813
|
}): Promise<{
|
|
817
|
-
response:
|
|
814
|
+
response: AxiosResponse;
|
|
818
815
|
body: Attachments;
|
|
819
816
|
}>;
|
|
820
817
|
/**
|
|
@@ -830,7 +827,7 @@ export declare class AccountingApi {
|
|
|
830
827
|
[name: string]: string;
|
|
831
828
|
};
|
|
832
829
|
}): Promise<{
|
|
833
|
-
response:
|
|
830
|
+
response: AxiosResponse;
|
|
834
831
|
body: HistoryRecords;
|
|
835
832
|
}>;
|
|
836
833
|
/**
|
|
@@ -838,15 +835,15 @@ export declare class AccountingApi {
|
|
|
838
835
|
* @summary Create one or more quotes
|
|
839
836
|
* @param xeroTenantId Xero identifier for Tenant
|
|
840
837
|
* @param quotes Quotes with an array of Quote object in body of request
|
|
841
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
842
838
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
839
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
843
840
|
*/
|
|
844
|
-
createQuotes(xeroTenantId: string, quotes: Quotes,
|
|
841
|
+
createQuotes(xeroTenantId: string, quotes: Quotes, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
845
842
|
headers: {
|
|
846
843
|
[name: string]: string;
|
|
847
844
|
};
|
|
848
845
|
}): Promise<{
|
|
849
|
-
response:
|
|
846
|
+
response: AxiosResponse;
|
|
850
847
|
body: Quotes;
|
|
851
848
|
}>;
|
|
852
849
|
/**
|
|
@@ -854,15 +851,15 @@ export declare class AccountingApi {
|
|
|
854
851
|
* @summary Creates draft expense claim receipts for any user
|
|
855
852
|
* @param xeroTenantId Xero identifier for Tenant
|
|
856
853
|
* @param receipts Receipts with an array of Receipt object in body of request
|
|
857
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
858
854
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
855
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
859
856
|
*/
|
|
860
|
-
createReceipt(xeroTenantId: string, receipts: Receipts,
|
|
857
|
+
createReceipt(xeroTenantId: string, receipts: Receipts, unitdp?: number, idempotencyKey?: string, options?: {
|
|
861
858
|
headers: {
|
|
862
859
|
[name: string]: string;
|
|
863
860
|
};
|
|
864
861
|
}): Promise<{
|
|
865
|
-
response:
|
|
862
|
+
response: AxiosResponse;
|
|
866
863
|
body: Receipts;
|
|
867
864
|
}>;
|
|
868
865
|
/**
|
|
@@ -879,7 +876,7 @@ export declare class AccountingApi {
|
|
|
879
876
|
[name: string]: string;
|
|
880
877
|
};
|
|
881
878
|
}): Promise<{
|
|
882
|
-
response:
|
|
879
|
+
response: AxiosResponse;
|
|
883
880
|
body: Attachments;
|
|
884
881
|
}>;
|
|
885
882
|
/**
|
|
@@ -895,7 +892,7 @@ export declare class AccountingApi {
|
|
|
895
892
|
[name: string]: string;
|
|
896
893
|
};
|
|
897
894
|
}): Promise<{
|
|
898
|
-
response:
|
|
895
|
+
response: AxiosResponse;
|
|
899
896
|
body: HistoryRecords;
|
|
900
897
|
}>;
|
|
901
898
|
/**
|
|
@@ -912,7 +909,7 @@ export declare class AccountingApi {
|
|
|
912
909
|
[name: string]: string;
|
|
913
910
|
};
|
|
914
911
|
}): Promise<{
|
|
915
|
-
response:
|
|
912
|
+
response: AxiosResponse;
|
|
916
913
|
body: Attachments;
|
|
917
914
|
}>;
|
|
918
915
|
/**
|
|
@@ -928,7 +925,7 @@ export declare class AccountingApi {
|
|
|
928
925
|
[name: string]: string;
|
|
929
926
|
};
|
|
930
927
|
}): Promise<{
|
|
931
|
-
response:
|
|
928
|
+
response: AxiosResponse;
|
|
932
929
|
body: HistoryRecords;
|
|
933
930
|
}>;
|
|
934
931
|
/**
|
|
@@ -936,15 +933,15 @@ export declare class AccountingApi {
|
|
|
936
933
|
* @summary Creates one or more repeating invoice templates
|
|
937
934
|
* @param xeroTenantId Xero identifier for Tenant
|
|
938
935
|
* @param repeatingInvoices RepeatingInvoices with an array of repeating invoice objects in body of request
|
|
939
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
940
936
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
937
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
941
938
|
*/
|
|
942
|
-
createRepeatingInvoices(xeroTenantId: string, repeatingInvoices: RepeatingInvoices,
|
|
939
|
+
createRepeatingInvoices(xeroTenantId: string, repeatingInvoices: RepeatingInvoices, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
943
940
|
headers: {
|
|
944
941
|
[name: string]: string;
|
|
945
942
|
};
|
|
946
943
|
}): Promise<{
|
|
947
|
-
response:
|
|
944
|
+
response: AxiosResponse;
|
|
948
945
|
body: RepeatingInvoices;
|
|
949
946
|
}>;
|
|
950
947
|
/**
|
|
@@ -959,7 +956,7 @@ export declare class AccountingApi {
|
|
|
959
956
|
[name: string]: string;
|
|
960
957
|
};
|
|
961
958
|
}): Promise<{
|
|
962
|
-
response:
|
|
959
|
+
response: AxiosResponse;
|
|
963
960
|
body: TaxRates;
|
|
964
961
|
}>;
|
|
965
962
|
/**
|
|
@@ -974,7 +971,7 @@ export declare class AccountingApi {
|
|
|
974
971
|
[name: string]: string;
|
|
975
972
|
};
|
|
976
973
|
}): Promise<{
|
|
977
|
-
response:
|
|
974
|
+
response: AxiosResponse;
|
|
978
975
|
body: TrackingCategories;
|
|
979
976
|
}>;
|
|
980
977
|
/**
|
|
@@ -990,7 +987,7 @@ export declare class AccountingApi {
|
|
|
990
987
|
[name: string]: string;
|
|
991
988
|
};
|
|
992
989
|
}): Promise<{
|
|
993
|
-
response:
|
|
990
|
+
response: AxiosResponse;
|
|
994
991
|
body: TrackingOptions;
|
|
995
992
|
}>;
|
|
996
993
|
/**
|
|
@@ -1004,7 +1001,7 @@ export declare class AccountingApi {
|
|
|
1004
1001
|
[name: string]: string;
|
|
1005
1002
|
};
|
|
1006
1003
|
}): Promise<{
|
|
1007
|
-
response:
|
|
1004
|
+
response: AxiosResponse;
|
|
1008
1005
|
body: Accounts;
|
|
1009
1006
|
}>;
|
|
1010
1007
|
/**
|
|
@@ -1019,7 +1016,7 @@ export declare class AccountingApi {
|
|
|
1019
1016
|
[name: string]: string;
|
|
1020
1017
|
};
|
|
1021
1018
|
}): Promise<{
|
|
1022
|
-
response:
|
|
1019
|
+
response: AxiosResponse;
|
|
1023
1020
|
body: BatchPayments;
|
|
1024
1021
|
}>;
|
|
1025
1022
|
/**
|
|
@@ -1035,7 +1032,7 @@ export declare class AccountingApi {
|
|
|
1035
1032
|
[name: string]: string;
|
|
1036
1033
|
};
|
|
1037
1034
|
}): Promise<{
|
|
1038
|
-
response:
|
|
1035
|
+
response: AxiosResponse;
|
|
1039
1036
|
body: BatchPayments;
|
|
1040
1037
|
}>;
|
|
1041
1038
|
/**
|
|
@@ -1050,7 +1047,7 @@ export declare class AccountingApi {
|
|
|
1050
1047
|
[name: string]: string;
|
|
1051
1048
|
};
|
|
1052
1049
|
}): Promise<{
|
|
1053
|
-
response:
|
|
1050
|
+
response: AxiosResponse;
|
|
1054
1051
|
body?: any;
|
|
1055
1052
|
}>;
|
|
1056
1053
|
/**
|
|
@@ -1064,7 +1061,7 @@ export declare class AccountingApi {
|
|
|
1064
1061
|
[name: string]: string;
|
|
1065
1062
|
};
|
|
1066
1063
|
}): Promise<{
|
|
1067
|
-
response:
|
|
1064
|
+
response: AxiosResponse;
|
|
1068
1065
|
body?: any;
|
|
1069
1066
|
}>;
|
|
1070
1067
|
/**
|
|
@@ -1079,7 +1076,7 @@ export declare class AccountingApi {
|
|
|
1079
1076
|
[name: string]: string;
|
|
1080
1077
|
};
|
|
1081
1078
|
}): Promise<{
|
|
1082
|
-
response:
|
|
1079
|
+
response: AxiosResponse;
|
|
1083
1080
|
body: Allocation;
|
|
1084
1081
|
}>;
|
|
1085
1082
|
/**
|
|
@@ -1093,7 +1090,7 @@ export declare class AccountingApi {
|
|
|
1093
1090
|
[name: string]: string;
|
|
1094
1091
|
};
|
|
1095
1092
|
}): Promise<{
|
|
1096
|
-
response:
|
|
1093
|
+
response: AxiosResponse;
|
|
1097
1094
|
body?: any;
|
|
1098
1095
|
}>;
|
|
1099
1096
|
/**
|
|
@@ -1107,7 +1104,7 @@ export declare class AccountingApi {
|
|
|
1107
1104
|
[name: string]: string;
|
|
1108
1105
|
};
|
|
1109
1106
|
}): Promise<{
|
|
1110
|
-
response:
|
|
1107
|
+
response: AxiosResponse;
|
|
1111
1108
|
body?: any;
|
|
1112
1109
|
}>;
|
|
1113
1110
|
/**
|
|
@@ -1122,7 +1119,7 @@ export declare class AccountingApi {
|
|
|
1122
1119
|
[name: string]: string;
|
|
1123
1120
|
};
|
|
1124
1121
|
}): Promise<{
|
|
1125
|
-
response:
|
|
1122
|
+
response: AxiosResponse;
|
|
1126
1123
|
body: Allocation;
|
|
1127
1124
|
}>;
|
|
1128
1125
|
/**
|
|
@@ -1138,7 +1135,7 @@ export declare class AccountingApi {
|
|
|
1138
1135
|
[name: string]: string;
|
|
1139
1136
|
};
|
|
1140
1137
|
}): Promise<{
|
|
1141
|
-
response:
|
|
1138
|
+
response: AxiosResponse;
|
|
1142
1139
|
body: Payments;
|
|
1143
1140
|
}>;
|
|
1144
1141
|
/**
|
|
@@ -1153,7 +1150,7 @@ export declare class AccountingApi {
|
|
|
1153
1150
|
[name: string]: string;
|
|
1154
1151
|
};
|
|
1155
1152
|
}): Promise<{
|
|
1156
|
-
response:
|
|
1153
|
+
response: AxiosResponse;
|
|
1157
1154
|
body: Allocation;
|
|
1158
1155
|
}>;
|
|
1159
1156
|
/**
|
|
@@ -1167,7 +1164,7 @@ export declare class AccountingApi {
|
|
|
1167
1164
|
[name: string]: string;
|
|
1168
1165
|
};
|
|
1169
1166
|
}): Promise<{
|
|
1170
|
-
response:
|
|
1167
|
+
response: AxiosResponse;
|
|
1171
1168
|
body: TrackingCategories;
|
|
1172
1169
|
}>;
|
|
1173
1170
|
/**
|
|
@@ -1182,7 +1179,7 @@ export declare class AccountingApi {
|
|
|
1182
1179
|
[name: string]: string;
|
|
1183
1180
|
};
|
|
1184
1181
|
}): Promise<{
|
|
1185
|
-
response:
|
|
1182
|
+
response: AxiosResponse;
|
|
1186
1183
|
body: TrackingOptions;
|
|
1187
1184
|
}>;
|
|
1188
1185
|
/**
|
|
@@ -1198,7 +1195,7 @@ export declare class AccountingApi {
|
|
|
1198
1195
|
[name: string]: string;
|
|
1199
1196
|
};
|
|
1200
1197
|
}): Promise<{
|
|
1201
|
-
response:
|
|
1198
|
+
response: AxiosResponse;
|
|
1202
1199
|
body?: any;
|
|
1203
1200
|
}>;
|
|
1204
1201
|
/**
|
|
@@ -1212,7 +1209,7 @@ export declare class AccountingApi {
|
|
|
1212
1209
|
[name: string]: string;
|
|
1213
1210
|
};
|
|
1214
1211
|
}): Promise<{
|
|
1215
|
-
response:
|
|
1212
|
+
response: AxiosResponse;
|
|
1216
1213
|
body: Accounts;
|
|
1217
1214
|
}>;
|
|
1218
1215
|
/**
|
|
@@ -1228,7 +1225,7 @@ export declare class AccountingApi {
|
|
|
1228
1225
|
[name: string]: string;
|
|
1229
1226
|
};
|
|
1230
1227
|
}): Promise<{
|
|
1231
|
-
response:
|
|
1228
|
+
response: AxiosResponse;
|
|
1232
1229
|
body: Buffer;
|
|
1233
1230
|
}>;
|
|
1234
1231
|
/**
|
|
@@ -1244,7 +1241,7 @@ export declare class AccountingApi {
|
|
|
1244
1241
|
[name: string]: string;
|
|
1245
1242
|
};
|
|
1246
1243
|
}): Promise<{
|
|
1247
|
-
response:
|
|
1244
|
+
response: AxiosResponse;
|
|
1248
1245
|
body: Buffer;
|
|
1249
1246
|
}>;
|
|
1250
1247
|
/**
|
|
@@ -1258,7 +1255,7 @@ export declare class AccountingApi {
|
|
|
1258
1255
|
[name: string]: string;
|
|
1259
1256
|
};
|
|
1260
1257
|
}): Promise<{
|
|
1261
|
-
response:
|
|
1258
|
+
response: AxiosResponse;
|
|
1262
1259
|
body: Attachments;
|
|
1263
1260
|
}>;
|
|
1264
1261
|
/**
|
|
@@ -1274,7 +1271,7 @@ export declare class AccountingApi {
|
|
|
1274
1271
|
[name: string]: string;
|
|
1275
1272
|
};
|
|
1276
1273
|
}): Promise<{
|
|
1277
|
-
response:
|
|
1274
|
+
response: AxiosResponse;
|
|
1278
1275
|
body: Accounts;
|
|
1279
1276
|
}>;
|
|
1280
1277
|
/**
|
|
@@ -1289,7 +1286,7 @@ export declare class AccountingApi {
|
|
|
1289
1286
|
[name: string]: string;
|
|
1290
1287
|
};
|
|
1291
1288
|
}): Promise<{
|
|
1292
|
-
response:
|
|
1289
|
+
response: AxiosResponse;
|
|
1293
1290
|
body: BankTransactions;
|
|
1294
1291
|
}>;
|
|
1295
1292
|
/**
|
|
@@ -1305,7 +1302,7 @@ export declare class AccountingApi {
|
|
|
1305
1302
|
[name: string]: string;
|
|
1306
1303
|
};
|
|
1307
1304
|
}): Promise<{
|
|
1308
|
-
response:
|
|
1305
|
+
response: AxiosResponse;
|
|
1309
1306
|
body: Buffer;
|
|
1310
1307
|
}>;
|
|
1311
1308
|
/**
|
|
@@ -1321,7 +1318,7 @@ export declare class AccountingApi {
|
|
|
1321
1318
|
[name: string]: string;
|
|
1322
1319
|
};
|
|
1323
1320
|
}): Promise<{
|
|
1324
|
-
response:
|
|
1321
|
+
response: AxiosResponse;
|
|
1325
1322
|
body: Buffer;
|
|
1326
1323
|
}>;
|
|
1327
1324
|
/**
|
|
@@ -1335,7 +1332,7 @@ export declare class AccountingApi {
|
|
|
1335
1332
|
[name: string]: string;
|
|
1336
1333
|
};
|
|
1337
1334
|
}): Promise<{
|
|
1338
|
-
response:
|
|
1335
|
+
response: AxiosResponse;
|
|
1339
1336
|
body: Attachments;
|
|
1340
1337
|
}>;
|
|
1341
1338
|
/**
|
|
@@ -1353,7 +1350,7 @@ export declare class AccountingApi {
|
|
|
1353
1350
|
[name: string]: string;
|
|
1354
1351
|
};
|
|
1355
1352
|
}): Promise<{
|
|
1356
|
-
response:
|
|
1353
|
+
response: AxiosResponse;
|
|
1357
1354
|
body: BankTransactions;
|
|
1358
1355
|
}>;
|
|
1359
1356
|
/**
|
|
@@ -1367,7 +1364,7 @@ export declare class AccountingApi {
|
|
|
1367
1364
|
[name: string]: string;
|
|
1368
1365
|
};
|
|
1369
1366
|
}): Promise<{
|
|
1370
|
-
response:
|
|
1367
|
+
response: AxiosResponse;
|
|
1371
1368
|
body: HistoryRecords;
|
|
1372
1369
|
}>;
|
|
1373
1370
|
/**
|
|
@@ -1381,7 +1378,7 @@ export declare class AccountingApi {
|
|
|
1381
1378
|
[name: string]: string;
|
|
1382
1379
|
};
|
|
1383
1380
|
}): Promise<{
|
|
1384
|
-
response:
|
|
1381
|
+
response: AxiosResponse;
|
|
1385
1382
|
body: BankTransfers;
|
|
1386
1383
|
}>;
|
|
1387
1384
|
/**
|
|
@@ -1397,7 +1394,7 @@ export declare class AccountingApi {
|
|
|
1397
1394
|
[name: string]: string;
|
|
1398
1395
|
};
|
|
1399
1396
|
}): Promise<{
|
|
1400
|
-
response:
|
|
1397
|
+
response: AxiosResponse;
|
|
1401
1398
|
body: Buffer;
|
|
1402
1399
|
}>;
|
|
1403
1400
|
/**
|
|
@@ -1413,7 +1410,7 @@ export declare class AccountingApi {
|
|
|
1413
1410
|
[name: string]: string;
|
|
1414
1411
|
};
|
|
1415
1412
|
}): Promise<{
|
|
1416
|
-
response:
|
|
1413
|
+
response: AxiosResponse;
|
|
1417
1414
|
body: Buffer;
|
|
1418
1415
|
}>;
|
|
1419
1416
|
/**
|
|
@@ -1427,7 +1424,7 @@ export declare class AccountingApi {
|
|
|
1427
1424
|
[name: string]: string;
|
|
1428
1425
|
};
|
|
1429
1426
|
}): Promise<{
|
|
1430
|
-
response:
|
|
1427
|
+
response: AxiosResponse;
|
|
1431
1428
|
body: Attachments;
|
|
1432
1429
|
}>;
|
|
1433
1430
|
/**
|
|
@@ -1441,7 +1438,7 @@ export declare class AccountingApi {
|
|
|
1441
1438
|
[name: string]: string;
|
|
1442
1439
|
};
|
|
1443
1440
|
}): Promise<{
|
|
1444
|
-
response:
|
|
1441
|
+
response: AxiosResponse;
|
|
1445
1442
|
body: HistoryRecords;
|
|
1446
1443
|
}>;
|
|
1447
1444
|
/**
|
|
@@ -1457,7 +1454,7 @@ export declare class AccountingApi {
|
|
|
1457
1454
|
[name: string]: string;
|
|
1458
1455
|
};
|
|
1459
1456
|
}): Promise<{
|
|
1460
|
-
response:
|
|
1457
|
+
response: AxiosResponse;
|
|
1461
1458
|
body: BankTransfers;
|
|
1462
1459
|
}>;
|
|
1463
1460
|
/**
|
|
@@ -1471,7 +1468,7 @@ export declare class AccountingApi {
|
|
|
1471
1468
|
[name: string]: string;
|
|
1472
1469
|
};
|
|
1473
1470
|
}): Promise<{
|
|
1474
|
-
response:
|
|
1471
|
+
response: AxiosResponse;
|
|
1475
1472
|
body: BatchPayments;
|
|
1476
1473
|
}>;
|
|
1477
1474
|
/**
|
|
@@ -1485,7 +1482,7 @@ export declare class AccountingApi {
|
|
|
1485
1482
|
[name: string]: string;
|
|
1486
1483
|
};
|
|
1487
1484
|
}): Promise<{
|
|
1488
|
-
response:
|
|
1485
|
+
response: AxiosResponse;
|
|
1489
1486
|
body: HistoryRecords;
|
|
1490
1487
|
}>;
|
|
1491
1488
|
/**
|
|
@@ -1501,7 +1498,7 @@ export declare class AccountingApi {
|
|
|
1501
1498
|
[name: string]: string;
|
|
1502
1499
|
};
|
|
1503
1500
|
}): Promise<{
|
|
1504
|
-
response:
|
|
1501
|
+
response: AxiosResponse;
|
|
1505
1502
|
body: BatchPayments;
|
|
1506
1503
|
}>;
|
|
1507
1504
|
/**
|
|
@@ -1515,7 +1512,7 @@ export declare class AccountingApi {
|
|
|
1515
1512
|
[name: string]: string;
|
|
1516
1513
|
};
|
|
1517
1514
|
}): Promise<{
|
|
1518
|
-
response:
|
|
1515
|
+
response: AxiosResponse;
|
|
1519
1516
|
body: BrandingThemes;
|
|
1520
1517
|
}>;
|
|
1521
1518
|
/**
|
|
@@ -1529,7 +1526,7 @@ export declare class AccountingApi {
|
|
|
1529
1526
|
[name: string]: string;
|
|
1530
1527
|
};
|
|
1531
1528
|
}): Promise<{
|
|
1532
|
-
response:
|
|
1529
|
+
response: AxiosResponse;
|
|
1533
1530
|
body: PaymentServices;
|
|
1534
1531
|
}>;
|
|
1535
1532
|
/**
|
|
@@ -1542,7 +1539,7 @@ export declare class AccountingApi {
|
|
|
1542
1539
|
[name: string]: string;
|
|
1543
1540
|
};
|
|
1544
1541
|
}): Promise<{
|
|
1545
|
-
response:
|
|
1542
|
+
response: AxiosResponse;
|
|
1546
1543
|
body: BrandingThemes;
|
|
1547
1544
|
}>;
|
|
1548
1545
|
/**
|
|
@@ -1558,7 +1555,7 @@ export declare class AccountingApi {
|
|
|
1558
1555
|
[name: string]: string;
|
|
1559
1556
|
};
|
|
1560
1557
|
}): Promise<{
|
|
1561
|
-
response:
|
|
1558
|
+
response: AxiosResponse;
|
|
1562
1559
|
body: Budgets;
|
|
1563
1560
|
}>;
|
|
1564
1561
|
/**
|
|
@@ -1574,7 +1571,7 @@ export declare class AccountingApi {
|
|
|
1574
1571
|
[name: string]: string;
|
|
1575
1572
|
};
|
|
1576
1573
|
}): Promise<{
|
|
1577
|
-
response:
|
|
1574
|
+
response: AxiosResponse;
|
|
1578
1575
|
body: Budgets;
|
|
1579
1576
|
}>;
|
|
1580
1577
|
/**
|
|
@@ -1588,7 +1585,7 @@ export declare class AccountingApi {
|
|
|
1588
1585
|
[name: string]: string;
|
|
1589
1586
|
};
|
|
1590
1587
|
}): Promise<{
|
|
1591
|
-
response:
|
|
1588
|
+
response: AxiosResponse;
|
|
1592
1589
|
body: Contacts;
|
|
1593
1590
|
}>;
|
|
1594
1591
|
/**
|
|
@@ -1604,7 +1601,7 @@ export declare class AccountingApi {
|
|
|
1604
1601
|
[name: string]: string;
|
|
1605
1602
|
};
|
|
1606
1603
|
}): Promise<{
|
|
1607
|
-
response:
|
|
1604
|
+
response: AxiosResponse;
|
|
1608
1605
|
body: Buffer;
|
|
1609
1606
|
}>;
|
|
1610
1607
|
/**
|
|
@@ -1620,7 +1617,7 @@ export declare class AccountingApi {
|
|
|
1620
1617
|
[name: string]: string;
|
|
1621
1618
|
};
|
|
1622
1619
|
}): Promise<{
|
|
1623
|
-
response:
|
|
1620
|
+
response: AxiosResponse;
|
|
1624
1621
|
body: Buffer;
|
|
1625
1622
|
}>;
|
|
1626
1623
|
/**
|
|
@@ -1634,7 +1631,7 @@ export declare class AccountingApi {
|
|
|
1634
1631
|
[name: string]: string;
|
|
1635
1632
|
};
|
|
1636
1633
|
}): Promise<{
|
|
1637
|
-
response:
|
|
1634
|
+
response: AxiosResponse;
|
|
1638
1635
|
body: Attachments;
|
|
1639
1636
|
}>;
|
|
1640
1637
|
/**
|
|
@@ -1648,7 +1645,7 @@ export declare class AccountingApi {
|
|
|
1648
1645
|
[name: string]: string;
|
|
1649
1646
|
};
|
|
1650
1647
|
}): Promise<{
|
|
1651
|
-
response:
|
|
1648
|
+
response: AxiosResponse;
|
|
1652
1649
|
body: Contacts;
|
|
1653
1650
|
}>;
|
|
1654
1651
|
/**
|
|
@@ -1662,7 +1659,7 @@ export declare class AccountingApi {
|
|
|
1662
1659
|
[name: string]: string;
|
|
1663
1660
|
};
|
|
1664
1661
|
}): Promise<{
|
|
1665
|
-
response:
|
|
1662
|
+
response: AxiosResponse;
|
|
1666
1663
|
body: CISSettings;
|
|
1667
1664
|
}>;
|
|
1668
1665
|
/**
|
|
@@ -1676,7 +1673,7 @@ export declare class AccountingApi {
|
|
|
1676
1673
|
[name: string]: string;
|
|
1677
1674
|
};
|
|
1678
1675
|
}): Promise<{
|
|
1679
|
-
response:
|
|
1676
|
+
response: AxiosResponse;
|
|
1680
1677
|
body: ContactGroups;
|
|
1681
1678
|
}>;
|
|
1682
1679
|
/**
|
|
@@ -1691,7 +1688,7 @@ export declare class AccountingApi {
|
|
|
1691
1688
|
[name: string]: string;
|
|
1692
1689
|
};
|
|
1693
1690
|
}): Promise<{
|
|
1694
|
-
response:
|
|
1691
|
+
response: AxiosResponse;
|
|
1695
1692
|
body: ContactGroups;
|
|
1696
1693
|
}>;
|
|
1697
1694
|
/**
|
|
@@ -1705,7 +1702,7 @@ export declare class AccountingApi {
|
|
|
1705
1702
|
[name: string]: string;
|
|
1706
1703
|
};
|
|
1707
1704
|
}): Promise<{
|
|
1708
|
-
response:
|
|
1705
|
+
response: AxiosResponse;
|
|
1709
1706
|
body: HistoryRecords;
|
|
1710
1707
|
}>;
|
|
1711
1708
|
/**
|
|
@@ -1726,7 +1723,7 @@ export declare class AccountingApi {
|
|
|
1726
1723
|
[name: string]: string;
|
|
1727
1724
|
};
|
|
1728
1725
|
}): Promise<{
|
|
1729
|
-
response:
|
|
1726
|
+
response: AxiosResponse;
|
|
1730
1727
|
body: Contacts;
|
|
1731
1728
|
}>;
|
|
1732
1729
|
/**
|
|
@@ -1741,7 +1738,7 @@ export declare class AccountingApi {
|
|
|
1741
1738
|
[name: string]: string;
|
|
1742
1739
|
};
|
|
1743
1740
|
}): Promise<{
|
|
1744
|
-
response:
|
|
1741
|
+
response: AxiosResponse;
|
|
1745
1742
|
body: CreditNotes;
|
|
1746
1743
|
}>;
|
|
1747
1744
|
/**
|
|
@@ -1755,7 +1752,7 @@ export declare class AccountingApi {
|
|
|
1755
1752
|
[name: string]: string;
|
|
1756
1753
|
};
|
|
1757
1754
|
}): Promise<{
|
|
1758
|
-
response:
|
|
1755
|
+
response: AxiosResponse;
|
|
1759
1756
|
body: Buffer;
|
|
1760
1757
|
}>;
|
|
1761
1758
|
/**
|
|
@@ -1771,7 +1768,7 @@ export declare class AccountingApi {
|
|
|
1771
1768
|
[name: string]: string;
|
|
1772
1769
|
};
|
|
1773
1770
|
}): Promise<{
|
|
1774
|
-
response:
|
|
1771
|
+
response: AxiosResponse;
|
|
1775
1772
|
body: Buffer;
|
|
1776
1773
|
}>;
|
|
1777
1774
|
/**
|
|
@@ -1787,7 +1784,7 @@ export declare class AccountingApi {
|
|
|
1787
1784
|
[name: string]: string;
|
|
1788
1785
|
};
|
|
1789
1786
|
}): Promise<{
|
|
1790
|
-
response:
|
|
1787
|
+
response: AxiosResponse;
|
|
1791
1788
|
body: Buffer;
|
|
1792
1789
|
}>;
|
|
1793
1790
|
/**
|
|
@@ -1801,7 +1798,7 @@ export declare class AccountingApi {
|
|
|
1801
1798
|
[name: string]: string;
|
|
1802
1799
|
};
|
|
1803
1800
|
}): Promise<{
|
|
1804
|
-
response:
|
|
1801
|
+
response: AxiosResponse;
|
|
1805
1802
|
body: Attachments;
|
|
1806
1803
|
}>;
|
|
1807
1804
|
/**
|
|
@@ -1815,7 +1812,7 @@ export declare class AccountingApi {
|
|
|
1815
1812
|
[name: string]: string;
|
|
1816
1813
|
};
|
|
1817
1814
|
}): Promise<{
|
|
1818
|
-
response:
|
|
1815
|
+
response: AxiosResponse;
|
|
1819
1816
|
body: HistoryRecords;
|
|
1820
1817
|
}>;
|
|
1821
1818
|
/**
|
|
@@ -1833,7 +1830,7 @@ export declare class AccountingApi {
|
|
|
1833
1830
|
[name: string]: string;
|
|
1834
1831
|
};
|
|
1835
1832
|
}): Promise<{
|
|
1836
|
-
response:
|
|
1833
|
+
response: AxiosResponse;
|
|
1837
1834
|
body: CreditNotes;
|
|
1838
1835
|
}>;
|
|
1839
1836
|
/**
|
|
@@ -1848,7 +1845,7 @@ export declare class AccountingApi {
|
|
|
1848
1845
|
[name: string]: string;
|
|
1849
1846
|
};
|
|
1850
1847
|
}): Promise<{
|
|
1851
|
-
response:
|
|
1848
|
+
response: AxiosResponse;
|
|
1852
1849
|
body: Currencies;
|
|
1853
1850
|
}>;
|
|
1854
1851
|
/**
|
|
@@ -1862,7 +1859,7 @@ export declare class AccountingApi {
|
|
|
1862
1859
|
[name: string]: string;
|
|
1863
1860
|
};
|
|
1864
1861
|
}): Promise<{
|
|
1865
|
-
response:
|
|
1862
|
+
response: AxiosResponse;
|
|
1866
1863
|
body: Employees;
|
|
1867
1864
|
}>;
|
|
1868
1865
|
/**
|
|
@@ -1878,7 +1875,7 @@ export declare class AccountingApi {
|
|
|
1878
1875
|
[name: string]: string;
|
|
1879
1876
|
};
|
|
1880
1877
|
}): Promise<{
|
|
1881
|
-
response:
|
|
1878
|
+
response: AxiosResponse;
|
|
1882
1879
|
body: Employees;
|
|
1883
1880
|
}>;
|
|
1884
1881
|
/**
|
|
@@ -1892,7 +1889,7 @@ export declare class AccountingApi {
|
|
|
1892
1889
|
[name: string]: string;
|
|
1893
1890
|
};
|
|
1894
1891
|
}): Promise<{
|
|
1895
|
-
response:
|
|
1892
|
+
response: AxiosResponse;
|
|
1896
1893
|
body: ExpenseClaims;
|
|
1897
1894
|
}>;
|
|
1898
1895
|
/**
|
|
@@ -1906,7 +1903,7 @@ export declare class AccountingApi {
|
|
|
1906
1903
|
[name: string]: string;
|
|
1907
1904
|
};
|
|
1908
1905
|
}): Promise<{
|
|
1909
|
-
response:
|
|
1906
|
+
response: AxiosResponse;
|
|
1910
1907
|
body: HistoryRecords;
|
|
1911
1908
|
}>;
|
|
1912
1909
|
/**
|
|
@@ -1922,7 +1919,7 @@ export declare class AccountingApi {
|
|
|
1922
1919
|
[name: string]: string;
|
|
1923
1920
|
};
|
|
1924
1921
|
}): Promise<{
|
|
1925
|
-
response:
|
|
1922
|
+
response: AxiosResponse;
|
|
1926
1923
|
body: ExpenseClaims;
|
|
1927
1924
|
}>;
|
|
1928
1925
|
/**
|
|
@@ -1937,7 +1934,7 @@ export declare class AccountingApi {
|
|
|
1937
1934
|
[name: string]: string;
|
|
1938
1935
|
};
|
|
1939
1936
|
}): Promise<{
|
|
1940
|
-
response:
|
|
1937
|
+
response: AxiosResponse;
|
|
1941
1938
|
body: Invoices;
|
|
1942
1939
|
}>;
|
|
1943
1940
|
/**
|
|
@@ -1951,7 +1948,7 @@ export declare class AccountingApi {
|
|
|
1951
1948
|
[name: string]: string;
|
|
1952
1949
|
};
|
|
1953
1950
|
}): Promise<{
|
|
1954
|
-
response:
|
|
1951
|
+
response: AxiosResponse;
|
|
1955
1952
|
body: Buffer;
|
|
1956
1953
|
}>;
|
|
1957
1954
|
/**
|
|
@@ -1967,7 +1964,7 @@ export declare class AccountingApi {
|
|
|
1967
1964
|
[name: string]: string;
|
|
1968
1965
|
};
|
|
1969
1966
|
}): Promise<{
|
|
1970
|
-
response:
|
|
1967
|
+
response: AxiosResponse;
|
|
1971
1968
|
body: Buffer;
|
|
1972
1969
|
}>;
|
|
1973
1970
|
/**
|
|
@@ -1983,7 +1980,7 @@ export declare class AccountingApi {
|
|
|
1983
1980
|
[name: string]: string;
|
|
1984
1981
|
};
|
|
1985
1982
|
}): Promise<{
|
|
1986
|
-
response:
|
|
1983
|
+
response: AxiosResponse;
|
|
1987
1984
|
body: Buffer;
|
|
1988
1985
|
}>;
|
|
1989
1986
|
/**
|
|
@@ -1997,7 +1994,7 @@ export declare class AccountingApi {
|
|
|
1997
1994
|
[name: string]: string;
|
|
1998
1995
|
};
|
|
1999
1996
|
}): Promise<{
|
|
2000
|
-
response:
|
|
1997
|
+
response: AxiosResponse;
|
|
2001
1998
|
body: Attachments;
|
|
2002
1999
|
}>;
|
|
2003
2000
|
/**
|
|
@@ -2011,7 +2008,7 @@ export declare class AccountingApi {
|
|
|
2011
2008
|
[name: string]: string;
|
|
2012
2009
|
};
|
|
2013
2010
|
}): Promise<{
|
|
2014
|
-
response:
|
|
2011
|
+
response: AxiosResponse;
|
|
2015
2012
|
body: HistoryRecords;
|
|
2016
2013
|
}>;
|
|
2017
2014
|
/**
|
|
@@ -2024,7 +2021,7 @@ export declare class AccountingApi {
|
|
|
2024
2021
|
[name: string]: string;
|
|
2025
2022
|
};
|
|
2026
2023
|
}): Promise<{
|
|
2027
|
-
response:
|
|
2024
|
+
response: AxiosResponse;
|
|
2028
2025
|
body: InvoiceReminders;
|
|
2029
2026
|
}>;
|
|
2030
2027
|
/**
|
|
@@ -2049,7 +2046,7 @@ export declare class AccountingApi {
|
|
|
2049
2046
|
[name: string]: string;
|
|
2050
2047
|
};
|
|
2051
2048
|
}): Promise<{
|
|
2052
|
-
response:
|
|
2049
|
+
response: AxiosResponse;
|
|
2053
2050
|
body: Invoices;
|
|
2054
2051
|
}>;
|
|
2055
2052
|
/**
|
|
@@ -2064,7 +2061,7 @@ export declare class AccountingApi {
|
|
|
2064
2061
|
[name: string]: string;
|
|
2065
2062
|
};
|
|
2066
2063
|
}): Promise<{
|
|
2067
|
-
response:
|
|
2064
|
+
response: AxiosResponse;
|
|
2068
2065
|
body: Items;
|
|
2069
2066
|
}>;
|
|
2070
2067
|
/**
|
|
@@ -2078,7 +2075,7 @@ export declare class AccountingApi {
|
|
|
2078
2075
|
[name: string]: string;
|
|
2079
2076
|
};
|
|
2080
2077
|
}): Promise<{
|
|
2081
|
-
response:
|
|
2078
|
+
response: AxiosResponse;
|
|
2082
2079
|
body: HistoryRecords;
|
|
2083
2080
|
}>;
|
|
2084
2081
|
/**
|
|
@@ -2095,7 +2092,7 @@ export declare class AccountingApi {
|
|
|
2095
2092
|
[name: string]: string;
|
|
2096
2093
|
};
|
|
2097
2094
|
}): Promise<{
|
|
2098
|
-
response:
|
|
2095
|
+
response: AxiosResponse;
|
|
2099
2096
|
body: Items;
|
|
2100
2097
|
}>;
|
|
2101
2098
|
/**
|
|
@@ -2109,7 +2106,7 @@ export declare class AccountingApi {
|
|
|
2109
2106
|
[name: string]: string;
|
|
2110
2107
|
};
|
|
2111
2108
|
}): Promise<{
|
|
2112
|
-
response:
|
|
2109
|
+
response: AxiosResponse;
|
|
2113
2110
|
body: Journals;
|
|
2114
2111
|
}>;
|
|
2115
2112
|
/**
|
|
@@ -2123,7 +2120,7 @@ export declare class AccountingApi {
|
|
|
2123
2120
|
[name: string]: string;
|
|
2124
2121
|
};
|
|
2125
2122
|
}): Promise<{
|
|
2126
|
-
response:
|
|
2123
|
+
response: AxiosResponse;
|
|
2127
2124
|
body: Journals;
|
|
2128
2125
|
}>;
|
|
2129
2126
|
/**
|
|
@@ -2139,7 +2136,7 @@ export declare class AccountingApi {
|
|
|
2139
2136
|
[name: string]: string;
|
|
2140
2137
|
};
|
|
2141
2138
|
}): Promise<{
|
|
2142
|
-
response:
|
|
2139
|
+
response: AxiosResponse;
|
|
2143
2140
|
body: Journals;
|
|
2144
2141
|
}>;
|
|
2145
2142
|
/**
|
|
@@ -2153,7 +2150,7 @@ export declare class AccountingApi {
|
|
|
2153
2150
|
[name: string]: string;
|
|
2154
2151
|
};
|
|
2155
2152
|
}): Promise<{
|
|
2156
|
-
response:
|
|
2153
|
+
response: AxiosResponse;
|
|
2157
2154
|
body: LinkedTransactions;
|
|
2158
2155
|
}>;
|
|
2159
2156
|
/**
|
|
@@ -2172,7 +2169,7 @@ export declare class AccountingApi {
|
|
|
2172
2169
|
[name: string]: string;
|
|
2173
2170
|
};
|
|
2174
2171
|
}): Promise<{
|
|
2175
|
-
response:
|
|
2172
|
+
response: AxiosResponse;
|
|
2176
2173
|
body: LinkedTransactions;
|
|
2177
2174
|
}>;
|
|
2178
2175
|
/**
|
|
@@ -2186,7 +2183,7 @@ export declare class AccountingApi {
|
|
|
2186
2183
|
[name: string]: string;
|
|
2187
2184
|
};
|
|
2188
2185
|
}): Promise<{
|
|
2189
|
-
response:
|
|
2186
|
+
response: AxiosResponse;
|
|
2190
2187
|
body: ManualJournals;
|
|
2191
2188
|
}>;
|
|
2192
2189
|
/**
|
|
@@ -2202,7 +2199,7 @@ export declare class AccountingApi {
|
|
|
2202
2199
|
[name: string]: string;
|
|
2203
2200
|
};
|
|
2204
2201
|
}): Promise<{
|
|
2205
|
-
response:
|
|
2202
|
+
response: AxiosResponse;
|
|
2206
2203
|
body: Buffer;
|
|
2207
2204
|
}>;
|
|
2208
2205
|
/**
|
|
@@ -2218,7 +2215,7 @@ export declare class AccountingApi {
|
|
|
2218
2215
|
[name: string]: string;
|
|
2219
2216
|
};
|
|
2220
2217
|
}): Promise<{
|
|
2221
|
-
response:
|
|
2218
|
+
response: AxiosResponse;
|
|
2222
2219
|
body: Buffer;
|
|
2223
2220
|
}>;
|
|
2224
2221
|
/**
|
|
@@ -2232,7 +2229,7 @@ export declare class AccountingApi {
|
|
|
2232
2229
|
[name: string]: string;
|
|
2233
2230
|
};
|
|
2234
2231
|
}): Promise<{
|
|
2235
|
-
response:
|
|
2232
|
+
response: AxiosResponse;
|
|
2236
2233
|
body: Attachments;
|
|
2237
2234
|
}>;
|
|
2238
2235
|
/**
|
|
@@ -2249,7 +2246,7 @@ export declare class AccountingApi {
|
|
|
2249
2246
|
[name: string]: string;
|
|
2250
2247
|
};
|
|
2251
2248
|
}): Promise<{
|
|
2252
|
-
response:
|
|
2249
|
+
response: AxiosResponse;
|
|
2253
2250
|
body: ManualJournals;
|
|
2254
2251
|
}>;
|
|
2255
2252
|
/**
|
|
@@ -2263,7 +2260,7 @@ export declare class AccountingApi {
|
|
|
2263
2260
|
[name: string]: string;
|
|
2264
2261
|
};
|
|
2265
2262
|
}): Promise<{
|
|
2266
|
-
response:
|
|
2263
|
+
response: AxiosResponse;
|
|
2267
2264
|
body: HistoryRecords;
|
|
2268
2265
|
}>;
|
|
2269
2266
|
/**
|
|
@@ -2277,7 +2274,7 @@ export declare class AccountingApi {
|
|
|
2277
2274
|
[name: string]: string;
|
|
2278
2275
|
};
|
|
2279
2276
|
}): Promise<{
|
|
2280
|
-
response:
|
|
2277
|
+
response: AxiosResponse;
|
|
2281
2278
|
body: OnlineInvoices;
|
|
2282
2279
|
}>;
|
|
2283
2280
|
/**
|
|
@@ -2290,7 +2287,7 @@ export declare class AccountingApi {
|
|
|
2290
2287
|
[name: string]: string;
|
|
2291
2288
|
};
|
|
2292
2289
|
}): Promise<{
|
|
2293
|
-
response:
|
|
2290
|
+
response: AxiosResponse;
|
|
2294
2291
|
body: Actions;
|
|
2295
2292
|
}>;
|
|
2296
2293
|
/**
|
|
@@ -2304,7 +2301,7 @@ export declare class AccountingApi {
|
|
|
2304
2301
|
[name: string]: string;
|
|
2305
2302
|
};
|
|
2306
2303
|
}): Promise<{
|
|
2307
|
-
response:
|
|
2304
|
+
response: AxiosResponse;
|
|
2308
2305
|
body: CISOrgSettings;
|
|
2309
2306
|
}>;
|
|
2310
2307
|
/**
|
|
@@ -2317,7 +2314,7 @@ export declare class AccountingApi {
|
|
|
2317
2314
|
[name: string]: string;
|
|
2318
2315
|
};
|
|
2319
2316
|
}): Promise<{
|
|
2320
|
-
response:
|
|
2317
|
+
response: AxiosResponse;
|
|
2321
2318
|
body: Organisations;
|
|
2322
2319
|
}>;
|
|
2323
2320
|
/**
|
|
@@ -2331,7 +2328,7 @@ export declare class AccountingApi {
|
|
|
2331
2328
|
[name: string]: string;
|
|
2332
2329
|
};
|
|
2333
2330
|
}): Promise<{
|
|
2334
|
-
response:
|
|
2331
|
+
response: AxiosResponse;
|
|
2335
2332
|
body: Overpayments;
|
|
2336
2333
|
}>;
|
|
2337
2334
|
/**
|
|
@@ -2345,7 +2342,7 @@ export declare class AccountingApi {
|
|
|
2345
2342
|
[name: string]: string;
|
|
2346
2343
|
};
|
|
2347
2344
|
}): Promise<{
|
|
2348
|
-
response:
|
|
2345
|
+
response: AxiosResponse;
|
|
2349
2346
|
body: HistoryRecords;
|
|
2350
2347
|
}>;
|
|
2351
2348
|
/**
|
|
@@ -2363,7 +2360,7 @@ export declare class AccountingApi {
|
|
|
2363
2360
|
[name: string]: string;
|
|
2364
2361
|
};
|
|
2365
2362
|
}): Promise<{
|
|
2366
|
-
response:
|
|
2363
|
+
response: AxiosResponse;
|
|
2367
2364
|
body: Overpayments;
|
|
2368
2365
|
}>;
|
|
2369
2366
|
/**
|
|
@@ -2377,7 +2374,7 @@ export declare class AccountingApi {
|
|
|
2377
2374
|
[name: string]: string;
|
|
2378
2375
|
};
|
|
2379
2376
|
}): Promise<{
|
|
2380
|
-
response:
|
|
2377
|
+
response: AxiosResponse;
|
|
2381
2378
|
body: Payments;
|
|
2382
2379
|
}>;
|
|
2383
2380
|
/**
|
|
@@ -2391,7 +2388,7 @@ export declare class AccountingApi {
|
|
|
2391
2388
|
[name: string]: string;
|
|
2392
2389
|
};
|
|
2393
2390
|
}): Promise<{
|
|
2394
|
-
response:
|
|
2391
|
+
response: AxiosResponse;
|
|
2395
2392
|
body: HistoryRecords;
|
|
2396
2393
|
}>;
|
|
2397
2394
|
/**
|
|
@@ -2404,7 +2401,7 @@ export declare class AccountingApi {
|
|
|
2404
2401
|
[name: string]: string;
|
|
2405
2402
|
};
|
|
2406
2403
|
}): Promise<{
|
|
2407
|
-
response:
|
|
2404
|
+
response: AxiosResponse;
|
|
2408
2405
|
body: PaymentServices;
|
|
2409
2406
|
}>;
|
|
2410
2407
|
/**
|
|
@@ -2421,7 +2418,7 @@ export declare class AccountingApi {
|
|
|
2421
2418
|
[name: string]: string;
|
|
2422
2419
|
};
|
|
2423
2420
|
}): Promise<{
|
|
2424
|
-
response:
|
|
2421
|
+
response: AxiosResponse;
|
|
2425
2422
|
body: Payments;
|
|
2426
2423
|
}>;
|
|
2427
2424
|
/**
|
|
@@ -2435,7 +2432,7 @@ export declare class AccountingApi {
|
|
|
2435
2432
|
[name: string]: string;
|
|
2436
2433
|
};
|
|
2437
2434
|
}): Promise<{
|
|
2438
|
-
response:
|
|
2435
|
+
response: AxiosResponse;
|
|
2439
2436
|
body: Prepayments;
|
|
2440
2437
|
}>;
|
|
2441
2438
|
/**
|
|
@@ -2449,7 +2446,7 @@ export declare class AccountingApi {
|
|
|
2449
2446
|
[name: string]: string;
|
|
2450
2447
|
};
|
|
2451
2448
|
}): Promise<{
|
|
2452
|
-
response:
|
|
2449
|
+
response: AxiosResponse;
|
|
2453
2450
|
body: HistoryRecords;
|
|
2454
2451
|
}>;
|
|
2455
2452
|
/**
|
|
@@ -2467,7 +2464,7 @@ export declare class AccountingApi {
|
|
|
2467
2464
|
[name: string]: string;
|
|
2468
2465
|
};
|
|
2469
2466
|
}): Promise<{
|
|
2470
|
-
response:
|
|
2467
|
+
response: AxiosResponse;
|
|
2471
2468
|
body: Prepayments;
|
|
2472
2469
|
}>;
|
|
2473
2470
|
/**
|
|
@@ -2481,7 +2478,7 @@ export declare class AccountingApi {
|
|
|
2481
2478
|
[name: string]: string;
|
|
2482
2479
|
};
|
|
2483
2480
|
}): Promise<{
|
|
2484
|
-
response:
|
|
2481
|
+
response: AxiosResponse;
|
|
2485
2482
|
body: PurchaseOrders;
|
|
2486
2483
|
}>;
|
|
2487
2484
|
/**
|
|
@@ -2495,7 +2492,7 @@ export declare class AccountingApi {
|
|
|
2495
2492
|
[name: string]: string;
|
|
2496
2493
|
};
|
|
2497
2494
|
}): Promise<{
|
|
2498
|
-
response:
|
|
2495
|
+
response: AxiosResponse;
|
|
2499
2496
|
body: Buffer;
|
|
2500
2497
|
}>;
|
|
2501
2498
|
/**
|
|
@@ -2511,7 +2508,7 @@ export declare class AccountingApi {
|
|
|
2511
2508
|
[name: string]: string;
|
|
2512
2509
|
};
|
|
2513
2510
|
}): Promise<{
|
|
2514
|
-
response:
|
|
2511
|
+
response: AxiosResponse;
|
|
2515
2512
|
body: Buffer;
|
|
2516
2513
|
}>;
|
|
2517
2514
|
/**
|
|
@@ -2527,7 +2524,7 @@ export declare class AccountingApi {
|
|
|
2527
2524
|
[name: string]: string;
|
|
2528
2525
|
};
|
|
2529
2526
|
}): Promise<{
|
|
2530
|
-
response:
|
|
2527
|
+
response: AxiosResponse;
|
|
2531
2528
|
body: Buffer;
|
|
2532
2529
|
}>;
|
|
2533
2530
|
/**
|
|
@@ -2541,7 +2538,7 @@ export declare class AccountingApi {
|
|
|
2541
2538
|
[name: string]: string;
|
|
2542
2539
|
};
|
|
2543
2540
|
}): Promise<{
|
|
2544
|
-
response:
|
|
2541
|
+
response: AxiosResponse;
|
|
2545
2542
|
body: Attachments;
|
|
2546
2543
|
}>;
|
|
2547
2544
|
/**
|
|
@@ -2555,7 +2552,7 @@ export declare class AccountingApi {
|
|
|
2555
2552
|
[name: string]: string;
|
|
2556
2553
|
};
|
|
2557
2554
|
}): Promise<{
|
|
2558
|
-
response:
|
|
2555
|
+
response: AxiosResponse;
|
|
2559
2556
|
body: PurchaseOrders;
|
|
2560
2557
|
}>;
|
|
2561
2558
|
/**
|
|
@@ -2569,7 +2566,7 @@ export declare class AccountingApi {
|
|
|
2569
2566
|
[name: string]: string;
|
|
2570
2567
|
};
|
|
2571
2568
|
}): Promise<{
|
|
2572
|
-
response:
|
|
2569
|
+
response: AxiosResponse;
|
|
2573
2570
|
body: HistoryRecords;
|
|
2574
2571
|
}>;
|
|
2575
2572
|
/**
|
|
@@ -2588,7 +2585,7 @@ export declare class AccountingApi {
|
|
|
2588
2585
|
[name: string]: string;
|
|
2589
2586
|
};
|
|
2590
2587
|
}): Promise<{
|
|
2591
|
-
response:
|
|
2588
|
+
response: AxiosResponse;
|
|
2592
2589
|
body: PurchaseOrders;
|
|
2593
2590
|
}>;
|
|
2594
2591
|
/**
|
|
@@ -2602,7 +2599,7 @@ export declare class AccountingApi {
|
|
|
2602
2599
|
[name: string]: string;
|
|
2603
2600
|
};
|
|
2604
2601
|
}): Promise<{
|
|
2605
|
-
response:
|
|
2602
|
+
response: AxiosResponse;
|
|
2606
2603
|
body: Quotes;
|
|
2607
2604
|
}>;
|
|
2608
2605
|
/**
|
|
@@ -2616,7 +2613,7 @@ export declare class AccountingApi {
|
|
|
2616
2613
|
[name: string]: string;
|
|
2617
2614
|
};
|
|
2618
2615
|
}): Promise<{
|
|
2619
|
-
response:
|
|
2616
|
+
response: AxiosResponse;
|
|
2620
2617
|
body: Buffer;
|
|
2621
2618
|
}>;
|
|
2622
2619
|
/**
|
|
@@ -2632,7 +2629,7 @@ export declare class AccountingApi {
|
|
|
2632
2629
|
[name: string]: string;
|
|
2633
2630
|
};
|
|
2634
2631
|
}): Promise<{
|
|
2635
|
-
response:
|
|
2632
|
+
response: AxiosResponse;
|
|
2636
2633
|
body: Buffer;
|
|
2637
2634
|
}>;
|
|
2638
2635
|
/**
|
|
@@ -2648,7 +2645,7 @@ export declare class AccountingApi {
|
|
|
2648
2645
|
[name: string]: string;
|
|
2649
2646
|
};
|
|
2650
2647
|
}): Promise<{
|
|
2651
|
-
response:
|
|
2648
|
+
response: AxiosResponse;
|
|
2652
2649
|
body: Buffer;
|
|
2653
2650
|
}>;
|
|
2654
2651
|
/**
|
|
@@ -2662,7 +2659,7 @@ export declare class AccountingApi {
|
|
|
2662
2659
|
[name: string]: string;
|
|
2663
2660
|
};
|
|
2664
2661
|
}): Promise<{
|
|
2665
|
-
response:
|
|
2662
|
+
response: AxiosResponse;
|
|
2666
2663
|
body: Attachments;
|
|
2667
2664
|
}>;
|
|
2668
2665
|
/**
|
|
@@ -2676,7 +2673,7 @@ export declare class AccountingApi {
|
|
|
2676
2673
|
[name: string]: string;
|
|
2677
2674
|
};
|
|
2678
2675
|
}): Promise<{
|
|
2679
|
-
response:
|
|
2676
|
+
response: AxiosResponse;
|
|
2680
2677
|
body: HistoryRecords;
|
|
2681
2678
|
}>;
|
|
2682
2679
|
/**
|
|
@@ -2699,7 +2696,7 @@ export declare class AccountingApi {
|
|
|
2699
2696
|
[name: string]: string;
|
|
2700
2697
|
};
|
|
2701
2698
|
}): Promise<{
|
|
2702
|
-
response:
|
|
2699
|
+
response: AxiosResponse;
|
|
2703
2700
|
body: Quotes;
|
|
2704
2701
|
}>;
|
|
2705
2702
|
/**
|
|
@@ -2714,7 +2711,7 @@ export declare class AccountingApi {
|
|
|
2714
2711
|
[name: string]: string;
|
|
2715
2712
|
};
|
|
2716
2713
|
}): Promise<{
|
|
2717
|
-
response:
|
|
2714
|
+
response: AxiosResponse;
|
|
2718
2715
|
body: Receipts;
|
|
2719
2716
|
}>;
|
|
2720
2717
|
/**
|
|
@@ -2730,7 +2727,7 @@ export declare class AccountingApi {
|
|
|
2730
2727
|
[name: string]: string;
|
|
2731
2728
|
};
|
|
2732
2729
|
}): Promise<{
|
|
2733
|
-
response:
|
|
2730
|
+
response: AxiosResponse;
|
|
2734
2731
|
body: Buffer;
|
|
2735
2732
|
}>;
|
|
2736
2733
|
/**
|
|
@@ -2746,7 +2743,7 @@ export declare class AccountingApi {
|
|
|
2746
2743
|
[name: string]: string;
|
|
2747
2744
|
};
|
|
2748
2745
|
}): Promise<{
|
|
2749
|
-
response:
|
|
2746
|
+
response: AxiosResponse;
|
|
2750
2747
|
body: Buffer;
|
|
2751
2748
|
}>;
|
|
2752
2749
|
/**
|
|
@@ -2760,7 +2757,7 @@ export declare class AccountingApi {
|
|
|
2760
2757
|
[name: string]: string;
|
|
2761
2758
|
};
|
|
2762
2759
|
}): Promise<{
|
|
2763
|
-
response:
|
|
2760
|
+
response: AxiosResponse;
|
|
2764
2761
|
body: Attachments;
|
|
2765
2762
|
}>;
|
|
2766
2763
|
/**
|
|
@@ -2774,7 +2771,7 @@ export declare class AccountingApi {
|
|
|
2774
2771
|
[name: string]: string;
|
|
2775
2772
|
};
|
|
2776
2773
|
}): Promise<{
|
|
2777
|
-
response:
|
|
2774
|
+
response: AxiosResponse;
|
|
2778
2775
|
body: HistoryRecords;
|
|
2779
2776
|
}>;
|
|
2780
2777
|
/**
|
|
@@ -2791,7 +2788,7 @@ export declare class AccountingApi {
|
|
|
2791
2788
|
[name: string]: string;
|
|
2792
2789
|
};
|
|
2793
2790
|
}): Promise<{
|
|
2794
|
-
response:
|
|
2791
|
+
response: AxiosResponse;
|
|
2795
2792
|
body: Receipts;
|
|
2796
2793
|
}>;
|
|
2797
2794
|
/**
|
|
@@ -2805,7 +2802,7 @@ export declare class AccountingApi {
|
|
|
2805
2802
|
[name: string]: string;
|
|
2806
2803
|
};
|
|
2807
2804
|
}): Promise<{
|
|
2808
|
-
response:
|
|
2805
|
+
response: AxiosResponse;
|
|
2809
2806
|
body: RepeatingInvoices;
|
|
2810
2807
|
}>;
|
|
2811
2808
|
/**
|
|
@@ -2821,7 +2818,7 @@ export declare class AccountingApi {
|
|
|
2821
2818
|
[name: string]: string;
|
|
2822
2819
|
};
|
|
2823
2820
|
}): Promise<{
|
|
2824
|
-
response:
|
|
2821
|
+
response: AxiosResponse;
|
|
2825
2822
|
body: Buffer;
|
|
2826
2823
|
}>;
|
|
2827
2824
|
/**
|
|
@@ -2837,7 +2834,7 @@ export declare class AccountingApi {
|
|
|
2837
2834
|
[name: string]: string;
|
|
2838
2835
|
};
|
|
2839
2836
|
}): Promise<{
|
|
2840
|
-
response:
|
|
2837
|
+
response: AxiosResponse;
|
|
2841
2838
|
body: Buffer;
|
|
2842
2839
|
}>;
|
|
2843
2840
|
/**
|
|
@@ -2851,7 +2848,7 @@ export declare class AccountingApi {
|
|
|
2851
2848
|
[name: string]: string;
|
|
2852
2849
|
};
|
|
2853
2850
|
}): Promise<{
|
|
2854
|
-
response:
|
|
2851
|
+
response: AxiosResponse;
|
|
2855
2852
|
body: Attachments;
|
|
2856
2853
|
}>;
|
|
2857
2854
|
/**
|
|
@@ -2865,7 +2862,7 @@ export declare class AccountingApi {
|
|
|
2865
2862
|
[name: string]: string;
|
|
2866
2863
|
};
|
|
2867
2864
|
}): Promise<{
|
|
2868
|
-
response:
|
|
2865
|
+
response: AxiosResponse;
|
|
2869
2866
|
body: HistoryRecords;
|
|
2870
2867
|
}>;
|
|
2871
2868
|
/**
|
|
@@ -2880,7 +2877,7 @@ export declare class AccountingApi {
|
|
|
2880
2877
|
[name: string]: string;
|
|
2881
2878
|
};
|
|
2882
2879
|
}): Promise<{
|
|
2883
|
-
response:
|
|
2880
|
+
response: AxiosResponse;
|
|
2884
2881
|
body: RepeatingInvoices;
|
|
2885
2882
|
}>;
|
|
2886
2883
|
/**
|
|
@@ -2897,7 +2894,7 @@ export declare class AccountingApi {
|
|
|
2897
2894
|
[name: string]: string;
|
|
2898
2895
|
};
|
|
2899
2896
|
}): Promise<{
|
|
2900
|
-
response:
|
|
2897
|
+
response: AxiosResponse;
|
|
2901
2898
|
body: ReportWithRows;
|
|
2902
2899
|
}>;
|
|
2903
2900
|
/**
|
|
@@ -2914,7 +2911,7 @@ export declare class AccountingApi {
|
|
|
2914
2911
|
[name: string]: string;
|
|
2915
2912
|
};
|
|
2916
2913
|
}): Promise<{
|
|
2917
|
-
response:
|
|
2914
|
+
response: AxiosResponse;
|
|
2918
2915
|
body: ReportWithRows;
|
|
2919
2916
|
}>;
|
|
2920
2917
|
/**
|
|
@@ -2934,7 +2931,7 @@ export declare class AccountingApi {
|
|
|
2934
2931
|
[name: string]: string;
|
|
2935
2932
|
};
|
|
2936
2933
|
}): Promise<{
|
|
2937
|
-
response:
|
|
2934
|
+
response: AxiosResponse;
|
|
2938
2935
|
body: ReportWithRows;
|
|
2939
2936
|
}>;
|
|
2940
2937
|
/**
|
|
@@ -2949,7 +2946,7 @@ export declare class AccountingApi {
|
|
|
2949
2946
|
[name: string]: string;
|
|
2950
2947
|
};
|
|
2951
2948
|
}): Promise<{
|
|
2952
|
-
response:
|
|
2949
|
+
response: AxiosResponse;
|
|
2953
2950
|
body: ReportWithRows;
|
|
2954
2951
|
}>;
|
|
2955
2952
|
/**
|
|
@@ -2965,7 +2962,7 @@ export declare class AccountingApi {
|
|
|
2965
2962
|
[name: string]: string;
|
|
2966
2963
|
};
|
|
2967
2964
|
}): Promise<{
|
|
2968
|
-
response:
|
|
2965
|
+
response: AxiosResponse;
|
|
2969
2966
|
body: ReportWithRows;
|
|
2970
2967
|
}>;
|
|
2971
2968
|
/**
|
|
@@ -2979,7 +2976,7 @@ export declare class AccountingApi {
|
|
|
2979
2976
|
[name: string]: string;
|
|
2980
2977
|
};
|
|
2981
2978
|
}): Promise<{
|
|
2982
|
-
response:
|
|
2979
|
+
response: AxiosResponse;
|
|
2983
2980
|
body: ReportWithRows;
|
|
2984
2981
|
}>;
|
|
2985
2982
|
/**
|
|
@@ -2993,7 +2990,7 @@ export declare class AccountingApi {
|
|
|
2993
2990
|
[name: string]: string;
|
|
2994
2991
|
};
|
|
2995
2992
|
}): Promise<{
|
|
2996
|
-
response:
|
|
2993
|
+
response: AxiosResponse;
|
|
2997
2994
|
body: ReportWithRows;
|
|
2998
2995
|
}>;
|
|
2999
2996
|
/**
|
|
@@ -3016,7 +3013,7 @@ export declare class AccountingApi {
|
|
|
3016
3013
|
[name: string]: string;
|
|
3017
3014
|
};
|
|
3018
3015
|
}): Promise<{
|
|
3019
|
-
response:
|
|
3016
|
+
response: AxiosResponse;
|
|
3020
3017
|
body: ReportWithRows;
|
|
3021
3018
|
}>;
|
|
3022
3019
|
/**
|
|
@@ -3030,7 +3027,7 @@ export declare class AccountingApi {
|
|
|
3030
3027
|
[name: string]: string;
|
|
3031
3028
|
};
|
|
3032
3029
|
}): Promise<{
|
|
3033
|
-
response:
|
|
3030
|
+
response: AxiosResponse;
|
|
3034
3031
|
body: Reports;
|
|
3035
3032
|
}>;
|
|
3036
3033
|
/**
|
|
@@ -3045,7 +3042,7 @@ export declare class AccountingApi {
|
|
|
3045
3042
|
[name: string]: string;
|
|
3046
3043
|
};
|
|
3047
3044
|
}): Promise<{
|
|
3048
|
-
response:
|
|
3045
|
+
response: AxiosResponse;
|
|
3049
3046
|
body: ReportWithRows;
|
|
3050
3047
|
}>;
|
|
3051
3048
|
/**
|
|
@@ -3058,7 +3055,7 @@ export declare class AccountingApi {
|
|
|
3058
3055
|
[name: string]: string;
|
|
3059
3056
|
};
|
|
3060
3057
|
}): Promise<{
|
|
3061
|
-
response:
|
|
3058
|
+
response: AxiosResponse;
|
|
3062
3059
|
body: ReportWithRows;
|
|
3063
3060
|
}>;
|
|
3064
3061
|
/**
|
|
@@ -3074,7 +3071,7 @@ export declare class AccountingApi {
|
|
|
3074
3071
|
[name: string]: string;
|
|
3075
3072
|
};
|
|
3076
3073
|
}): Promise<{
|
|
3077
|
-
response:
|
|
3074
|
+
response: AxiosResponse;
|
|
3078
3075
|
body: TaxRates;
|
|
3079
3076
|
}>;
|
|
3080
3077
|
/**
|
|
@@ -3090,7 +3087,7 @@ export declare class AccountingApi {
|
|
|
3090
3087
|
[name: string]: string;
|
|
3091
3088
|
};
|
|
3092
3089
|
}): Promise<{
|
|
3093
|
-
response:
|
|
3090
|
+
response: AxiosResponse;
|
|
3094
3091
|
body: TrackingCategories;
|
|
3095
3092
|
}>;
|
|
3096
3093
|
/**
|
|
@@ -3104,7 +3101,7 @@ export declare class AccountingApi {
|
|
|
3104
3101
|
[name: string]: string;
|
|
3105
3102
|
};
|
|
3106
3103
|
}): Promise<{
|
|
3107
|
-
response:
|
|
3104
|
+
response: AxiosResponse;
|
|
3108
3105
|
body: TrackingCategories;
|
|
3109
3106
|
}>;
|
|
3110
3107
|
/**
|
|
@@ -3118,7 +3115,7 @@ export declare class AccountingApi {
|
|
|
3118
3115
|
[name: string]: string;
|
|
3119
3116
|
};
|
|
3120
3117
|
}): Promise<{
|
|
3121
|
-
response:
|
|
3118
|
+
response: AxiosResponse;
|
|
3122
3119
|
body: Users;
|
|
3123
3120
|
}>;
|
|
3124
3121
|
/**
|
|
@@ -3134,7 +3131,7 @@ export declare class AccountingApi {
|
|
|
3134
3131
|
[name: string]: string;
|
|
3135
3132
|
};
|
|
3136
3133
|
}): Promise<{
|
|
3137
|
-
response:
|
|
3134
|
+
response: AxiosResponse;
|
|
3138
3135
|
body: Users;
|
|
3139
3136
|
}>;
|
|
3140
3137
|
/**
|
|
@@ -3149,7 +3146,7 @@ export declare class AccountingApi {
|
|
|
3149
3146
|
[name: string]: string;
|
|
3150
3147
|
};
|
|
3151
3148
|
}): Promise<{
|
|
3152
|
-
response:
|
|
3149
|
+
response: AxiosResponse;
|
|
3153
3150
|
body: ImportSummaryObject;
|
|
3154
3151
|
}>;
|
|
3155
3152
|
/**
|
|
@@ -3165,7 +3162,7 @@ export declare class AccountingApi {
|
|
|
3165
3162
|
[name: string]: string;
|
|
3166
3163
|
};
|
|
3167
3164
|
}): Promise<{
|
|
3168
|
-
response:
|
|
3165
|
+
response: AxiosResponse;
|
|
3169
3166
|
body: Accounts;
|
|
3170
3167
|
}>;
|
|
3171
3168
|
/**
|
|
@@ -3182,7 +3179,7 @@ export declare class AccountingApi {
|
|
|
3182
3179
|
[name: string]: string;
|
|
3183
3180
|
};
|
|
3184
3181
|
}): Promise<{
|
|
3185
|
-
response:
|
|
3182
|
+
response: AxiosResponse;
|
|
3186
3183
|
body: Attachments;
|
|
3187
3184
|
}>;
|
|
3188
3185
|
/**
|
|
@@ -3191,15 +3188,15 @@ export declare class AccountingApi {
|
|
|
3191
3188
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3192
3189
|
* @param bankTransactionID Xero generated unique identifier for a bank transaction
|
|
3193
3190
|
* @param bankTransactions
|
|
3194
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3195
3191
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
3192
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3196
3193
|
*/
|
|
3197
|
-
updateBankTransaction(xeroTenantId: string, bankTransactionID: string, bankTransactions: BankTransactions,
|
|
3194
|
+
updateBankTransaction(xeroTenantId: string, bankTransactionID: string, bankTransactions: BankTransactions, unitdp?: number, idempotencyKey?: string, options?: {
|
|
3198
3195
|
headers: {
|
|
3199
3196
|
[name: string]: string;
|
|
3200
3197
|
};
|
|
3201
3198
|
}): Promise<{
|
|
3202
|
-
response:
|
|
3199
|
+
response: AxiosResponse;
|
|
3203
3200
|
body: BankTransactions;
|
|
3204
3201
|
}>;
|
|
3205
3202
|
/**
|
|
@@ -3216,7 +3213,7 @@ export declare class AccountingApi {
|
|
|
3216
3213
|
[name: string]: string;
|
|
3217
3214
|
};
|
|
3218
3215
|
}): Promise<{
|
|
3219
|
-
response:
|
|
3216
|
+
response: AxiosResponse;
|
|
3220
3217
|
body: Attachments;
|
|
3221
3218
|
}>;
|
|
3222
3219
|
/**
|
|
@@ -3232,7 +3229,7 @@ export declare class AccountingApi {
|
|
|
3232
3229
|
[name: string]: string;
|
|
3233
3230
|
};
|
|
3234
3231
|
}): Promise<{
|
|
3235
|
-
response:
|
|
3232
|
+
response: AxiosResponse;
|
|
3236
3233
|
body: Attachments;
|
|
3237
3234
|
}>;
|
|
3238
3235
|
/**
|
|
@@ -3248,7 +3245,7 @@ export declare class AccountingApi {
|
|
|
3248
3245
|
[name: string]: string;
|
|
3249
3246
|
};
|
|
3250
3247
|
}): Promise<{
|
|
3251
|
-
response:
|
|
3248
|
+
response: AxiosResponse;
|
|
3252
3249
|
body: Contacts;
|
|
3253
3250
|
}>;
|
|
3254
3251
|
/**
|
|
@@ -3264,7 +3261,7 @@ export declare class AccountingApi {
|
|
|
3264
3261
|
[name: string]: string;
|
|
3265
3262
|
};
|
|
3266
3263
|
}): Promise<{
|
|
3267
|
-
response:
|
|
3264
|
+
response: AxiosResponse;
|
|
3268
3265
|
body: Attachments;
|
|
3269
3266
|
}>;
|
|
3270
3267
|
/**
|
|
@@ -3280,7 +3277,7 @@ export declare class AccountingApi {
|
|
|
3280
3277
|
[name: string]: string;
|
|
3281
3278
|
};
|
|
3282
3279
|
}): Promise<{
|
|
3283
|
-
response:
|
|
3280
|
+
response: AxiosResponse;
|
|
3284
3281
|
body: ContactGroups;
|
|
3285
3282
|
}>;
|
|
3286
3283
|
/**
|
|
@@ -3289,15 +3286,15 @@ export declare class AccountingApi {
|
|
|
3289
3286
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3290
3287
|
* @param creditNoteID Unique identifier for a Credit Note
|
|
3291
3288
|
* @param creditNotes an array of Credit Notes containing credit note details to update
|
|
3292
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3293
3289
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
3290
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3294
3291
|
*/
|
|
3295
|
-
updateCreditNote(xeroTenantId: string, creditNoteID: string, creditNotes: CreditNotes,
|
|
3292
|
+
updateCreditNote(xeroTenantId: string, creditNoteID: string, creditNotes: CreditNotes, unitdp?: number, idempotencyKey?: string, options?: {
|
|
3296
3293
|
headers: {
|
|
3297
3294
|
[name: string]: string;
|
|
3298
3295
|
};
|
|
3299
3296
|
}): Promise<{
|
|
3300
|
-
response:
|
|
3297
|
+
response: AxiosResponse;
|
|
3301
3298
|
body: CreditNotes;
|
|
3302
3299
|
}>;
|
|
3303
3300
|
/**
|
|
@@ -3314,7 +3311,7 @@ export declare class AccountingApi {
|
|
|
3314
3311
|
[name: string]: string;
|
|
3315
3312
|
};
|
|
3316
3313
|
}): Promise<{
|
|
3317
|
-
response:
|
|
3314
|
+
response: AxiosResponse;
|
|
3318
3315
|
body: Attachments;
|
|
3319
3316
|
}>;
|
|
3320
3317
|
/**
|
|
@@ -3330,7 +3327,7 @@ export declare class AccountingApi {
|
|
|
3330
3327
|
[name: string]: string;
|
|
3331
3328
|
};
|
|
3332
3329
|
}): Promise<{
|
|
3333
|
-
response:
|
|
3330
|
+
response: AxiosResponse;
|
|
3334
3331
|
body: ExpenseClaims;
|
|
3335
3332
|
}>;
|
|
3336
3333
|
/**
|
|
@@ -3339,15 +3336,15 @@ export declare class AccountingApi {
|
|
|
3339
3336
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3340
3337
|
* @param invoiceID Unique identifier for an Invoice
|
|
3341
3338
|
* @param invoices
|
|
3342
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3343
3339
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
3340
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3344
3341
|
*/
|
|
3345
|
-
updateInvoice(xeroTenantId: string, invoiceID: string, invoices: Invoices,
|
|
3342
|
+
updateInvoice(xeroTenantId: string, invoiceID: string, invoices: Invoices, unitdp?: number, idempotencyKey?: string, options?: {
|
|
3346
3343
|
headers: {
|
|
3347
3344
|
[name: string]: string;
|
|
3348
3345
|
};
|
|
3349
3346
|
}): Promise<{
|
|
3350
|
-
response:
|
|
3347
|
+
response: AxiosResponse;
|
|
3351
3348
|
body: Invoices;
|
|
3352
3349
|
}>;
|
|
3353
3350
|
/**
|
|
@@ -3364,7 +3361,7 @@ export declare class AccountingApi {
|
|
|
3364
3361
|
[name: string]: string;
|
|
3365
3362
|
};
|
|
3366
3363
|
}): Promise<{
|
|
3367
|
-
response:
|
|
3364
|
+
response: AxiosResponse;
|
|
3368
3365
|
body: Attachments;
|
|
3369
3366
|
}>;
|
|
3370
3367
|
/**
|
|
@@ -3373,15 +3370,15 @@ export declare class AccountingApi {
|
|
|
3373
3370
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3374
3371
|
* @param itemID Unique identifier for an Item
|
|
3375
3372
|
* @param items
|
|
3376
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3377
3373
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
3374
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3378
3375
|
*/
|
|
3379
|
-
updateItem(xeroTenantId: string, itemID: string, items: Items,
|
|
3376
|
+
updateItem(xeroTenantId: string, itemID: string, items: Items, unitdp?: number, idempotencyKey?: string, options?: {
|
|
3380
3377
|
headers: {
|
|
3381
3378
|
[name: string]: string;
|
|
3382
3379
|
};
|
|
3383
3380
|
}): Promise<{
|
|
3384
|
-
response:
|
|
3381
|
+
response: AxiosResponse;
|
|
3385
3382
|
body: Items;
|
|
3386
3383
|
}>;
|
|
3387
3384
|
/**
|
|
@@ -3397,7 +3394,7 @@ export declare class AccountingApi {
|
|
|
3397
3394
|
[name: string]: string;
|
|
3398
3395
|
};
|
|
3399
3396
|
}): Promise<{
|
|
3400
|
-
response:
|
|
3397
|
+
response: AxiosResponse;
|
|
3401
3398
|
body: LinkedTransactions;
|
|
3402
3399
|
}>;
|
|
3403
3400
|
/**
|
|
@@ -3413,7 +3410,7 @@ export declare class AccountingApi {
|
|
|
3413
3410
|
[name: string]: string;
|
|
3414
3411
|
};
|
|
3415
3412
|
}): Promise<{
|
|
3416
|
-
response:
|
|
3413
|
+
response: AxiosResponse;
|
|
3417
3414
|
body: ManualJournals;
|
|
3418
3415
|
}>;
|
|
3419
3416
|
/**
|
|
@@ -3430,7 +3427,7 @@ export declare class AccountingApi {
|
|
|
3430
3427
|
[name: string]: string;
|
|
3431
3428
|
};
|
|
3432
3429
|
}): Promise<{
|
|
3433
|
-
response:
|
|
3430
|
+
response: AxiosResponse;
|
|
3434
3431
|
body: Attachments;
|
|
3435
3432
|
}>;
|
|
3436
3433
|
/**
|
|
@@ -3438,16 +3435,16 @@ export declare class AccountingApi {
|
|
|
3438
3435
|
* @summary Updates or creates one or more spent or received money transaction
|
|
3439
3436
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3440
3437
|
* @param bankTransactions
|
|
3441
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3442
3438
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
3443
3439
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
3440
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3444
3441
|
*/
|
|
3445
|
-
updateOrCreateBankTransactions(xeroTenantId: string, bankTransactions: BankTransactions,
|
|
3442
|
+
updateOrCreateBankTransactions(xeroTenantId: string, bankTransactions: BankTransactions, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
|
|
3446
3443
|
headers: {
|
|
3447
3444
|
[name: string]: string;
|
|
3448
3445
|
};
|
|
3449
3446
|
}): Promise<{
|
|
3450
|
-
response:
|
|
3447
|
+
response: AxiosResponse;
|
|
3451
3448
|
body: BankTransactions;
|
|
3452
3449
|
}>;
|
|
3453
3450
|
/**
|
|
@@ -3455,15 +3452,15 @@ export declare class AccountingApi {
|
|
|
3455
3452
|
* @summary Updates or creates one or more contacts in a Xero organisation
|
|
3456
3453
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3457
3454
|
* @param contacts
|
|
3458
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3459
3455
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
3456
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3460
3457
|
*/
|
|
3461
|
-
updateOrCreateContacts(xeroTenantId: string, contacts: Contacts,
|
|
3458
|
+
updateOrCreateContacts(xeroTenantId: string, contacts: Contacts, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
3462
3459
|
headers: {
|
|
3463
3460
|
[name: string]: string;
|
|
3464
3461
|
};
|
|
3465
3462
|
}): Promise<{
|
|
3466
|
-
response:
|
|
3463
|
+
response: AxiosResponse;
|
|
3467
3464
|
body: Contacts;
|
|
3468
3465
|
}>;
|
|
3469
3466
|
/**
|
|
@@ -3471,16 +3468,16 @@ export declare class AccountingApi {
|
|
|
3471
3468
|
* @summary Updates or creates one or more credit notes
|
|
3472
3469
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3473
3470
|
* @param creditNotes an array of Credit Notes with a single CreditNote object.
|
|
3474
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3475
3471
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
3476
3472
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
3473
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3477
3474
|
*/
|
|
3478
|
-
updateOrCreateCreditNotes(xeroTenantId: string, creditNotes: CreditNotes,
|
|
3475
|
+
updateOrCreateCreditNotes(xeroTenantId: string, creditNotes: CreditNotes, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
|
|
3479
3476
|
headers: {
|
|
3480
3477
|
[name: string]: string;
|
|
3481
3478
|
};
|
|
3482
3479
|
}): Promise<{
|
|
3483
|
-
response:
|
|
3480
|
+
response: AxiosResponse;
|
|
3484
3481
|
body: CreditNotes;
|
|
3485
3482
|
}>;
|
|
3486
3483
|
/**
|
|
@@ -3488,15 +3485,15 @@ export declare class AccountingApi {
|
|
|
3488
3485
|
* @summary Creates a single new employees used in Xero payrun
|
|
3489
3486
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3490
3487
|
* @param employees Employees with array of Employee object in body of request
|
|
3491
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3492
3488
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
3489
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3493
3490
|
*/
|
|
3494
|
-
updateOrCreateEmployees(xeroTenantId: string, employees: Employees,
|
|
3491
|
+
updateOrCreateEmployees(xeroTenantId: string, employees: Employees, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
3495
3492
|
headers: {
|
|
3496
3493
|
[name: string]: string;
|
|
3497
3494
|
};
|
|
3498
3495
|
}): Promise<{
|
|
3499
|
-
response:
|
|
3496
|
+
response: AxiosResponse;
|
|
3500
3497
|
body: Employees;
|
|
3501
3498
|
}>;
|
|
3502
3499
|
/**
|
|
@@ -3504,16 +3501,16 @@ export declare class AccountingApi {
|
|
|
3504
3501
|
* @summary Updates or creates one or more sales invoices or purchase bills
|
|
3505
3502
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3506
3503
|
* @param invoices
|
|
3507
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3508
3504
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
3509
3505
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
3506
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3510
3507
|
*/
|
|
3511
|
-
updateOrCreateInvoices(xeroTenantId: string, invoices: Invoices,
|
|
3508
|
+
updateOrCreateInvoices(xeroTenantId: string, invoices: Invoices, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
|
|
3512
3509
|
headers: {
|
|
3513
3510
|
[name: string]: string;
|
|
3514
3511
|
};
|
|
3515
3512
|
}): Promise<{
|
|
3516
|
-
response:
|
|
3513
|
+
response: AxiosResponse;
|
|
3517
3514
|
body: Invoices;
|
|
3518
3515
|
}>;
|
|
3519
3516
|
/**
|
|
@@ -3521,16 +3518,16 @@ export declare class AccountingApi {
|
|
|
3521
3518
|
* @summary Updates or creates one or more items
|
|
3522
3519
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3523
3520
|
* @param items
|
|
3524
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3525
3521
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
3526
3522
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
3523
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3527
3524
|
*/
|
|
3528
|
-
updateOrCreateItems(xeroTenantId: string, items: Items,
|
|
3525
|
+
updateOrCreateItems(xeroTenantId: string, items: Items, summarizeErrors?: boolean, unitdp?: number, idempotencyKey?: string, options?: {
|
|
3529
3526
|
headers: {
|
|
3530
3527
|
[name: string]: string;
|
|
3531
3528
|
};
|
|
3532
3529
|
}): Promise<{
|
|
3533
|
-
response:
|
|
3530
|
+
response: AxiosResponse;
|
|
3534
3531
|
body: Items;
|
|
3535
3532
|
}>;
|
|
3536
3533
|
/**
|
|
@@ -3538,15 +3535,15 @@ export declare class AccountingApi {
|
|
|
3538
3535
|
* @summary Updates or creates a single manual journal
|
|
3539
3536
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3540
3537
|
* @param manualJournals ManualJournals array with ManualJournal object in body of request
|
|
3541
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3542
3538
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
3539
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3543
3540
|
*/
|
|
3544
|
-
updateOrCreateManualJournals(xeroTenantId: string, manualJournals: ManualJournals,
|
|
3541
|
+
updateOrCreateManualJournals(xeroTenantId: string, manualJournals: ManualJournals, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
3545
3542
|
headers: {
|
|
3546
3543
|
[name: string]: string;
|
|
3547
3544
|
};
|
|
3548
3545
|
}): Promise<{
|
|
3549
|
-
response:
|
|
3546
|
+
response: AxiosResponse;
|
|
3550
3547
|
body: ManualJournals;
|
|
3551
3548
|
}>;
|
|
3552
3549
|
/**
|
|
@@ -3554,15 +3551,15 @@ export declare class AccountingApi {
|
|
|
3554
3551
|
* @summary Updates or creates one or more purchase orders
|
|
3555
3552
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3556
3553
|
* @param purchaseOrders
|
|
3557
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3558
3554
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
3555
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3559
3556
|
*/
|
|
3560
|
-
updateOrCreatePurchaseOrders(xeroTenantId: string, purchaseOrders: PurchaseOrders,
|
|
3557
|
+
updateOrCreatePurchaseOrders(xeroTenantId: string, purchaseOrders: PurchaseOrders, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
3561
3558
|
headers: {
|
|
3562
3559
|
[name: string]: string;
|
|
3563
3560
|
};
|
|
3564
3561
|
}): Promise<{
|
|
3565
|
-
response:
|
|
3562
|
+
response: AxiosResponse;
|
|
3566
3563
|
body: PurchaseOrders;
|
|
3567
3564
|
}>;
|
|
3568
3565
|
/**
|
|
@@ -3570,15 +3567,15 @@ export declare class AccountingApi {
|
|
|
3570
3567
|
* @summary Updates or creates one or more quotes
|
|
3571
3568
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3572
3569
|
* @param quotes
|
|
3573
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3574
3570
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
3571
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3575
3572
|
*/
|
|
3576
|
-
updateOrCreateQuotes(xeroTenantId: string, quotes: Quotes,
|
|
3573
|
+
updateOrCreateQuotes(xeroTenantId: string, quotes: Quotes, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
3577
3574
|
headers: {
|
|
3578
3575
|
[name: string]: string;
|
|
3579
3576
|
};
|
|
3580
3577
|
}): Promise<{
|
|
3581
|
-
response:
|
|
3578
|
+
response: AxiosResponse;
|
|
3582
3579
|
body: Quotes;
|
|
3583
3580
|
}>;
|
|
3584
3581
|
/**
|
|
@@ -3586,15 +3583,15 @@ export declare class AccountingApi {
|
|
|
3586
3583
|
* @summary Creates or deletes one or more repeating invoice templates
|
|
3587
3584
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3588
3585
|
* @param repeatingInvoices RepeatingInvoices with an array of repeating invoice objects in body of request
|
|
3589
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3590
3586
|
* @param summarizeErrors If false return 200 OK and mix of successfully created objects and any with validation errors
|
|
3587
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3591
3588
|
*/
|
|
3592
|
-
updateOrCreateRepeatingInvoices(xeroTenantId: string, repeatingInvoices: RepeatingInvoices,
|
|
3589
|
+
updateOrCreateRepeatingInvoices(xeroTenantId: string, repeatingInvoices: RepeatingInvoices, summarizeErrors?: boolean, idempotencyKey?: string, options?: {
|
|
3593
3590
|
headers: {
|
|
3594
3591
|
[name: string]: string;
|
|
3595
3592
|
};
|
|
3596
3593
|
}): Promise<{
|
|
3597
|
-
response:
|
|
3594
|
+
response: AxiosResponse;
|
|
3598
3595
|
body: RepeatingInvoices;
|
|
3599
3596
|
}>;
|
|
3600
3597
|
/**
|
|
@@ -3610,7 +3607,7 @@ export declare class AccountingApi {
|
|
|
3610
3607
|
[name: string]: string;
|
|
3611
3608
|
};
|
|
3612
3609
|
}): Promise<{
|
|
3613
|
-
response:
|
|
3610
|
+
response: AxiosResponse;
|
|
3614
3611
|
body: PurchaseOrders;
|
|
3615
3612
|
}>;
|
|
3616
3613
|
/**
|
|
@@ -3627,7 +3624,7 @@ export declare class AccountingApi {
|
|
|
3627
3624
|
[name: string]: string;
|
|
3628
3625
|
};
|
|
3629
3626
|
}): Promise<{
|
|
3630
|
-
response:
|
|
3627
|
+
response: AxiosResponse;
|
|
3631
3628
|
body: Attachments;
|
|
3632
3629
|
}>;
|
|
3633
3630
|
/**
|
|
@@ -3643,7 +3640,7 @@ export declare class AccountingApi {
|
|
|
3643
3640
|
[name: string]: string;
|
|
3644
3641
|
};
|
|
3645
3642
|
}): Promise<{
|
|
3646
|
-
response:
|
|
3643
|
+
response: AxiosResponse;
|
|
3647
3644
|
body: Quotes;
|
|
3648
3645
|
}>;
|
|
3649
3646
|
/**
|
|
@@ -3660,7 +3657,7 @@ export declare class AccountingApi {
|
|
|
3660
3657
|
[name: string]: string;
|
|
3661
3658
|
};
|
|
3662
3659
|
}): Promise<{
|
|
3663
|
-
response:
|
|
3660
|
+
response: AxiosResponse;
|
|
3664
3661
|
body: Attachments;
|
|
3665
3662
|
}>;
|
|
3666
3663
|
/**
|
|
@@ -3669,15 +3666,15 @@ export declare class AccountingApi {
|
|
|
3669
3666
|
* @param xeroTenantId Xero identifier for Tenant
|
|
3670
3667
|
* @param receiptID Unique identifier for a Receipt
|
|
3671
3668
|
* @param receipts
|
|
3672
|
-
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3673
3669
|
* @param unitdp e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
|
|
3670
|
+
* @param idempotencyKey This allows you to safely retry requests without the risk of duplicate processing. 128 character max.
|
|
3674
3671
|
*/
|
|
3675
|
-
updateReceipt(xeroTenantId: string, receiptID: string, receipts: Receipts,
|
|
3672
|
+
updateReceipt(xeroTenantId: string, receiptID: string, receipts: Receipts, unitdp?: number, idempotencyKey?: string, options?: {
|
|
3676
3673
|
headers: {
|
|
3677
3674
|
[name: string]: string;
|
|
3678
3675
|
};
|
|
3679
3676
|
}): Promise<{
|
|
3680
|
-
response:
|
|
3677
|
+
response: AxiosResponse;
|
|
3681
3678
|
body: Receipts;
|
|
3682
3679
|
}>;
|
|
3683
3680
|
/**
|
|
@@ -3694,7 +3691,7 @@ export declare class AccountingApi {
|
|
|
3694
3691
|
[name: string]: string;
|
|
3695
3692
|
};
|
|
3696
3693
|
}): Promise<{
|
|
3697
|
-
response:
|
|
3694
|
+
response: AxiosResponse;
|
|
3698
3695
|
body: Attachments;
|
|
3699
3696
|
}>;
|
|
3700
3697
|
/**
|
|
@@ -3710,7 +3707,7 @@ export declare class AccountingApi {
|
|
|
3710
3707
|
[name: string]: string;
|
|
3711
3708
|
};
|
|
3712
3709
|
}): Promise<{
|
|
3713
|
-
response:
|
|
3710
|
+
response: AxiosResponse;
|
|
3714
3711
|
body: RepeatingInvoices;
|
|
3715
3712
|
}>;
|
|
3716
3713
|
/**
|
|
@@ -3727,7 +3724,7 @@ export declare class AccountingApi {
|
|
|
3727
3724
|
[name: string]: string;
|
|
3728
3725
|
};
|
|
3729
3726
|
}): Promise<{
|
|
3730
|
-
response:
|
|
3727
|
+
response: AxiosResponse;
|
|
3731
3728
|
body: Attachments;
|
|
3732
3729
|
}>;
|
|
3733
3730
|
/**
|
|
@@ -3742,7 +3739,7 @@ export declare class AccountingApi {
|
|
|
3742
3739
|
[name: string]: string;
|
|
3743
3740
|
};
|
|
3744
3741
|
}): Promise<{
|
|
3745
|
-
response:
|
|
3742
|
+
response: AxiosResponse;
|
|
3746
3743
|
body: TaxRates;
|
|
3747
3744
|
}>;
|
|
3748
3745
|
/**
|
|
@@ -3758,7 +3755,7 @@ export declare class AccountingApi {
|
|
|
3758
3755
|
[name: string]: string;
|
|
3759
3756
|
};
|
|
3760
3757
|
}): Promise<{
|
|
3761
|
-
response:
|
|
3758
|
+
response: AxiosResponse;
|
|
3762
3759
|
body: TrackingCategories;
|
|
3763
3760
|
}>;
|
|
3764
3761
|
/**
|
|
@@ -3775,7 +3772,7 @@ export declare class AccountingApi {
|
|
|
3775
3772
|
[name: string]: string;
|
|
3776
3773
|
};
|
|
3777
3774
|
}): Promise<{
|
|
3778
|
-
response:
|
|
3775
|
+
response: AxiosResponse;
|
|
3779
3776
|
body: TrackingOptions;
|
|
3780
3777
|
}>;
|
|
3781
3778
|
}
|