tuix-projects-service-client 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/VERSION +1 -1
- package/apis/ClientApi.js +254 -240
- package/apis/ClientApi.js.map +1 -1
- package/apis/ClientApi.ts +281 -267
- package/docs/ClientApi.md +255 -255
- package/package.json +1 -1
- package/runtime.js +62 -1
- package/runtime.js.map +1 -1
- package/runtime.ts +69 -2
package/apis/ClientApi.ts
CHANGED
|
@@ -291,7 +291,7 @@ import {
|
|
|
291
291
|
|
|
292
292
|
export interface ActivateEmployeeRequest {
|
|
293
293
|
/**
|
|
294
|
-
* User ID
|
|
294
|
+
* User ID of the employee
|
|
295
295
|
*/
|
|
296
296
|
userId: string;
|
|
297
297
|
/**
|
|
@@ -317,7 +317,7 @@ export interface ApiUpdateTimesheetEntryRequest {
|
|
|
317
317
|
*/
|
|
318
318
|
timesheetId: string;
|
|
319
319
|
/**
|
|
320
|
-
*
|
|
320
|
+
* Timesheet entry ID (one day of the timesheet)
|
|
321
321
|
*/
|
|
322
322
|
entryId: string;
|
|
323
323
|
/**
|
|
@@ -332,7 +332,7 @@ export interface ApproveAdjustedTimesheetRequest {
|
|
|
332
332
|
*/
|
|
333
333
|
projectId: string;
|
|
334
334
|
/**
|
|
335
|
-
*
|
|
335
|
+
* Adjusted timesheet ID
|
|
336
336
|
*/
|
|
337
337
|
timesheetId: string;
|
|
338
338
|
}
|
|
@@ -343,7 +343,7 @@ export interface ApproveGlobalTimesheetRequest {
|
|
|
343
343
|
*/
|
|
344
344
|
projectId: string;
|
|
345
345
|
/**
|
|
346
|
-
*
|
|
346
|
+
* Global timesheet ID
|
|
347
347
|
*/
|
|
348
348
|
timesheetId: string;
|
|
349
349
|
}
|
|
@@ -375,7 +375,7 @@ export interface CreateCompanyRequest {
|
|
|
375
375
|
|
|
376
376
|
export interface CreateEmployeeInvoiceRequest {
|
|
377
377
|
/**
|
|
378
|
-
* User ID
|
|
378
|
+
* User ID of the employee
|
|
379
379
|
*/
|
|
380
380
|
userId: string;
|
|
381
381
|
/**
|
|
@@ -400,7 +400,7 @@ export interface CreateHolidayRequest {
|
|
|
400
400
|
|
|
401
401
|
export interface CreateHolidayForEmployeeRequest {
|
|
402
402
|
/**
|
|
403
|
-
* User ID
|
|
403
|
+
* User ID of the employee
|
|
404
404
|
*/
|
|
405
405
|
userId: string;
|
|
406
406
|
/**
|
|
@@ -453,14 +453,14 @@ export interface DeleteCompanyRequest {
|
|
|
453
453
|
|
|
454
454
|
export interface DeleteEmployeeRequest {
|
|
455
455
|
/**
|
|
456
|
-
* User ID
|
|
456
|
+
* User ID of the employee
|
|
457
457
|
*/
|
|
458
458
|
userId: string;
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
export interface DeleteEmployeeInvoiceRequest {
|
|
462
462
|
/**
|
|
463
|
-
* User ID
|
|
463
|
+
* User ID of the employee
|
|
464
464
|
*/
|
|
465
465
|
userId: string;
|
|
466
466
|
/**
|
|
@@ -478,7 +478,7 @@ export interface DeleteHolidayRequest {
|
|
|
478
478
|
|
|
479
479
|
export interface DeleteHolidayForEmployeeRequest {
|
|
480
480
|
/**
|
|
481
|
-
* User ID
|
|
481
|
+
* User ID of the employee
|
|
482
482
|
*/
|
|
483
483
|
userId: string;
|
|
484
484
|
/**
|
|
@@ -507,7 +507,7 @@ export interface DownloadAdjustedTimesheetPdfRequest {
|
|
|
507
507
|
*/
|
|
508
508
|
projectId: string;
|
|
509
509
|
/**
|
|
510
|
-
*
|
|
510
|
+
* Adjusted timesheet ID
|
|
511
511
|
*/
|
|
512
512
|
timesheetId: string;
|
|
513
513
|
}
|
|
@@ -525,7 +525,7 @@ export interface DownloadClientInvoicePdfRequest {
|
|
|
525
525
|
|
|
526
526
|
export interface DownloadEmployeeInvoicePdfRequest {
|
|
527
527
|
/**
|
|
528
|
-
* User ID
|
|
528
|
+
* User ID of the employee
|
|
529
529
|
*/
|
|
530
530
|
userId: string;
|
|
531
531
|
/**
|
|
@@ -540,7 +540,7 @@ export interface DownloadGlobalTimesheetPdfRequest {
|
|
|
540
540
|
*/
|
|
541
541
|
projectId: string;
|
|
542
542
|
/**
|
|
543
|
-
*
|
|
543
|
+
* Global timesheet ID
|
|
544
544
|
*/
|
|
545
545
|
timesheetId: string;
|
|
546
546
|
}
|
|
@@ -562,7 +562,7 @@ export interface GetAdjustedTimesheetRequest {
|
|
|
562
562
|
*/
|
|
563
563
|
projectId: string;
|
|
564
564
|
/**
|
|
565
|
-
*
|
|
565
|
+
* Adjusted timesheet ID
|
|
566
566
|
*/
|
|
567
567
|
timesheetId: string;
|
|
568
568
|
}
|
|
@@ -629,7 +629,7 @@ export interface GetClientsRequest {
|
|
|
629
629
|
|
|
630
630
|
export interface GetCommitsByUserIDRequest {
|
|
631
631
|
/**
|
|
632
|
-
* User ID
|
|
632
|
+
* User ID of the employee
|
|
633
633
|
*/
|
|
634
634
|
userId: string;
|
|
635
635
|
/**
|
|
@@ -641,7 +641,7 @@ export interface GetCommitsByUserIDRequest {
|
|
|
641
641
|
*/
|
|
642
642
|
to: Date;
|
|
643
643
|
/**
|
|
644
|
-
* Group by period (day
|
|
644
|
+
* Group commit counts by period (default: day)
|
|
645
645
|
*/
|
|
646
646
|
groupBy?: GetCommitsByUserIDGroupByEnum;
|
|
647
647
|
}
|
|
@@ -662,14 +662,14 @@ export interface GetCompanyRequest {
|
|
|
662
662
|
|
|
663
663
|
export interface GetEmployeeRequest {
|
|
664
664
|
/**
|
|
665
|
-
* User ID
|
|
665
|
+
* User ID of the employee
|
|
666
666
|
*/
|
|
667
667
|
userId: string;
|
|
668
668
|
}
|
|
669
669
|
|
|
670
670
|
export interface GetEmployeeInvoicesRequest {
|
|
671
671
|
/**
|
|
672
|
-
* User ID
|
|
672
|
+
* User ID of the employee
|
|
673
673
|
*/
|
|
674
674
|
userId: string;
|
|
675
675
|
/**
|
|
@@ -730,7 +730,7 @@ export interface GetGlobalTimesheetRequest {
|
|
|
730
730
|
*/
|
|
731
731
|
projectId: string;
|
|
732
732
|
/**
|
|
733
|
-
*
|
|
733
|
+
* Global timesheet ID
|
|
734
734
|
*/
|
|
735
735
|
timesheetId: string;
|
|
736
736
|
}
|
|
@@ -771,7 +771,7 @@ export interface GetHolidaysRequest {
|
|
|
771
771
|
|
|
772
772
|
export interface GetHolidaysByEmployeeRequest {
|
|
773
773
|
/**
|
|
774
|
-
* User ID
|
|
774
|
+
* User ID of the employee
|
|
775
775
|
*/
|
|
776
776
|
userId: string;
|
|
777
777
|
/**
|
|
@@ -798,7 +798,7 @@ export interface GetMyCommitsRequest {
|
|
|
798
798
|
*/
|
|
799
799
|
to: Date;
|
|
800
800
|
/**
|
|
801
|
-
* Group by period (day
|
|
801
|
+
* Group commit counts by period (default: day)
|
|
802
802
|
*/
|
|
803
803
|
groupBy?: GetMyCommitsGroupByEnum;
|
|
804
804
|
}
|
|
@@ -927,7 +927,7 @@ export interface InviteEmployeeRequest {
|
|
|
927
927
|
|
|
928
928
|
export interface MarkEmployeeInvoiceAsPaidRequest {
|
|
929
929
|
/**
|
|
930
|
-
*
|
|
930
|
+
* User ID of the employee
|
|
931
931
|
*/
|
|
932
932
|
userId: string;
|
|
933
933
|
/**
|
|
@@ -990,11 +990,11 @@ export interface UpdateAdjustedEntryRequest {
|
|
|
990
990
|
*/
|
|
991
991
|
projectId: string;
|
|
992
992
|
/**
|
|
993
|
-
*
|
|
993
|
+
* Adjusted timesheet ID
|
|
994
994
|
*/
|
|
995
995
|
timesheetId: string;
|
|
996
996
|
/**
|
|
997
|
-
*
|
|
997
|
+
* Adjusted timesheet entry ID
|
|
998
998
|
*/
|
|
999
999
|
entryId: string;
|
|
1000
1000
|
/**
|
|
@@ -1027,7 +1027,7 @@ export interface UpdateCompanyRequest {
|
|
|
1027
1027
|
|
|
1028
1028
|
export interface UpdateEmployeeDataRequest {
|
|
1029
1029
|
/**
|
|
1030
|
-
* User ID
|
|
1030
|
+
* User ID of the employee
|
|
1031
1031
|
*/
|
|
1032
1032
|
userId: string;
|
|
1033
1033
|
/**
|
|
@@ -1042,11 +1042,11 @@ export interface UpdateGlobalTimesheetEntryRequest {
|
|
|
1042
1042
|
*/
|
|
1043
1043
|
projectId: string;
|
|
1044
1044
|
/**
|
|
1045
|
-
*
|
|
1045
|
+
* Global timesheet ID
|
|
1046
1046
|
*/
|
|
1047
1047
|
timesheetId: string;
|
|
1048
1048
|
/**
|
|
1049
|
-
*
|
|
1049
|
+
* Global timesheet entry ID
|
|
1050
1050
|
*/
|
|
1051
1051
|
entryId: string;
|
|
1052
1052
|
/**
|
|
@@ -1094,7 +1094,7 @@ export interface UpdateTimesheetEntryRequest {
|
|
|
1094
1094
|
*/
|
|
1095
1095
|
timesheetId: string;
|
|
1096
1096
|
/**
|
|
1097
|
-
*
|
|
1097
|
+
* Timesheet entry ID (one day of the timesheet)
|
|
1098
1098
|
*/
|
|
1099
1099
|
entryId: string;
|
|
1100
1100
|
/**
|
|
@@ -1150,7 +1150,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
|
|
1152
1152
|
/**
|
|
1153
|
-
* Activate an employee
|
|
1153
|
+
* Activate an invited employee by linking it to its Auth0 user. Internal endpoint.
|
|
1154
1154
|
* Activate an employee
|
|
1155
1155
|
*/
|
|
1156
1156
|
async activateEmployeeRaw(requestParameters: ActivateEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -1161,7 +1161,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
|
|
1163
1163
|
/**
|
|
1164
|
-
* Activate an employee
|
|
1164
|
+
* Activate an invited employee by linking it to its Auth0 user. Internal endpoint.
|
|
1165
1165
|
* Activate an employee
|
|
1166
1166
|
*/
|
|
1167
1167
|
async activateEmployee(requestParameters: ActivateEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -1202,8 +1202,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1202
1202
|
}
|
|
1203
1203
|
|
|
1204
1204
|
/**
|
|
1205
|
-
*
|
|
1206
|
-
* Add Jira account
|
|
1205
|
+
* Link a Jira account to the current user.
|
|
1206
|
+
* Add a Jira account
|
|
1207
1207
|
*/
|
|
1208
1208
|
async addJiraAccountRaw(requestParameters: AddJiraAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JiraAccountDTO>> {
|
|
1209
1209
|
const requestOptions = await this.addJiraAccountRequestOpts(requestParameters);
|
|
@@ -1213,8 +1213,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
|
|
1215
1215
|
/**
|
|
1216
|
-
*
|
|
1217
|
-
* Add Jira account
|
|
1216
|
+
* Link a Jira account to the current user.
|
|
1217
|
+
* Add a Jira account
|
|
1218
1218
|
*/
|
|
1219
1219
|
async addJiraAccount(requestParameters: AddJiraAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JiraAccountDTO> {
|
|
1220
1220
|
const response = await this.addJiraAccountRaw(requestParameters, initOverrides);
|
|
@@ -1279,7 +1279,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1279
1279
|
}
|
|
1280
1280
|
|
|
1281
1281
|
/**
|
|
1282
|
-
* Update a timesheet
|
|
1282
|
+
* Update or change the hours of a day in an employee timesheet. Only possible while the timesheet is OPEN. Internal endpoint.
|
|
1283
1283
|
* Update a timesheet entry
|
|
1284
1284
|
*/
|
|
1285
1285
|
async apiUpdateTimesheetEntryRaw(requestParameters: ApiUpdateTimesheetEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -1290,7 +1290,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1290
1290
|
}
|
|
1291
1291
|
|
|
1292
1292
|
/**
|
|
1293
|
-
* Update a timesheet
|
|
1293
|
+
* Update or change the hours of a day in an employee timesheet. Only possible while the timesheet is OPEN. Internal endpoint.
|
|
1294
1294
|
* Update a timesheet entry
|
|
1295
1295
|
*/
|
|
1296
1296
|
async apiUpdateTimesheetEntry(requestParameters: ApiUpdateTimesheetEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -1337,8 +1337,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
|
|
1339
1339
|
/**
|
|
1340
|
-
* Approve an
|
|
1341
|
-
* Approve an
|
|
1340
|
+
* Approve an OPEN adjusted timesheet. When all adjusted timesheets of the project for that month are approved, the monthly global timesheet is created automatically.
|
|
1341
|
+
* Approve an adjusted timesheet
|
|
1342
1342
|
*/
|
|
1343
1343
|
async approveAdjustedTimesheetRaw(requestParameters: ApproveAdjustedTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1344
1344
|
const requestOptions = await this.approveAdjustedTimesheetRequestOpts(requestParameters);
|
|
@@ -1348,8 +1348,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
|
|
1350
1350
|
/**
|
|
1351
|
-
* Approve an
|
|
1352
|
-
* Approve an
|
|
1351
|
+
* Approve an OPEN adjusted timesheet. When all adjusted timesheets of the project for that month are approved, the monthly global timesheet is created automatically.
|
|
1352
|
+
* Approve an adjusted timesheet
|
|
1353
1353
|
*/
|
|
1354
1354
|
async approveAdjustedTimesheet(requestParameters: ApproveAdjustedTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1355
1355
|
await this.approveAdjustedTimesheetRaw(requestParameters, initOverrides);
|
|
@@ -1395,7 +1395,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1395
1395
|
}
|
|
1396
1396
|
|
|
1397
1397
|
/**
|
|
1398
|
-
* Approve
|
|
1398
|
+
* Approve an OPEN global timesheet. This creates the client invoice automatically.
|
|
1399
1399
|
* Approve a global timesheet
|
|
1400
1400
|
*/
|
|
1401
1401
|
async approveGlobalTimesheetRaw(requestParameters: ApproveGlobalTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -1406,7 +1406,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1406
1406
|
}
|
|
1407
1407
|
|
|
1408
1408
|
/**
|
|
1409
|
-
* Approve
|
|
1409
|
+
* Approve an OPEN global timesheet. This creates the client invoice automatically.
|
|
1410
1410
|
* Approve a global timesheet
|
|
1411
1411
|
*/
|
|
1412
1412
|
async approveGlobalTimesheet(requestParameters: ApproveGlobalTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -1453,7 +1453,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1453
1453
|
}
|
|
1454
1454
|
|
|
1455
1455
|
/**
|
|
1456
|
-
* Approve a timesheet
|
|
1456
|
+
* Approve a SENT timesheet. This creates its adjusted timesheet automatically.
|
|
1457
1457
|
* Approve a timesheet
|
|
1458
1458
|
*/
|
|
1459
1459
|
async approveTimesheetRaw(requestParameters: ApproveTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -1464,7 +1464,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
|
|
1466
1466
|
/**
|
|
1467
|
-
* Approve a timesheet
|
|
1467
|
+
* Approve a SENT timesheet. This creates its adjusted timesheet automatically.
|
|
1468
1468
|
* Approve a timesheet
|
|
1469
1469
|
*/
|
|
1470
1470
|
async approveTimesheet(requestParameters: ApproveTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -1505,7 +1505,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1505
1505
|
}
|
|
1506
1506
|
|
|
1507
1507
|
/**
|
|
1508
|
-
* Create client
|
|
1508
|
+
* Create a client (customer).
|
|
1509
|
+
* Create a client
|
|
1509
1510
|
*/
|
|
1510
1511
|
async createClientRaw(requestParameters: CreateClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClientDTO>> {
|
|
1511
1512
|
const requestOptions = await this.createClientRequestOpts(requestParameters);
|
|
@@ -1515,7 +1516,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1515
1516
|
}
|
|
1516
1517
|
|
|
1517
1518
|
/**
|
|
1518
|
-
* Create client
|
|
1519
|
+
* Create a client (customer).
|
|
1520
|
+
* Create a client
|
|
1519
1521
|
*/
|
|
1520
1522
|
async createClient(requestParameters: CreateClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClientDTO> {
|
|
1521
1523
|
const response = await this.createClientRaw(requestParameters, initOverrides);
|
|
@@ -1556,8 +1558,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1556
1558
|
}
|
|
1557
1559
|
|
|
1558
1560
|
/**
|
|
1561
|
+
* Create a company and make the current user its admin.
|
|
1559
1562
|
* Create a company
|
|
1560
|
-
* Creates a new company
|
|
1561
1563
|
*/
|
|
1562
1564
|
async createCompanyRaw(requestParameters: CreateCompanyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompanyDTO>> {
|
|
1563
1565
|
const requestOptions = await this.createCompanyRequestOpts(requestParameters);
|
|
@@ -1567,8 +1569,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1567
1569
|
}
|
|
1568
1570
|
|
|
1569
1571
|
/**
|
|
1572
|
+
* Create a company and make the current user its admin.
|
|
1570
1573
|
* Create a company
|
|
1571
|
-
* Creates a new company
|
|
1572
1574
|
*/
|
|
1573
1575
|
async createCompany(requestParameters: CreateCompanyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompanyDTO> {
|
|
1574
1576
|
const response = await this.createCompanyRaw(requestParameters, initOverrides);
|
|
@@ -1617,7 +1619,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1617
1619
|
}
|
|
1618
1620
|
|
|
1619
1621
|
/**
|
|
1620
|
-
* Create an employee
|
|
1622
|
+
* Create a monthly payment invoice for an employee.
|
|
1621
1623
|
* Create an employee invoice
|
|
1622
1624
|
*/
|
|
1623
1625
|
async createEmployeeInvoiceRaw(requestParameters: CreateEmployeeInvoiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EmployeeInvoiceDTO>> {
|
|
@@ -1628,7 +1630,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1628
1630
|
}
|
|
1629
1631
|
|
|
1630
1632
|
/**
|
|
1631
|
-
* Create an employee
|
|
1633
|
+
* Create a monthly payment invoice for an employee.
|
|
1632
1634
|
* Create an employee invoice
|
|
1633
1635
|
*/
|
|
1634
1636
|
async createEmployeeInvoice(requestParameters: CreateEmployeeInvoiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmployeeInvoiceDTO> {
|
|
@@ -1670,8 +1672,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1670
1672
|
}
|
|
1671
1673
|
|
|
1672
1674
|
/**
|
|
1673
|
-
*
|
|
1674
|
-
* Create GitHub user
|
|
1675
|
+
* Link a GitHub account to the current user.
|
|
1676
|
+
* Create a GitHub user
|
|
1675
1677
|
*/
|
|
1676
1678
|
async createGithubUserRaw(requestParameters: CreateGithubUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClientGithubUserDTO>> {
|
|
1677
1679
|
const requestOptions = await this.createGithubUserRequestOpts(requestParameters);
|
|
@@ -1681,8 +1683,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1681
1683
|
}
|
|
1682
1684
|
|
|
1683
1685
|
/**
|
|
1684
|
-
*
|
|
1685
|
-
* Create GitHub user
|
|
1686
|
+
* Link a GitHub account to the current user.
|
|
1687
|
+
* Create a GitHub user
|
|
1686
1688
|
*/
|
|
1687
1689
|
async createGithubUser(requestParameters: CreateGithubUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClientGithubUserDTO> {
|
|
1688
1690
|
const response = await this.createGithubUserRaw(requestParameters, initOverrides);
|
|
@@ -1723,7 +1725,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1723
1725
|
}
|
|
1724
1726
|
|
|
1725
1727
|
/**
|
|
1726
|
-
*
|
|
1728
|
+
* Create (book) a holiday or day off for the current user. The date must be at least 14 days in the future.
|
|
1729
|
+
* Create a holiday
|
|
1727
1730
|
*/
|
|
1728
1731
|
async createHolidayRaw(requestParameters: CreateHolidayRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<HolidayDTO>> {
|
|
1729
1732
|
const requestOptions = await this.createHolidayRequestOpts(requestParameters);
|
|
@@ -1733,7 +1736,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1733
1736
|
}
|
|
1734
1737
|
|
|
1735
1738
|
/**
|
|
1736
|
-
*
|
|
1739
|
+
* Create (book) a holiday or day off for the current user. The date must be at least 14 days in the future.
|
|
1740
|
+
* Create a holiday
|
|
1737
1741
|
*/
|
|
1738
1742
|
async createHoliday(requestParameters: CreateHolidayRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<HolidayDTO> {
|
|
1739
1743
|
const response = await this.createHolidayRaw(requestParameters, initOverrides);
|
|
@@ -1782,7 +1786,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1782
1786
|
}
|
|
1783
1787
|
|
|
1784
1788
|
/**
|
|
1785
|
-
*
|
|
1789
|
+
* Create (book) a holiday or day off for an employee, without the 14-day minimum notice. Admin only.
|
|
1790
|
+
* Create a holiday for an employee
|
|
1786
1791
|
*/
|
|
1787
1792
|
async createHolidayForEmployeeRaw(requestParameters: CreateHolidayForEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<HolidayDTO>> {
|
|
1788
1793
|
const requestOptions = await this.createHolidayForEmployeeRequestOpts(requestParameters);
|
|
@@ -1792,7 +1797,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1792
1797
|
}
|
|
1793
1798
|
|
|
1794
1799
|
/**
|
|
1795
|
-
*
|
|
1800
|
+
* Create (book) a holiday or day off for an employee, without the 14-day minimum notice. Admin only.
|
|
1801
|
+
* Create a holiday for an employee
|
|
1796
1802
|
*/
|
|
1797
1803
|
async createHolidayForEmployee(requestParameters: CreateHolidayForEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<HolidayDTO> {
|
|
1798
1804
|
const response = await this.createHolidayForEmployeeRaw(requestParameters, initOverrides);
|
|
@@ -1833,8 +1839,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1833
1839
|
}
|
|
1834
1840
|
|
|
1835
1841
|
/**
|
|
1836
|
-
* Create a
|
|
1837
|
-
* Create Jira user
|
|
1842
|
+
* Create a Jira user for the current user.
|
|
1843
|
+
* Create a Jira user
|
|
1838
1844
|
*/
|
|
1839
1845
|
async createJiraUserRaw(requestParameters: CreateJiraUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClientJiraUserDTO>> {
|
|
1840
1846
|
const requestOptions = await this.createJiraUserRequestOpts(requestParameters);
|
|
@@ -1844,8 +1850,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1844
1850
|
}
|
|
1845
1851
|
|
|
1846
1852
|
/**
|
|
1847
|
-
* Create a
|
|
1848
|
-
* Create Jira user
|
|
1853
|
+
* Create a Jira user for the current user.
|
|
1854
|
+
* Create a Jira user
|
|
1849
1855
|
*/
|
|
1850
1856
|
async createJiraUser(requestParameters: CreateJiraUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClientJiraUserDTO> {
|
|
1851
1857
|
const response = await this.createJiraUserRaw(requestParameters, initOverrides);
|
|
@@ -1886,8 +1892,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1886
1892
|
}
|
|
1887
1893
|
|
|
1888
1894
|
/**
|
|
1895
|
+
* Create a project for a client.
|
|
1889
1896
|
* Create a project
|
|
1890
|
-
* Creates a new project
|
|
1891
1897
|
*/
|
|
1892
1898
|
async createProjectRaw(requestParameters: CreateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>> {
|
|
1893
1899
|
const requestOptions = await this.createProjectRequestOpts(requestParameters);
|
|
@@ -1897,8 +1903,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1897
1903
|
}
|
|
1898
1904
|
|
|
1899
1905
|
/**
|
|
1906
|
+
* Create a project for a client.
|
|
1900
1907
|
* Create a project
|
|
1901
|
-
* Creates a new project
|
|
1902
1908
|
*/
|
|
1903
1909
|
async createProject(requestParameters: CreateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO> {
|
|
1904
1910
|
const response = await this.createProjectRaw(requestParameters, initOverrides);
|
|
@@ -1939,8 +1945,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1939
1945
|
}
|
|
1940
1946
|
|
|
1941
1947
|
/**
|
|
1942
|
-
*
|
|
1943
|
-
* Create Slack user
|
|
1948
|
+
* Link a Slack account to the current user.
|
|
1949
|
+
* Create a Slack user
|
|
1944
1950
|
*/
|
|
1945
1951
|
async createSlackUserRaw(requestParameters: CreateSlackUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClientSlackUserAccountDTO>> {
|
|
1946
1952
|
const requestOptions = await this.createSlackUserRequestOpts(requestParameters);
|
|
@@ -1950,8 +1956,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1950
1956
|
}
|
|
1951
1957
|
|
|
1952
1958
|
/**
|
|
1953
|
-
*
|
|
1954
|
-
* Create Slack user
|
|
1959
|
+
* Link a Slack account to the current user.
|
|
1960
|
+
* Create a Slack user
|
|
1955
1961
|
*/
|
|
1956
1962
|
async createSlackUser(requestParameters: CreateSlackUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClientSlackUserAccountDTO> {
|
|
1957
1963
|
const response = await this.createSlackUserRaw(requestParameters, initOverrides);
|
|
@@ -1992,8 +1998,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
1992
1998
|
}
|
|
1993
1999
|
|
|
1994
2000
|
/**
|
|
1995
|
-
* Create a
|
|
1996
|
-
* Create
|
|
2001
|
+
* Create a personal API token for the current user. The token value is shown only once.
|
|
2002
|
+
* Create an API token
|
|
1997
2003
|
*/
|
|
1998
2004
|
async createTokenRaw(requestParameters: CreateTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateTokenResponseDTO>> {
|
|
1999
2005
|
const requestOptions = await this.createTokenRequestOpts(requestParameters);
|
|
@@ -2003,8 +2009,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2003
2009
|
}
|
|
2004
2010
|
|
|
2005
2011
|
/**
|
|
2006
|
-
* Create a
|
|
2007
|
-
* Create
|
|
2012
|
+
* Create a personal API token for the current user. The token value is shown only once.
|
|
2013
|
+
* Create an API token
|
|
2008
2014
|
*/
|
|
2009
2015
|
async createToken(requestParameters: CreateTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateTokenResponseDTO> {
|
|
2010
2016
|
const response = await this.createTokenRaw(requestParameters, initOverrides);
|
|
@@ -2043,8 +2049,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2043
2049
|
}
|
|
2044
2050
|
|
|
2045
2051
|
/**
|
|
2046
|
-
* Delete client
|
|
2047
|
-
* Delete client
|
|
2052
|
+
* Delete a client (customer).
|
|
2053
|
+
* Delete a client
|
|
2048
2054
|
*/
|
|
2049
2055
|
async deleteClientRaw(requestParameters: DeleteClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
2050
2056
|
const requestOptions = await this.deleteClientRequestOpts(requestParameters);
|
|
@@ -2054,8 +2060,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2054
2060
|
}
|
|
2055
2061
|
|
|
2056
2062
|
/**
|
|
2057
|
-
* Delete client
|
|
2058
|
-
* Delete client
|
|
2063
|
+
* Delete a client (customer).
|
|
2064
|
+
* Delete a client
|
|
2059
2065
|
*/
|
|
2060
2066
|
async deleteClient(requestParameters: DeleteClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
2061
2067
|
await this.deleteClientRaw(requestParameters, initOverrides);
|
|
@@ -2093,7 +2099,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2093
2099
|
}
|
|
2094
2100
|
|
|
2095
2101
|
/**
|
|
2096
|
-
* Delete a company
|
|
2102
|
+
* Delete a company and all its data: clients, projects, timesheets and employee memberships. This cannot be undone.
|
|
2097
2103
|
* Delete a company
|
|
2098
2104
|
*/
|
|
2099
2105
|
async deleteCompanyRaw(requestParameters: DeleteCompanyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -2104,7 +2110,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2104
2110
|
}
|
|
2105
2111
|
|
|
2106
2112
|
/**
|
|
2107
|
-
* Delete a company
|
|
2113
|
+
* Delete a company and all its data: clients, projects, timesheets and employee memberships. This cannot be undone.
|
|
2108
2114
|
* Delete a company
|
|
2109
2115
|
*/
|
|
2110
2116
|
async deleteCompany(requestParameters: DeleteCompanyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -2143,7 +2149,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2143
2149
|
}
|
|
2144
2150
|
|
|
2145
2151
|
/**
|
|
2146
|
-
*
|
|
2152
|
+
* Remove an employee and delete their future timesheets.
|
|
2147
2153
|
* Delete an employee
|
|
2148
2154
|
*/
|
|
2149
2155
|
async deleteEmployeeRaw(requestParameters: DeleteEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -2154,7 +2160,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2154
2160
|
}
|
|
2155
2161
|
|
|
2156
2162
|
/**
|
|
2157
|
-
*
|
|
2163
|
+
* Remove an employee and delete their future timesheets.
|
|
2158
2164
|
* Delete an employee
|
|
2159
2165
|
*/
|
|
2160
2166
|
async deleteEmployee(requestParameters: DeleteEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -2201,7 +2207,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2201
2207
|
}
|
|
2202
2208
|
|
|
2203
2209
|
/**
|
|
2204
|
-
* Delete an employee invoice
|
|
2210
|
+
* Delete an employee invoice. Paid invoices cannot be deleted.
|
|
2205
2211
|
* Delete an employee invoice
|
|
2206
2212
|
*/
|
|
2207
2213
|
async deleteEmployeeInvoiceRaw(requestParameters: DeleteEmployeeInvoiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -2212,7 +2218,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2212
2218
|
}
|
|
2213
2219
|
|
|
2214
2220
|
/**
|
|
2215
|
-
* Delete an employee invoice
|
|
2221
|
+
* Delete an employee invoice. Paid invoices cannot be deleted.
|
|
2216
2222
|
* Delete an employee invoice
|
|
2217
2223
|
*/
|
|
2218
2224
|
async deleteEmployeeInvoice(requestParameters: DeleteEmployeeInvoiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -2243,8 +2249,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2243
2249
|
}
|
|
2244
2250
|
|
|
2245
2251
|
/**
|
|
2246
|
-
*
|
|
2247
|
-
* Delete GitHub
|
|
2252
|
+
* Unlink and delete the GitHub account of the current user.
|
|
2253
|
+
* Delete my GitHub account
|
|
2248
2254
|
*/
|
|
2249
2255
|
async deleteGithubUserRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
2250
2256
|
const requestOptions = await this.deleteGithubUserRequestOpts();
|
|
@@ -2254,8 +2260,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2254
2260
|
}
|
|
2255
2261
|
|
|
2256
2262
|
/**
|
|
2257
|
-
*
|
|
2258
|
-
* Delete GitHub
|
|
2263
|
+
* Unlink and delete the GitHub account of the current user.
|
|
2264
|
+
* Delete my GitHub account
|
|
2259
2265
|
*/
|
|
2260
2266
|
async deleteGithubUser(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
2261
2267
|
await this.deleteGithubUserRaw(initOverrides);
|
|
@@ -2293,7 +2299,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2293
2299
|
}
|
|
2294
2300
|
|
|
2295
2301
|
/**
|
|
2296
|
-
* Delete a holiday
|
|
2302
|
+
* Delete (cancel) a holiday of the current user. The date must be at least 14 days in the future.
|
|
2297
2303
|
* Delete a holiday
|
|
2298
2304
|
*/
|
|
2299
2305
|
async deleteHolidayRaw(requestParameters: DeleteHolidayRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -2304,7 +2310,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2304
2310
|
}
|
|
2305
2311
|
|
|
2306
2312
|
/**
|
|
2307
|
-
* Delete a holiday
|
|
2313
|
+
* Delete (cancel) a holiday of the current user. The date must be at least 14 days in the future.
|
|
2308
2314
|
* Delete a holiday
|
|
2309
2315
|
*/
|
|
2310
2316
|
async deleteHoliday(requestParameters: DeleteHolidayRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -2351,7 +2357,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2351
2357
|
}
|
|
2352
2358
|
|
|
2353
2359
|
/**
|
|
2354
|
-
*
|
|
2360
|
+
* Delete (cancel) a holiday of an employee, without the 14-day minimum notice. Admin only.
|
|
2355
2361
|
* Delete an employee\'s holiday
|
|
2356
2362
|
*/
|
|
2357
2363
|
async deleteHolidayForEmployeeRaw(requestParameters: DeleteHolidayForEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -2362,7 +2368,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2362
2368
|
}
|
|
2363
2369
|
|
|
2364
2370
|
/**
|
|
2365
|
-
*
|
|
2371
|
+
* Delete (cancel) a holiday of an employee, without the 14-day minimum notice. Admin only.
|
|
2366
2372
|
* Delete an employee\'s holiday
|
|
2367
2373
|
*/
|
|
2368
2374
|
async deleteHolidayForEmployee(requestParameters: DeleteHolidayForEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -2401,7 +2407,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2401
2407
|
}
|
|
2402
2408
|
|
|
2403
2409
|
/**
|
|
2404
|
-
* Delete a project
|
|
2410
|
+
* Delete a project.
|
|
2405
2411
|
* Delete a project
|
|
2406
2412
|
*/
|
|
2407
2413
|
async deleteProjectRaw(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -2412,7 +2418,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2412
2418
|
}
|
|
2413
2419
|
|
|
2414
2420
|
/**
|
|
2415
|
-
* Delete a project
|
|
2421
|
+
* Delete a project.
|
|
2416
2422
|
* Delete a project
|
|
2417
2423
|
*/
|
|
2418
2424
|
async deleteProject(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -2443,8 +2449,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2443
2449
|
}
|
|
2444
2450
|
|
|
2445
2451
|
/**
|
|
2446
|
-
*
|
|
2447
|
-
* Delete Slack user
|
|
2452
|
+
* Unlink and delete the Slack account of the current user.
|
|
2453
|
+
* Delete my Slack user
|
|
2448
2454
|
*/
|
|
2449
2455
|
async deleteSlackUserRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
2450
2456
|
const requestOptions = await this.deleteSlackUserRequestOpts();
|
|
@@ -2454,8 +2460,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2454
2460
|
}
|
|
2455
2461
|
|
|
2456
2462
|
/**
|
|
2457
|
-
*
|
|
2458
|
-
* Delete Slack user
|
|
2463
|
+
* Unlink and delete the Slack account of the current user.
|
|
2464
|
+
* Delete my Slack user
|
|
2459
2465
|
*/
|
|
2460
2466
|
async deleteSlackUser(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
2461
2467
|
await this.deleteSlackUserRaw(initOverrides);
|
|
@@ -2493,8 +2499,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2493
2499
|
}
|
|
2494
2500
|
|
|
2495
2501
|
/**
|
|
2496
|
-
* Delete token
|
|
2497
|
-
* Delete an API token
|
|
2502
|
+
* Delete (revoke) a personal API token of the current user.
|
|
2503
|
+
* Delete an API token
|
|
2498
2504
|
*/
|
|
2499
2505
|
async deleteTokenRaw(requestParameters: DeleteTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
2500
2506
|
const requestOptions = await this.deleteTokenRequestOpts(requestParameters);
|
|
@@ -2504,8 +2510,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2504
2510
|
}
|
|
2505
2511
|
|
|
2506
2512
|
/**
|
|
2507
|
-
* Delete token
|
|
2508
|
-
* Delete an API token
|
|
2513
|
+
* Delete (revoke) a personal API token of the current user.
|
|
2514
|
+
* Delete an API token
|
|
2509
2515
|
*/
|
|
2510
2516
|
async deleteToken(requestParameters: DeleteTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
2511
2517
|
await this.deleteTokenRaw(requestParameters, initOverrides);
|
|
@@ -2551,8 +2557,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2551
2557
|
}
|
|
2552
2558
|
|
|
2553
2559
|
/**
|
|
2554
|
-
* Download
|
|
2555
|
-
* Download an
|
|
2560
|
+
* Download the PDF report of an approved adjusted timesheet.
|
|
2561
|
+
* Download an adjusted timesheet PDF
|
|
2556
2562
|
*/
|
|
2557
2563
|
async downloadAdjustedTimesheetPdfRaw(requestParameters: DownloadAdjustedTimesheetPdfRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>> {
|
|
2558
2564
|
const requestOptions = await this.downloadAdjustedTimesheetPdfRequestOpts(requestParameters);
|
|
@@ -2566,8 +2572,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2566
2572
|
}
|
|
2567
2573
|
|
|
2568
2574
|
/**
|
|
2569
|
-
* Download
|
|
2570
|
-
* Download an
|
|
2575
|
+
* Download the PDF report of an approved adjusted timesheet.
|
|
2576
|
+
* Download an adjusted timesheet PDF
|
|
2571
2577
|
*/
|
|
2572
2578
|
async downloadAdjustedTimesheetPdf(requestParameters: DownloadAdjustedTimesheetPdfRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string> {
|
|
2573
2579
|
const response = await this.downloadAdjustedTimesheetPdfRaw(requestParameters, initOverrides);
|
|
@@ -2614,8 +2620,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2614
2620
|
}
|
|
2615
2621
|
|
|
2616
2622
|
/**
|
|
2617
|
-
* Download client invoice
|
|
2618
|
-
* Download client invoice
|
|
2623
|
+
* Download a client invoice file. Returns the signed e-invoice when available, otherwise the PDF.
|
|
2624
|
+
* Download a client invoice
|
|
2619
2625
|
*/
|
|
2620
2626
|
async downloadClientInvoicePdfRaw(requestParameters: DownloadClientInvoicePdfRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>> {
|
|
2621
2627
|
const requestOptions = await this.downloadClientInvoicePdfRequestOpts(requestParameters);
|
|
@@ -2629,8 +2635,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2629
2635
|
}
|
|
2630
2636
|
|
|
2631
2637
|
/**
|
|
2632
|
-
* Download client invoice
|
|
2633
|
-
* Download client invoice
|
|
2638
|
+
* Download a client invoice file. Returns the signed e-invoice when available, otherwise the PDF.
|
|
2639
|
+
* Download a client invoice
|
|
2634
2640
|
*/
|
|
2635
2641
|
async downloadClientInvoicePdf(requestParameters: DownloadClientInvoicePdfRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string> {
|
|
2636
2642
|
const response = await this.downloadClientInvoicePdfRaw(requestParameters, initOverrides);
|
|
@@ -2677,8 +2683,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2677
2683
|
}
|
|
2678
2684
|
|
|
2679
2685
|
/**
|
|
2680
|
-
* Download the
|
|
2681
|
-
* Download
|
|
2686
|
+
* Download the PDF of an employee invoice.
|
|
2687
|
+
* Download an employee invoice PDF
|
|
2682
2688
|
*/
|
|
2683
2689
|
async downloadEmployeeInvoicePdfRaw(requestParameters: DownloadEmployeeInvoicePdfRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>> {
|
|
2684
2690
|
const requestOptions = await this.downloadEmployeeInvoicePdfRequestOpts(requestParameters);
|
|
@@ -2692,8 +2698,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2692
2698
|
}
|
|
2693
2699
|
|
|
2694
2700
|
/**
|
|
2695
|
-
* Download the
|
|
2696
|
-
* Download
|
|
2701
|
+
* Download the PDF of an employee invoice.
|
|
2702
|
+
* Download an employee invoice PDF
|
|
2697
2703
|
*/
|
|
2698
2704
|
async downloadEmployeeInvoicePdf(requestParameters: DownloadEmployeeInvoicePdfRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string> {
|
|
2699
2705
|
const response = await this.downloadEmployeeInvoicePdfRaw(requestParameters, initOverrides);
|
|
@@ -2740,8 +2746,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2740
2746
|
}
|
|
2741
2747
|
|
|
2742
2748
|
/**
|
|
2743
|
-
* Download
|
|
2744
|
-
* Download a global timesheet
|
|
2749
|
+
* Download the PDF report of an approved global timesheet.
|
|
2750
|
+
* Download a global timesheet PDF
|
|
2745
2751
|
*/
|
|
2746
2752
|
async downloadGlobalTimesheetPdfRaw(requestParameters: DownloadGlobalTimesheetPdfRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>> {
|
|
2747
2753
|
const requestOptions = await this.downloadGlobalTimesheetPdfRequestOpts(requestParameters);
|
|
@@ -2755,8 +2761,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2755
2761
|
}
|
|
2756
2762
|
|
|
2757
2763
|
/**
|
|
2758
|
-
* Download
|
|
2759
|
-
* Download a global timesheet
|
|
2764
|
+
* Download the PDF report of an approved global timesheet.
|
|
2765
|
+
* Download a global timesheet PDF
|
|
2760
2766
|
*/
|
|
2761
2767
|
async downloadGlobalTimesheetPdf(requestParameters: DownloadGlobalTimesheetPdfRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string> {
|
|
2762
2768
|
const response = await this.downloadGlobalTimesheetPdfRaw(requestParameters, initOverrides);
|
|
@@ -2803,8 +2809,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2803
2809
|
}
|
|
2804
2810
|
|
|
2805
2811
|
/**
|
|
2806
|
-
* Download
|
|
2807
|
-
* Download a timesheet
|
|
2812
|
+
* Download the PDF report of an approved timesheet.
|
|
2813
|
+
* Download a timesheet PDF
|
|
2808
2814
|
*/
|
|
2809
2815
|
async downloadTimesheetPdfRaw(requestParameters: DownloadTimesheetPdfRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>> {
|
|
2810
2816
|
const requestOptions = await this.downloadTimesheetPdfRequestOpts(requestParameters);
|
|
@@ -2818,8 +2824,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2818
2824
|
}
|
|
2819
2825
|
|
|
2820
2826
|
/**
|
|
2821
|
-
* Download
|
|
2822
|
-
* Download a timesheet
|
|
2827
|
+
* Download the PDF report of an approved timesheet.
|
|
2828
|
+
* Download a timesheet PDF
|
|
2823
2829
|
*/
|
|
2824
2830
|
async downloadTimesheetPdf(requestParameters: DownloadTimesheetPdfRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string> {
|
|
2825
2831
|
const response = await this.downloadTimesheetPdfRaw(requestParameters, initOverrides);
|
|
@@ -2866,8 +2872,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2866
2872
|
}
|
|
2867
2873
|
|
|
2868
2874
|
/**
|
|
2869
|
-
* Get an
|
|
2870
|
-
* Get an
|
|
2875
|
+
* Get an adjusted timesheet of a project with its daily entries. An adjusted timesheet is the admin-reviewed copy of an approved employee timesheet.
|
|
2876
|
+
* Get an adjusted timesheet
|
|
2871
2877
|
*/
|
|
2872
2878
|
async getAdjustedTimesheetRaw(requestParameters: GetAdjustedTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdjustedTimesheetDTO>> {
|
|
2873
2879
|
const requestOptions = await this.getAdjustedTimesheetRequestOpts(requestParameters);
|
|
@@ -2877,8 +2883,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2877
2883
|
}
|
|
2878
2884
|
|
|
2879
2885
|
/**
|
|
2880
|
-
* Get an
|
|
2881
|
-
* Get an
|
|
2886
|
+
* Get an adjusted timesheet of a project with its daily entries. An adjusted timesheet is the admin-reviewed copy of an approved employee timesheet.
|
|
2887
|
+
* Get an adjusted timesheet
|
|
2882
2888
|
*/
|
|
2883
2889
|
async getAdjustedTimesheet(requestParameters: GetAdjustedTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdjustedTimesheetDTO> {
|
|
2884
2890
|
const response = await this.getAdjustedTimesheetRaw(requestParameters, initOverrides);
|
|
@@ -2929,8 +2935,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2929
2935
|
}
|
|
2930
2936
|
|
|
2931
2937
|
/**
|
|
2932
|
-
*
|
|
2933
|
-
*
|
|
2938
|
+
* List the adjusted timesheets of a project, one per employee per month.
|
|
2939
|
+
* List adjusted timesheets of a project
|
|
2934
2940
|
*/
|
|
2935
2941
|
async getAdjustedTimesheetsRaw(requestParameters: GetAdjustedTimesheetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedAdjustedTimesheets>> {
|
|
2936
2942
|
const requestOptions = await this.getAdjustedTimesheetsRequestOpts(requestParameters);
|
|
@@ -2940,8 +2946,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2940
2946
|
}
|
|
2941
2947
|
|
|
2942
2948
|
/**
|
|
2943
|
-
*
|
|
2944
|
-
*
|
|
2949
|
+
* List the adjusted timesheets of a project, one per employee per month.
|
|
2950
|
+
* List adjusted timesheets of a project
|
|
2945
2951
|
*/
|
|
2946
2952
|
async getAdjustedTimesheets(requestParameters: GetAdjustedTimesheetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedAdjustedTimesheets> {
|
|
2947
2953
|
const response = await this.getAdjustedTimesheetsRaw(requestParameters, initOverrides);
|
|
@@ -2980,7 +2986,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2980
2986
|
}
|
|
2981
2987
|
|
|
2982
2988
|
/**
|
|
2983
|
-
* Get client by
|
|
2989
|
+
* Get a client (customer) by ID.
|
|
2990
|
+
* Get a client
|
|
2984
2991
|
*/
|
|
2985
2992
|
async getClientByIdRaw(requestParameters: GetClientByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClientDTO>> {
|
|
2986
2993
|
const requestOptions = await this.getClientByIdRequestOpts(requestParameters);
|
|
@@ -2990,7 +2997,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
2990
2997
|
}
|
|
2991
2998
|
|
|
2992
2999
|
/**
|
|
2993
|
-
* Get client by
|
|
3000
|
+
* Get a client (customer) by ID.
|
|
3001
|
+
* Get a client
|
|
2994
3002
|
*/
|
|
2995
3003
|
async getClientById(requestParameters: GetClientByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClientDTO> {
|
|
2996
3004
|
const response = await this.getClientByIdRaw(requestParameters, initOverrides);
|
|
@@ -3041,8 +3049,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3041
3049
|
}
|
|
3042
3050
|
|
|
3043
3051
|
/**
|
|
3044
|
-
*
|
|
3045
|
-
*
|
|
3052
|
+
* List the invoices issued to a client. Client invoices are created automatically when a global timesheet is approved.
|
|
3053
|
+
* List client invoices
|
|
3046
3054
|
*/
|
|
3047
3055
|
async getClientInvoicesRaw(requestParameters: GetClientInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedClientInvoices>> {
|
|
3048
3056
|
const requestOptions = await this.getClientInvoicesRequestOpts(requestParameters);
|
|
@@ -3052,8 +3060,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3052
3060
|
}
|
|
3053
3061
|
|
|
3054
3062
|
/**
|
|
3055
|
-
*
|
|
3056
|
-
*
|
|
3063
|
+
* List the invoices issued to a client. Client invoices are created automatically when a global timesheet is approved.
|
|
3064
|
+
* List client invoices
|
|
3057
3065
|
*/
|
|
3058
3066
|
async getClientInvoices(requestParameters: GetClientInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedClientInvoices> {
|
|
3059
3067
|
const response = await this.getClientInvoicesRaw(requestParameters, initOverrides);
|
|
@@ -3096,8 +3104,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3096
3104
|
}
|
|
3097
3105
|
|
|
3098
3106
|
/**
|
|
3099
|
-
*
|
|
3100
|
-
*
|
|
3107
|
+
* List the clients (customers) for the current company.
|
|
3108
|
+
* List clients
|
|
3101
3109
|
*/
|
|
3102
3110
|
async getClientsRaw(requestParameters: GetClientsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedClients>> {
|
|
3103
3111
|
const requestOptions = await this.getClientsRequestOpts(requestParameters);
|
|
@@ -3107,8 +3115,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3107
3115
|
}
|
|
3108
3116
|
|
|
3109
3117
|
/**
|
|
3110
|
-
*
|
|
3111
|
-
*
|
|
3118
|
+
* List the clients (customers) for the current company.
|
|
3119
|
+
* List clients
|
|
3112
3120
|
*/
|
|
3113
3121
|
async getClients(requestParameters: GetClientsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedClients> {
|
|
3114
3122
|
const response = await this.getClientsRaw(requestParameters, initOverrides);
|
|
@@ -3173,8 +3181,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3173
3181
|
}
|
|
3174
3182
|
|
|
3175
3183
|
/**
|
|
3176
|
-
* Get commit statistics for a
|
|
3177
|
-
* Get commits
|
|
3184
|
+
* Get the GitHub commit statistics of an employee for a date range.
|
|
3185
|
+
* Get commits of an employee
|
|
3178
3186
|
*/
|
|
3179
3187
|
async getCommitsByUserIDRaw(requestParameters: GetCommitsByUserIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ClientGithubCommitCountDTO>>> {
|
|
3180
3188
|
const requestOptions = await this.getCommitsByUserIDRequestOpts(requestParameters);
|
|
@@ -3184,8 +3192,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3184
3192
|
}
|
|
3185
3193
|
|
|
3186
3194
|
/**
|
|
3187
|
-
* Get commit statistics for a
|
|
3188
|
-
* Get commits
|
|
3195
|
+
* Get the GitHub commit statistics of an employee for a date range.
|
|
3196
|
+
* Get commits of an employee
|
|
3189
3197
|
*/
|
|
3190
3198
|
async getCommitsByUserID(requestParameters: GetCommitsByUserIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ClientGithubCommitCountDTO>> {
|
|
3191
3199
|
const response = await this.getCommitsByUserIDRaw(requestParameters, initOverrides);
|
|
@@ -3220,8 +3228,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3220
3228
|
}
|
|
3221
3229
|
|
|
3222
3230
|
/**
|
|
3223
|
-
*
|
|
3224
|
-
*
|
|
3231
|
+
* List the companies the current user belongs to.
|
|
3232
|
+
* List my companies
|
|
3225
3233
|
*/
|
|
3226
3234
|
async getCompaniesRaw(requestParameters: GetCompaniesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CompanyDTO>>> {
|
|
3227
3235
|
const requestOptions = await this.getCompaniesRequestOpts(requestParameters);
|
|
@@ -3231,8 +3239,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3231
3239
|
}
|
|
3232
3240
|
|
|
3233
3241
|
/**
|
|
3234
|
-
*
|
|
3235
|
-
*
|
|
3242
|
+
* List the companies the current user belongs to.
|
|
3243
|
+
* List my companies
|
|
3236
3244
|
*/
|
|
3237
3245
|
async getCompanies(requestParameters: GetCompaniesRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CompanyDTO>> {
|
|
3238
3246
|
const response = await this.getCompaniesRaw(requestParameters, initOverrides);
|
|
@@ -3271,8 +3279,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3271
3279
|
}
|
|
3272
3280
|
|
|
3273
3281
|
/**
|
|
3282
|
+
* Get a company by ID.
|
|
3274
3283
|
* Get a company
|
|
3275
|
-
* Get a company by ID
|
|
3276
3284
|
*/
|
|
3277
3285
|
async getCompanyRaw(requestParameters: GetCompanyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompanyDTO>> {
|
|
3278
3286
|
const requestOptions = await this.getCompanyRequestOpts(requestParameters);
|
|
@@ -3282,8 +3290,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3282
3290
|
}
|
|
3283
3291
|
|
|
3284
3292
|
/**
|
|
3293
|
+
* Get a company by ID.
|
|
3285
3294
|
* Get a company
|
|
3286
|
-
* Get a company by ID
|
|
3287
3295
|
*/
|
|
3288
3296
|
async getCompany(requestParameters: GetCompanyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompanyDTO> {
|
|
3289
3297
|
const response = await this.getCompanyRaw(requestParameters, initOverrides);
|
|
@@ -3322,8 +3330,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3322
3330
|
}
|
|
3323
3331
|
|
|
3324
3332
|
/**
|
|
3325
|
-
* Get employee
|
|
3326
|
-
* Get employee
|
|
3333
|
+
* Get an employee by user ID.
|
|
3334
|
+
* Get an employee
|
|
3327
3335
|
*/
|
|
3328
3336
|
async getEmployeeRaw(requestParameters: GetEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EmployeeDTO>> {
|
|
3329
3337
|
const requestOptions = await this.getEmployeeRequestOpts(requestParameters);
|
|
@@ -3333,8 +3341,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3333
3341
|
}
|
|
3334
3342
|
|
|
3335
3343
|
/**
|
|
3336
|
-
* Get employee
|
|
3337
|
-
* Get employee
|
|
3344
|
+
* Get an employee by user ID.
|
|
3345
|
+
* Get an employee
|
|
3338
3346
|
*/
|
|
3339
3347
|
async getEmployee(requestParameters: GetEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmployeeDTO> {
|
|
3340
3348
|
const response = await this.getEmployeeRaw(requestParameters, initOverrides);
|
|
@@ -3385,8 +3393,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3385
3393
|
}
|
|
3386
3394
|
|
|
3387
3395
|
/**
|
|
3388
|
-
*
|
|
3389
|
-
*
|
|
3396
|
+
* List the payment invoices of an employee.
|
|
3397
|
+
* List employee invoices
|
|
3390
3398
|
*/
|
|
3391
3399
|
async getEmployeeInvoicesRaw(requestParameters: GetEmployeeInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedEmployeeInvoices>> {
|
|
3392
3400
|
const requestOptions = await this.getEmployeeInvoicesRequestOpts(requestParameters);
|
|
@@ -3396,8 +3404,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3396
3404
|
}
|
|
3397
3405
|
|
|
3398
3406
|
/**
|
|
3399
|
-
*
|
|
3400
|
-
*
|
|
3407
|
+
* List the payment invoices of an employee.
|
|
3408
|
+
* List employee invoices
|
|
3401
3409
|
*/
|
|
3402
3410
|
async getEmployeeInvoices(requestParameters: GetEmployeeInvoicesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedEmployeeInvoices> {
|
|
3403
3411
|
const response = await this.getEmployeeInvoicesRaw(requestParameters, initOverrides);
|
|
@@ -3448,8 +3456,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3448
3456
|
}
|
|
3449
3457
|
|
|
3450
3458
|
/**
|
|
3451
|
-
*
|
|
3452
|
-
*
|
|
3459
|
+
* List the timesheets of the current user in a project.
|
|
3460
|
+
* List my timesheets in a project
|
|
3453
3461
|
*/
|
|
3454
3462
|
async getEmployeeTimesheetsRaw(requestParameters: GetEmployeeTimesheetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedTimesheets>> {
|
|
3455
3463
|
const requestOptions = await this.getEmployeeTimesheetsRequestOpts(requestParameters);
|
|
@@ -3459,8 +3467,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3459
3467
|
}
|
|
3460
3468
|
|
|
3461
3469
|
/**
|
|
3462
|
-
*
|
|
3463
|
-
*
|
|
3470
|
+
* List the timesheets of the current user in a project.
|
|
3471
|
+
* List my timesheets in a project
|
|
3464
3472
|
*/
|
|
3465
3473
|
async getEmployeeTimesheets(requestParameters: GetEmployeeTimesheetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedTimesheets> {
|
|
3466
3474
|
const response = await this.getEmployeeTimesheetsRaw(requestParameters, initOverrides);
|
|
@@ -3507,7 +3515,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3507
3515
|
}
|
|
3508
3516
|
|
|
3509
3517
|
/**
|
|
3510
|
-
* List employees
|
|
3518
|
+
* List the employees.
|
|
3511
3519
|
* List employees
|
|
3512
3520
|
*/
|
|
3513
3521
|
async getEmployeesRaw(requestParameters: GetEmployeesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedEmployees>> {
|
|
@@ -3518,7 +3526,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3518
3526
|
}
|
|
3519
3527
|
|
|
3520
3528
|
/**
|
|
3521
|
-
* List employees
|
|
3529
|
+
* List the employees.
|
|
3522
3530
|
* List employees
|
|
3523
3531
|
*/
|
|
3524
3532
|
async getEmployees(requestParameters: GetEmployeesRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedEmployees> {
|
|
@@ -3550,8 +3558,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3550
3558
|
}
|
|
3551
3559
|
|
|
3552
3560
|
/**
|
|
3553
|
-
* Get GitHub account
|
|
3554
|
-
* Get GitHub account
|
|
3561
|
+
* Get the GitHub account linked to the current user.
|
|
3562
|
+
* Get my GitHub account
|
|
3555
3563
|
*/
|
|
3556
3564
|
async getGithubAccountRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClientGithubAccountDTO>> {
|
|
3557
3565
|
const requestOptions = await this.getGithubAccountRequestOpts();
|
|
@@ -3561,8 +3569,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3561
3569
|
}
|
|
3562
3570
|
|
|
3563
3571
|
/**
|
|
3564
|
-
* Get GitHub account
|
|
3565
|
-
* Get GitHub account
|
|
3572
|
+
* Get the GitHub account linked to the current user.
|
|
3573
|
+
* Get my GitHub account
|
|
3566
3574
|
*/
|
|
3567
3575
|
async getGithubAccount(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClientGithubAccountDTO> {
|
|
3568
3576
|
const response = await this.getGithubAccountRaw(initOverrides);
|
|
@@ -3609,7 +3617,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3609
3617
|
}
|
|
3610
3618
|
|
|
3611
3619
|
/**
|
|
3612
|
-
* Get a global timesheet
|
|
3620
|
+
* Get a global timesheet of a project with its entries.
|
|
3613
3621
|
* Get a global timesheet
|
|
3614
3622
|
*/
|
|
3615
3623
|
async getGlobalTimesheetRaw(requestParameters: GetGlobalTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GlobalTimesheetDTO>> {
|
|
@@ -3620,7 +3628,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3620
3628
|
}
|
|
3621
3629
|
|
|
3622
3630
|
/**
|
|
3623
|
-
* Get a global timesheet
|
|
3631
|
+
* Get a global timesheet of a project with its entries.
|
|
3624
3632
|
* Get a global timesheet
|
|
3625
3633
|
*/
|
|
3626
3634
|
async getGlobalTimesheet(requestParameters: GetGlobalTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GlobalTimesheetDTO> {
|
|
@@ -3672,8 +3680,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3672
3680
|
}
|
|
3673
3681
|
|
|
3674
3682
|
/**
|
|
3675
|
-
*
|
|
3676
|
-
*
|
|
3683
|
+
* List the global timesheets of a project. A global timesheet is the monthly summary of all employees approved adjusted timesheets.
|
|
3684
|
+
* List global timesheets of a project
|
|
3677
3685
|
*/
|
|
3678
3686
|
async getGlobalTimesheetsRaw(requestParameters: GetGlobalTimesheetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedGlobalTimesheets>> {
|
|
3679
3687
|
const requestOptions = await this.getGlobalTimesheetsRequestOpts(requestParameters);
|
|
@@ -3683,8 +3691,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3683
3691
|
}
|
|
3684
3692
|
|
|
3685
3693
|
/**
|
|
3686
|
-
*
|
|
3687
|
-
*
|
|
3694
|
+
* List the global timesheets of a project. A global timesheet is the monthly summary of all employees approved adjusted timesheets.
|
|
3695
|
+
* List global timesheets of a project
|
|
3688
3696
|
*/
|
|
3689
3697
|
async getGlobalTimesheets(requestParameters: GetGlobalTimesheetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedGlobalTimesheets> {
|
|
3690
3698
|
const response = await this.getGlobalTimesheetsRaw(requestParameters, initOverrides);
|
|
@@ -3727,7 +3735,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3727
3735
|
}
|
|
3728
3736
|
|
|
3729
3737
|
/**
|
|
3730
|
-
*
|
|
3738
|
+
* List the holidays (days off) of the current user.
|
|
3739
|
+
* List my holidays
|
|
3731
3740
|
*/
|
|
3732
3741
|
async getHolidaysRaw(requestParameters: GetHolidaysRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedHolidaysDTO>> {
|
|
3733
3742
|
const requestOptions = await this.getHolidaysRequestOpts(requestParameters);
|
|
@@ -3737,7 +3746,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3737
3746
|
}
|
|
3738
3747
|
|
|
3739
3748
|
/**
|
|
3740
|
-
*
|
|
3749
|
+
* List the holidays (days off) of the current user.
|
|
3750
|
+
* List my holidays
|
|
3741
3751
|
*/
|
|
3742
3752
|
async getHolidays(requestParameters: GetHolidaysRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedHolidaysDTO> {
|
|
3743
3753
|
const response = await this.getHolidaysRaw(requestParameters, initOverrides);
|
|
@@ -3788,7 +3798,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3788
3798
|
}
|
|
3789
3799
|
|
|
3790
3800
|
/**
|
|
3791
|
-
*
|
|
3801
|
+
* List the holidays (days off) of an employee.
|
|
3802
|
+
* List an employee\'s holidays
|
|
3792
3803
|
*/
|
|
3793
3804
|
async getHolidaysByEmployeeRaw(requestParameters: GetHolidaysByEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedHolidaysDTO>> {
|
|
3794
3805
|
const requestOptions = await this.getHolidaysByEmployeeRequestOpts(requestParameters);
|
|
@@ -3798,7 +3809,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3798
3809
|
}
|
|
3799
3810
|
|
|
3800
3811
|
/**
|
|
3801
|
-
*
|
|
3812
|
+
* List the holidays (days off) of an employee.
|
|
3813
|
+
* List an employee\'s holidays
|
|
3802
3814
|
*/
|
|
3803
3815
|
async getHolidaysByEmployee(requestParameters: GetHolidaysByEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedHolidaysDTO> {
|
|
3804
3816
|
const response = await this.getHolidaysByEmployeeRaw(requestParameters, initOverrides);
|
|
@@ -3829,8 +3841,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3829
3841
|
}
|
|
3830
3842
|
|
|
3831
3843
|
/**
|
|
3832
|
-
*
|
|
3833
|
-
*
|
|
3844
|
+
* List the Jira accounts linked to the current user.
|
|
3845
|
+
* List my Jira accounts
|
|
3834
3846
|
*/
|
|
3835
3847
|
async getJiraAccountsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<JiraAccountDTO>>> {
|
|
3836
3848
|
const requestOptions = await this.getJiraAccountsRequestOpts();
|
|
@@ -3840,8 +3852,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3840
3852
|
}
|
|
3841
3853
|
|
|
3842
3854
|
/**
|
|
3843
|
-
*
|
|
3844
|
-
*
|
|
3855
|
+
* List the Jira accounts linked to the current user.
|
|
3856
|
+
* List my Jira accounts
|
|
3845
3857
|
*/
|
|
3846
3858
|
async getJiraAccounts(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<JiraAccountDTO>> {
|
|
3847
3859
|
const response = await this.getJiraAccountsRaw(initOverrides);
|
|
@@ -3872,8 +3884,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3872
3884
|
}
|
|
3873
3885
|
|
|
3874
3886
|
/**
|
|
3875
|
-
* Get Jira user
|
|
3876
|
-
* Get Jira user
|
|
3887
|
+
* Get the Jira user of the current user.
|
|
3888
|
+
* Get my Jira user
|
|
3877
3889
|
*/
|
|
3878
3890
|
async getJiraUserRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClientJiraUserDTO>> {
|
|
3879
3891
|
const requestOptions = await this.getJiraUserRequestOpts();
|
|
@@ -3883,8 +3895,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3883
3895
|
}
|
|
3884
3896
|
|
|
3885
3897
|
/**
|
|
3886
|
-
* Get Jira user
|
|
3887
|
-
* Get Jira user
|
|
3898
|
+
* Get the Jira user of the current user.
|
|
3899
|
+
* Get my Jira user
|
|
3888
3900
|
*/
|
|
3889
3901
|
async getJiraUser(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClientJiraUserDTO> {
|
|
3890
3902
|
const response = await this.getJiraUserRaw(initOverrides);
|
|
@@ -3915,8 +3927,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3915
3927
|
}
|
|
3916
3928
|
|
|
3917
3929
|
/**
|
|
3918
|
-
* Get
|
|
3919
|
-
* Get my account
|
|
3930
|
+
* Get the account info of the current user.
|
|
3931
|
+
* Get my account
|
|
3920
3932
|
*/
|
|
3921
3933
|
async getMyAccountRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountInfoDTO>> {
|
|
3922
3934
|
const requestOptions = await this.getMyAccountRequestOpts();
|
|
@@ -3926,8 +3938,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3926
3938
|
}
|
|
3927
3939
|
|
|
3928
3940
|
/**
|
|
3929
|
-
* Get
|
|
3930
|
-
* Get my account
|
|
3941
|
+
* Get the account info of the current user.
|
|
3942
|
+
* Get my account
|
|
3931
3943
|
*/
|
|
3932
3944
|
async getMyAccount(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountInfoDTO> {
|
|
3933
3945
|
const response = await this.getMyAccountRaw(initOverrides);
|
|
@@ -3984,7 +3996,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3984
3996
|
}
|
|
3985
3997
|
|
|
3986
3998
|
/**
|
|
3987
|
-
* Get commit statistics
|
|
3999
|
+
* Get the GitHub commit statistics of the current user for a date range.
|
|
3988
4000
|
* Get my commits
|
|
3989
4001
|
*/
|
|
3990
4002
|
async getMyCommitsRaw(requestParameters: GetMyCommitsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ClientGithubCommitCountDTO>>> {
|
|
@@ -3995,7 +4007,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
3995
4007
|
}
|
|
3996
4008
|
|
|
3997
4009
|
/**
|
|
3998
|
-
* Get commit statistics
|
|
4010
|
+
* Get the GitHub commit statistics of the current user for a date range.
|
|
3999
4011
|
* Get my commits
|
|
4000
4012
|
*/
|
|
4001
4013
|
async getMyCommits(requestParameters: GetMyCommitsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ClientGithubCommitCountDTO>> {
|
|
@@ -4035,8 +4047,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4035
4047
|
}
|
|
4036
4048
|
|
|
4037
4049
|
/**
|
|
4050
|
+
* Get a project by ID.
|
|
4038
4051
|
* Get a project
|
|
4039
|
-
* Get a project by ID
|
|
4040
4052
|
*/
|
|
4041
4053
|
async getProjectByIdRaw(requestParameters: GetProjectByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>> {
|
|
4042
4054
|
const requestOptions = await this.getProjectByIdRequestOpts(requestParameters);
|
|
@@ -4046,8 +4058,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4046
4058
|
}
|
|
4047
4059
|
|
|
4048
4060
|
/**
|
|
4061
|
+
* Get a project by ID.
|
|
4049
4062
|
* Get a project
|
|
4050
|
-
* Get a project by ID
|
|
4051
4063
|
*/
|
|
4052
4064
|
async getProjectById(requestParameters: GetProjectByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO> {
|
|
4053
4065
|
const response = await this.getProjectByIdRaw(requestParameters, initOverrides);
|
|
@@ -4093,8 +4105,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4093
4105
|
}
|
|
4094
4106
|
|
|
4095
4107
|
/**
|
|
4096
|
-
* Get
|
|
4097
|
-
* Get
|
|
4108
|
+
* Get the projects and current timesheets of an employee. Internal endpoint.
|
|
4109
|
+
* Get project report of an employee
|
|
4098
4110
|
*/
|
|
4099
4111
|
async getProjectReportByUserRaw(requestParameters: GetProjectReportByUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UserProjectReport>>> {
|
|
4100
4112
|
const requestOptions = await this.getProjectReportByUserRequestOpts(requestParameters);
|
|
@@ -4104,8 +4116,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4104
4116
|
}
|
|
4105
4117
|
|
|
4106
4118
|
/**
|
|
4107
|
-
* Get
|
|
4108
|
-
* Get
|
|
4119
|
+
* Get the projects and current timesheets of an employee. Internal endpoint.
|
|
4120
|
+
* Get project report of an employee
|
|
4109
4121
|
*/
|
|
4110
4122
|
async getProjectReportByUser(requestParameters: GetProjectReportByUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UserProjectReport>> {
|
|
4111
4123
|
const response = await this.getProjectReportByUserRaw(requestParameters, initOverrides);
|
|
@@ -4148,8 +4160,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4148
4160
|
}
|
|
4149
4161
|
|
|
4150
4162
|
/**
|
|
4151
|
-
*
|
|
4152
|
-
*
|
|
4163
|
+
* List all projects for the current company.
|
|
4164
|
+
* List projects
|
|
4153
4165
|
*/
|
|
4154
4166
|
async getProjectsRaw(requestParameters: GetProjectsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProjects>> {
|
|
4155
4167
|
const requestOptions = await this.getProjectsRequestOpts(requestParameters);
|
|
@@ -4159,8 +4171,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4159
4171
|
}
|
|
4160
4172
|
|
|
4161
4173
|
/**
|
|
4162
|
-
*
|
|
4163
|
-
*
|
|
4174
|
+
* List all projects for the current company.
|
|
4175
|
+
* List projects
|
|
4164
4176
|
*/
|
|
4165
4177
|
async getProjects(requestParameters: GetProjectsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProjects> {
|
|
4166
4178
|
const response = await this.getProjectsRaw(requestParameters, initOverrides);
|
|
@@ -4203,8 +4215,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4203
4215
|
}
|
|
4204
4216
|
|
|
4205
4217
|
/**
|
|
4206
|
-
*
|
|
4207
|
-
*
|
|
4218
|
+
* List the projects the current user is assigned to.
|
|
4219
|
+
* List my projects
|
|
4208
4220
|
*/
|
|
4209
4221
|
async getProjectsAsEmployeeRaw(requestParameters: GetProjectsAsEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedEmployeeProjects>> {
|
|
4210
4222
|
const requestOptions = await this.getProjectsAsEmployeeRequestOpts(requestParameters);
|
|
@@ -4214,8 +4226,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4214
4226
|
}
|
|
4215
4227
|
|
|
4216
4228
|
/**
|
|
4217
|
-
*
|
|
4218
|
-
*
|
|
4229
|
+
* List the projects the current user is assigned to.
|
|
4230
|
+
* List my projects
|
|
4219
4231
|
*/
|
|
4220
4232
|
async getProjectsAsEmployee(requestParameters: GetProjectsAsEmployeeRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedEmployeeProjects> {
|
|
4221
4233
|
const response = await this.getProjectsAsEmployeeRaw(requestParameters, initOverrides);
|
|
@@ -4246,8 +4258,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4246
4258
|
}
|
|
4247
4259
|
|
|
4248
4260
|
/**
|
|
4249
|
-
* Get Slack account
|
|
4250
|
-
* Get Slack
|
|
4261
|
+
* Get the Slack account linked to the current user.
|
|
4262
|
+
* Get my Slack account
|
|
4251
4263
|
*/
|
|
4252
4264
|
async getSlackUserAccountRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClientSlackUserAccountDTO>> {
|
|
4253
4265
|
const requestOptions = await this.getSlackUserAccountRequestOpts();
|
|
@@ -4257,8 +4269,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4257
4269
|
}
|
|
4258
4270
|
|
|
4259
4271
|
/**
|
|
4260
|
-
* Get Slack account
|
|
4261
|
-
* Get Slack
|
|
4272
|
+
* Get the Slack account linked to the current user.
|
|
4273
|
+
* Get my Slack account
|
|
4262
4274
|
*/
|
|
4263
4275
|
async getSlackUserAccount(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClientSlackUserAccountDTO> {
|
|
4264
4276
|
const response = await this.getSlackUserAccountRaw(initOverrides);
|
|
@@ -4309,8 +4321,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4309
4321
|
}
|
|
4310
4322
|
|
|
4311
4323
|
/**
|
|
4312
|
-
*
|
|
4313
|
-
* Get
|
|
4324
|
+
* List the employees assigned to a project.
|
|
4325
|
+
* Get a project team
|
|
4314
4326
|
*/
|
|
4315
4327
|
async getTeamRaw(requestParameters: GetTeamRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedUsers>> {
|
|
4316
4328
|
const requestOptions = await this.getTeamRequestOpts(requestParameters);
|
|
@@ -4320,8 +4332,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4320
4332
|
}
|
|
4321
4333
|
|
|
4322
4334
|
/**
|
|
4323
|
-
*
|
|
4324
|
-
* Get
|
|
4335
|
+
* List the employees assigned to a project.
|
|
4336
|
+
* Get a project team
|
|
4325
4337
|
*/
|
|
4326
4338
|
async getTeam(requestParameters: GetTeamRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedUsers> {
|
|
4327
4339
|
const response = await this.getTeamRaw(requestParameters, initOverrides);
|
|
@@ -4368,7 +4380,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4368
4380
|
}
|
|
4369
4381
|
|
|
4370
4382
|
/**
|
|
4371
|
-
* Get a
|
|
4383
|
+
* Get an employee timesheet of a project with its daily entries.
|
|
4372
4384
|
* Get a timesheet
|
|
4373
4385
|
*/
|
|
4374
4386
|
async getTimesheetRaw(requestParameters: GetTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TimesheetDTO>> {
|
|
@@ -4379,7 +4391,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4379
4391
|
}
|
|
4380
4392
|
|
|
4381
4393
|
/**
|
|
4382
|
-
* Get a
|
|
4394
|
+
* Get an employee timesheet of a project with its daily entries.
|
|
4383
4395
|
* Get a timesheet
|
|
4384
4396
|
*/
|
|
4385
4397
|
async getTimesheet(requestParameters: GetTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TimesheetDTO> {
|
|
@@ -4431,8 +4443,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4431
4443
|
}
|
|
4432
4444
|
|
|
4433
4445
|
/**
|
|
4434
|
-
*
|
|
4435
|
-
*
|
|
4446
|
+
* List the timesheets of all employees in a project, one per employee per month. Do not include the daily entries of the timesheets, only the summary.
|
|
4447
|
+
* List timesheets of a project
|
|
4436
4448
|
*/
|
|
4437
4449
|
async getTimesheetsRaw(requestParameters: GetTimesheetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedTimesheets>> {
|
|
4438
4450
|
const requestOptions = await this.getTimesheetsRequestOpts(requestParameters);
|
|
@@ -4442,8 +4454,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4442
4454
|
}
|
|
4443
4455
|
|
|
4444
4456
|
/**
|
|
4445
|
-
*
|
|
4446
|
-
*
|
|
4457
|
+
* List the timesheets of all employees in a project, one per employee per month. Do not include the daily entries of the timesheets, only the summary.
|
|
4458
|
+
* List timesheets of a project
|
|
4447
4459
|
*/
|
|
4448
4460
|
async getTimesheets(requestParameters: GetTimesheetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedTimesheets> {
|
|
4449
4461
|
const response = await this.getTimesheetsRaw(requestParameters, initOverrides);
|
|
@@ -4482,8 +4494,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4482
4494
|
}
|
|
4483
4495
|
|
|
4484
4496
|
/**
|
|
4485
|
-
* Get token by ID
|
|
4486
|
-
* Get
|
|
4497
|
+
* Get a personal API token of the current user by ID.
|
|
4498
|
+
* Get an API token
|
|
4487
4499
|
*/
|
|
4488
4500
|
async getTokenRaw(requestParameters: GetTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TokenDTO>> {
|
|
4489
4501
|
const requestOptions = await this.getTokenRequestOpts(requestParameters);
|
|
@@ -4493,8 +4505,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4493
4505
|
}
|
|
4494
4506
|
|
|
4495
4507
|
/**
|
|
4496
|
-
* Get token by ID
|
|
4497
|
-
* Get
|
|
4508
|
+
* Get a personal API token of the current user by ID.
|
|
4509
|
+
* Get an API token
|
|
4498
4510
|
*/
|
|
4499
4511
|
async getToken(requestParameters: GetTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenDTO> {
|
|
4500
4512
|
const response = await this.getTokenRaw(requestParameters, initOverrides);
|
|
@@ -4525,8 +4537,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4525
4537
|
}
|
|
4526
4538
|
|
|
4527
4539
|
/**
|
|
4528
|
-
*
|
|
4529
|
-
*
|
|
4540
|
+
* List the permissions available to the current user based on their role.
|
|
4541
|
+
* List my permissions
|
|
4530
4542
|
*/
|
|
4531
4543
|
async getUserPermissionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RolePermissionsDTO>> {
|
|
4532
4544
|
const requestOptions = await this.getUserPermissionsRequestOpts();
|
|
@@ -4536,8 +4548,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4536
4548
|
}
|
|
4537
4549
|
|
|
4538
4550
|
/**
|
|
4539
|
-
*
|
|
4540
|
-
*
|
|
4551
|
+
* List the permissions available to the current user based on their role.
|
|
4552
|
+
* List my permissions
|
|
4541
4553
|
*/
|
|
4542
4554
|
async getUserPermissions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RolePermissionsDTO> {
|
|
4543
4555
|
const response = await this.getUserPermissionsRaw(initOverrides);
|
|
@@ -4576,8 +4588,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4576
4588
|
}
|
|
4577
4589
|
|
|
4578
4590
|
/**
|
|
4579
|
-
*
|
|
4580
|
-
*
|
|
4591
|
+
* List the personal API tokens of the current user.
|
|
4592
|
+
* List my API tokens
|
|
4581
4593
|
*/
|
|
4582
4594
|
async getUserTokensRaw(requestParameters: GetUserTokensRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedTokens>> {
|
|
4583
4595
|
const requestOptions = await this.getUserTokensRequestOpts(requestParameters);
|
|
@@ -4587,8 +4599,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4587
4599
|
}
|
|
4588
4600
|
|
|
4589
4601
|
/**
|
|
4590
|
-
*
|
|
4591
|
-
*
|
|
4602
|
+
* List the personal API tokens of the current user.
|
|
4603
|
+
* List my API tokens
|
|
4592
4604
|
*/
|
|
4593
4605
|
async getUserTokens(requestParameters: GetUserTokensRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedTokens> {
|
|
4594
4606
|
const response = await this.getUserTokensRaw(requestParameters, initOverrides);
|
|
@@ -4629,8 +4641,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4629
4641
|
}
|
|
4630
4642
|
|
|
4631
4643
|
/**
|
|
4632
|
-
*
|
|
4633
|
-
* Invite an employee
|
|
4644
|
+
* Create or add an employee account. Sends an invitation email.
|
|
4645
|
+
* Invite an employee
|
|
4634
4646
|
*/
|
|
4635
4647
|
async inviteEmployeeRaw(requestParameters: InviteEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EmployeeDTO>> {
|
|
4636
4648
|
const requestOptions = await this.inviteEmployeeRequestOpts(requestParameters);
|
|
@@ -4640,8 +4652,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4640
4652
|
}
|
|
4641
4653
|
|
|
4642
4654
|
/**
|
|
4643
|
-
*
|
|
4644
|
-
* Invite an employee
|
|
4655
|
+
* Create or add an employee account. Sends an invitation email.
|
|
4656
|
+
* Invite an employee
|
|
4645
4657
|
*/
|
|
4646
4658
|
async inviteEmployee(requestParameters: InviteEmployeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmployeeDTO> {
|
|
4647
4659
|
const response = await this.inviteEmployeeRaw(requestParameters, initOverrides);
|
|
@@ -4698,7 +4710,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4698
4710
|
}
|
|
4699
4711
|
|
|
4700
4712
|
/**
|
|
4701
|
-
* Mark an employee invoice as paid
|
|
4713
|
+
* Mark an employee invoice as paid.
|
|
4702
4714
|
* Mark an employee invoice as paid
|
|
4703
4715
|
*/
|
|
4704
4716
|
async markEmployeeInvoiceAsPaidRaw(requestParameters: MarkEmployeeInvoiceAsPaidRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -4709,7 +4721,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4709
4721
|
}
|
|
4710
4722
|
|
|
4711
4723
|
/**
|
|
4712
|
-
* Mark an employee invoice as paid
|
|
4724
|
+
* Mark an employee invoice as paid.
|
|
4713
4725
|
* Mark an employee invoice as paid
|
|
4714
4726
|
*/
|
|
4715
4727
|
async markEmployeeInvoiceAsPaid(requestParameters: MarkEmployeeInvoiceAsPaidRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -4766,8 +4778,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4766
4778
|
}
|
|
4767
4779
|
|
|
4768
4780
|
/**
|
|
4781
|
+
* Mark a client invoice as paid on a given date.
|
|
4769
4782
|
* Mark a client invoice as paid
|
|
4770
|
-
* Mark a client invoice as paid with the specified date and time
|
|
4771
4783
|
*/
|
|
4772
4784
|
async markInvoiceAsPaidRaw(requestParameters: MarkInvoiceAsPaidRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
4773
4785
|
const requestOptions = await this.markInvoiceAsPaidRequestOpts(requestParameters);
|
|
@@ -4777,8 +4789,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4777
4789
|
}
|
|
4778
4790
|
|
|
4779
4791
|
/**
|
|
4792
|
+
* Mark a client invoice as paid on a given date.
|
|
4780
4793
|
* Mark a client invoice as paid
|
|
4781
|
-
* Mark a client invoice as paid with the specified date and time
|
|
4782
4794
|
*/
|
|
4783
4795
|
async markInvoiceAsPaid(requestParameters: MarkInvoiceAsPaidRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
4784
4796
|
await this.markInvoiceAsPaidRaw(requestParameters, initOverrides);
|
|
@@ -4824,8 +4836,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4824
4836
|
}
|
|
4825
4837
|
|
|
4826
4838
|
/**
|
|
4827
|
-
*
|
|
4828
|
-
*
|
|
4839
|
+
* Reopen a SENT timesheet so it can be edited again.
|
|
4840
|
+
* Reopen a sent timesheet
|
|
4829
4841
|
*/
|
|
4830
4842
|
async openSentTimesheetRaw(requestParameters: OpenSentTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
4831
4843
|
const requestOptions = await this.openSentTimesheetRequestOpts(requestParameters);
|
|
@@ -4835,8 +4847,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4835
4847
|
}
|
|
4836
4848
|
|
|
4837
4849
|
/**
|
|
4838
|
-
*
|
|
4839
|
-
*
|
|
4850
|
+
* Reopen a SENT timesheet so it can be edited again.
|
|
4851
|
+
* Reopen a sent timesheet
|
|
4840
4852
|
*/
|
|
4841
4853
|
async openSentTimesheet(requestParameters: OpenSentTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
4842
4854
|
await this.openSentTimesheetRaw(requestParameters, initOverrides);
|
|
@@ -4874,8 +4886,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4874
4886
|
}
|
|
4875
4887
|
|
|
4876
4888
|
/**
|
|
4877
|
-
*
|
|
4878
|
-
* Remove
|
|
4889
|
+
* Unlink a Jira account from the current user.
|
|
4890
|
+
* Remove a Jira account
|
|
4879
4891
|
*/
|
|
4880
4892
|
async removeJiraAccountRaw(requestParameters: RemoveJiraAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
4881
4893
|
const requestOptions = await this.removeJiraAccountRequestOpts(requestParameters);
|
|
@@ -4885,8 +4897,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4885
4897
|
}
|
|
4886
4898
|
|
|
4887
4899
|
/**
|
|
4888
|
-
*
|
|
4889
|
-
* Remove
|
|
4900
|
+
* Unlink a Jira account from the current user.
|
|
4901
|
+
* Remove a Jira account
|
|
4890
4902
|
*/
|
|
4891
4903
|
async removeJiraAccount(requestParameters: RemoveJiraAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
4892
4904
|
await this.removeJiraAccountRaw(requestParameters, initOverrides);
|
|
@@ -4932,7 +4944,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4932
4944
|
}
|
|
4933
4945
|
|
|
4934
4946
|
/**
|
|
4935
|
-
* Send
|
|
4947
|
+
* Send (submit) an OPEN timesheet for approval. It can no longer be edited unless it is reopened.
|
|
4936
4948
|
* Send a timesheet
|
|
4937
4949
|
*/
|
|
4938
4950
|
async sendTimesheetRaw(requestParameters: SendTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -4943,7 +4955,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
4943
4955
|
}
|
|
4944
4956
|
|
|
4945
4957
|
/**
|
|
4946
|
-
* Send
|
|
4958
|
+
* Send (submit) an OPEN timesheet for approval. It can no longer be edited unless it is reopened.
|
|
4947
4959
|
* Send a timesheet
|
|
4948
4960
|
*/
|
|
4949
4961
|
async sendTimesheet(requestParameters: SendTimesheetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -5008,7 +5020,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5008
5020
|
}
|
|
5009
5021
|
|
|
5010
5022
|
/**
|
|
5011
|
-
* Update an adjusted timesheet
|
|
5023
|
+
* Update or change the hours of a day in an adjusted timesheet. Only possible while the adjusted timesheet is OPEN.
|
|
5012
5024
|
* Update an adjusted timesheet entry
|
|
5013
5025
|
*/
|
|
5014
5026
|
async updateAdjustedEntryRaw(requestParameters: UpdateAdjustedEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AdjustedTimesheetEntryDTO>> {
|
|
@@ -5019,7 +5031,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5019
5031
|
}
|
|
5020
5032
|
|
|
5021
5033
|
/**
|
|
5022
|
-
* Update an adjusted timesheet
|
|
5034
|
+
* Update or change the hours of a day in an adjusted timesheet. Only possible while the adjusted timesheet is OPEN.
|
|
5023
5035
|
* Update an adjusted timesheet entry
|
|
5024
5036
|
*/
|
|
5025
5037
|
async updateAdjustedEntry(requestParameters: UpdateAdjustedEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AdjustedTimesheetEntryDTO> {
|
|
@@ -5069,7 +5081,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5069
5081
|
}
|
|
5070
5082
|
|
|
5071
5083
|
/**
|
|
5072
|
-
* Update client
|
|
5084
|
+
* Update or change the data of a client (customer).
|
|
5085
|
+
* Update a client
|
|
5073
5086
|
*/
|
|
5074
5087
|
async updateClientRaw(requestParameters: UpdateClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClientDTO>> {
|
|
5075
5088
|
const requestOptions = await this.updateClientRequestOpts(requestParameters);
|
|
@@ -5079,7 +5092,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5079
5092
|
}
|
|
5080
5093
|
|
|
5081
5094
|
/**
|
|
5082
|
-
* Update client
|
|
5095
|
+
* Update or change the data of a client (customer).
|
|
5096
|
+
* Update a client
|
|
5083
5097
|
*/
|
|
5084
5098
|
async updateClient(requestParameters: UpdateClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClientDTO> {
|
|
5085
5099
|
const response = await this.updateClientRaw(requestParameters, initOverrides);
|
|
@@ -5128,8 +5142,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5128
5142
|
}
|
|
5129
5143
|
|
|
5130
5144
|
/**
|
|
5145
|
+
* Update or change the data of a company.
|
|
5131
5146
|
* Update a company
|
|
5132
|
-
* Update a company by ID
|
|
5133
5147
|
*/
|
|
5134
5148
|
async updateCompanyRaw(requestParameters: UpdateCompanyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompanyDTO>> {
|
|
5135
5149
|
const requestOptions = await this.updateCompanyRequestOpts(requestParameters);
|
|
@@ -5139,8 +5153,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5139
5153
|
}
|
|
5140
5154
|
|
|
5141
5155
|
/**
|
|
5156
|
+
* Update or change the data of a company.
|
|
5142
5157
|
* Update a company
|
|
5143
|
-
* Update a company by ID
|
|
5144
5158
|
*/
|
|
5145
5159
|
async updateCompany(requestParameters: UpdateCompanyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompanyDTO> {
|
|
5146
5160
|
const response = await this.updateCompanyRaw(requestParameters, initOverrides);
|
|
@@ -5189,7 +5203,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5189
5203
|
}
|
|
5190
5204
|
|
|
5191
5205
|
/**
|
|
5192
|
-
* Update an employee
|
|
5206
|
+
* Update or change the data of an employee.
|
|
5193
5207
|
* Update an employee
|
|
5194
5208
|
*/
|
|
5195
5209
|
async updateEmployeeDataRaw(requestParameters: UpdateEmployeeDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EmployeeDTO>> {
|
|
@@ -5200,7 +5214,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5200
5214
|
}
|
|
5201
5215
|
|
|
5202
5216
|
/**
|
|
5203
|
-
* Update an employee
|
|
5217
|
+
* Update or change the data of an employee.
|
|
5204
5218
|
* Update an employee
|
|
5205
5219
|
*/
|
|
5206
5220
|
async updateEmployeeData(requestParameters: UpdateEmployeeDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EmployeeDTO> {
|
|
@@ -5266,7 +5280,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5266
5280
|
}
|
|
5267
5281
|
|
|
5268
5282
|
/**
|
|
5269
|
-
* Update a global timesheet
|
|
5283
|
+
* Update or change the hours or comments of a day in a global timesheet. Only possible while the global timesheet is OPEN.
|
|
5270
5284
|
* Update a global timesheet entry
|
|
5271
5285
|
*/
|
|
5272
5286
|
async updateGlobalTimesheetEntryRaw(requestParameters: UpdateGlobalTimesheetEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GlobalTimesheetEntryDTO>> {
|
|
@@ -5277,7 +5291,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5277
5291
|
}
|
|
5278
5292
|
|
|
5279
5293
|
/**
|
|
5280
|
-
* Update a global timesheet
|
|
5294
|
+
* Update or change the hours or comments of a day in a global timesheet. Only possible while the global timesheet is OPEN.
|
|
5281
5295
|
* Update a global timesheet entry
|
|
5282
5296
|
*/
|
|
5283
5297
|
async updateGlobalTimesheetEntry(requestParameters: UpdateGlobalTimesheetEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GlobalTimesheetEntryDTO> {
|
|
@@ -5327,8 +5341,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5327
5341
|
}
|
|
5328
5342
|
|
|
5329
5343
|
/**
|
|
5344
|
+
* Update or change the data of a project. Changing the end date creates or deletes the matching timesheets.
|
|
5330
5345
|
* Update a project
|
|
5331
|
-
* Update a project by ID
|
|
5332
5346
|
*/
|
|
5333
5347
|
async updateProjectRaw(requestParameters: UpdateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>> {
|
|
5334
5348
|
const requestOptions = await this.updateProjectRequestOpts(requestParameters);
|
|
@@ -5338,8 +5352,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5338
5352
|
}
|
|
5339
5353
|
|
|
5340
5354
|
/**
|
|
5355
|
+
* Update or change the data of a project. Changing the end date creates or deletes the matching timesheets.
|
|
5341
5356
|
* Update a project
|
|
5342
|
-
* Update a project by ID
|
|
5343
5357
|
*/
|
|
5344
5358
|
async updateProject(requestParameters: UpdateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO> {
|
|
5345
5359
|
const response = await this.updateProjectRaw(requestParameters, initOverrides);
|
|
@@ -5380,8 +5394,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5380
5394
|
}
|
|
5381
5395
|
|
|
5382
5396
|
/**
|
|
5383
|
-
* Update Slack
|
|
5384
|
-
* Update Slack user
|
|
5397
|
+
* Update or change the Slack settings of the current user.
|
|
5398
|
+
* Update my Slack user
|
|
5385
5399
|
*/
|
|
5386
5400
|
async updateSlackUserRaw(requestParameters: UpdateSlackUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ClientSlackUserDTO>> {
|
|
5387
5401
|
const requestOptions = await this.updateSlackUserRequestOpts(requestParameters);
|
|
@@ -5391,8 +5405,8 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5391
5405
|
}
|
|
5392
5406
|
|
|
5393
5407
|
/**
|
|
5394
|
-
* Update Slack
|
|
5395
|
-
* Update Slack user
|
|
5408
|
+
* Update or change the Slack settings of the current user.
|
|
5409
|
+
* Update my Slack user
|
|
5396
5410
|
*/
|
|
5397
5411
|
async updateSlackUser(requestParameters: UpdateSlackUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ClientSlackUserDTO> {
|
|
5398
5412
|
const response = await this.updateSlackUserRaw(requestParameters, initOverrides);
|
|
@@ -5441,7 +5455,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5441
5455
|
}
|
|
5442
5456
|
|
|
5443
5457
|
/**
|
|
5444
|
-
* Update a project team
|
|
5458
|
+
* Update or change the team of a project. The list sent replaces the whole team.
|
|
5445
5459
|
* Update a project team
|
|
5446
5460
|
*/
|
|
5447
5461
|
async updateTeamRaw(requestParameters: UpdateTeamRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -5452,7 +5466,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5452
5466
|
}
|
|
5453
5467
|
|
|
5454
5468
|
/**
|
|
5455
|
-
* Update a project team
|
|
5469
|
+
* Update or change the team of a project. The list sent replaces the whole team.
|
|
5456
5470
|
* Update a project team
|
|
5457
5471
|
*/
|
|
5458
5472
|
async updateTeam(requestParameters: UpdateTeamRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
@@ -5517,7 +5531,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5517
5531
|
}
|
|
5518
5532
|
|
|
5519
5533
|
/**
|
|
5520
|
-
* Update a timesheet
|
|
5534
|
+
* Update or change the hours of a day in an employee timesheet. Only possible while the timesheet is OPEN.
|
|
5521
5535
|
* Update a timesheet entry
|
|
5522
5536
|
*/
|
|
5523
5537
|
async updateTimesheetEntryRaw(requestParameters: UpdateTimesheetEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
@@ -5528,7 +5542,7 @@ export class ClientApi extends runtime.BaseAPI {
|
|
|
5528
5542
|
}
|
|
5529
5543
|
|
|
5530
5544
|
/**
|
|
5531
|
-
* Update a timesheet
|
|
5545
|
+
* Update or change the hours of a day in an employee timesheet. Only possible while the timesheet is OPEN.
|
|
5532
5546
|
* Update a timesheet entry
|
|
5533
5547
|
*/
|
|
5534
5548
|
async updateTimesheetEntry(requestParameters: UpdateTimesheetEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|