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.js
CHANGED
|
@@ -132,7 +132,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
134
|
/**
|
|
135
|
-
* Activate an employee
|
|
135
|
+
* Activate an invited employee by linking it to its Auth0 user. Internal endpoint.
|
|
136
136
|
* Activate an employee
|
|
137
137
|
*/
|
|
138
138
|
async activateEmployeeRaw(requestParameters, initOverrides) {
|
|
@@ -141,7 +141,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
141
141
|
return new runtime.VoidApiResponse(response);
|
|
142
142
|
}
|
|
143
143
|
/**
|
|
144
|
-
* Activate an employee
|
|
144
|
+
* Activate an invited employee by linking it to its Auth0 user. Internal endpoint.
|
|
145
145
|
* Activate an employee
|
|
146
146
|
*/
|
|
147
147
|
async activateEmployee(requestParameters, initOverrides) {
|
|
@@ -170,8 +170,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
172
|
/**
|
|
173
|
-
*
|
|
174
|
-
* Add Jira account
|
|
173
|
+
* Link a Jira account to the current user.
|
|
174
|
+
* Add a Jira account
|
|
175
175
|
*/
|
|
176
176
|
async addJiraAccountRaw(requestParameters, initOverrides) {
|
|
177
177
|
const requestOptions = await this.addJiraAccountRequestOpts(requestParameters);
|
|
@@ -179,8 +179,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
179
179
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, JiraAccountDTO_1.JiraAccountDTOFromJSON)(jsonValue));
|
|
180
180
|
}
|
|
181
181
|
/**
|
|
182
|
-
*
|
|
183
|
-
* Add Jira account
|
|
182
|
+
* Link a Jira account to the current user.
|
|
183
|
+
* Add a Jira account
|
|
184
184
|
*/
|
|
185
185
|
async addJiraAccount(requestParameters, initOverrides) {
|
|
186
186
|
const response = await this.addJiraAccountRaw(requestParameters, initOverrides);
|
|
@@ -221,7 +221,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
223
|
/**
|
|
224
|
-
* Update a timesheet
|
|
224
|
+
* Update or change the hours of a day in an employee timesheet. Only possible while the timesheet is OPEN. Internal endpoint.
|
|
225
225
|
* Update a timesheet entry
|
|
226
226
|
*/
|
|
227
227
|
async apiUpdateTimesheetEntryRaw(requestParameters, initOverrides) {
|
|
@@ -230,7 +230,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
230
230
|
return new runtime.VoidApiResponse(response);
|
|
231
231
|
}
|
|
232
232
|
/**
|
|
233
|
-
* Update a timesheet
|
|
233
|
+
* Update or change the hours of a day in an employee timesheet. Only possible while the timesheet is OPEN. Internal endpoint.
|
|
234
234
|
* Update a timesheet entry
|
|
235
235
|
*/
|
|
236
236
|
async apiUpdateTimesheetEntry(requestParameters, initOverrides) {
|
|
@@ -262,8 +262,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
|
-
* Approve an
|
|
266
|
-
* Approve an
|
|
265
|
+
* Approve an OPEN adjusted timesheet. When all adjusted timesheets of the project for that month are approved, the monthly global timesheet is created automatically.
|
|
266
|
+
* Approve an adjusted timesheet
|
|
267
267
|
*/
|
|
268
268
|
async approveAdjustedTimesheetRaw(requestParameters, initOverrides) {
|
|
269
269
|
const requestOptions = await this.approveAdjustedTimesheetRequestOpts(requestParameters);
|
|
@@ -271,8 +271,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
271
271
|
return new runtime.VoidApiResponse(response);
|
|
272
272
|
}
|
|
273
273
|
/**
|
|
274
|
-
* Approve an
|
|
275
|
-
* Approve an
|
|
274
|
+
* Approve an OPEN adjusted timesheet. When all adjusted timesheets of the project for that month are approved, the monthly global timesheet is created automatically.
|
|
275
|
+
* Approve an adjusted timesheet
|
|
276
276
|
*/
|
|
277
277
|
async approveAdjustedTimesheet(requestParameters, initOverrides) {
|
|
278
278
|
await this.approveAdjustedTimesheetRaw(requestParameters, initOverrides);
|
|
@@ -303,7 +303,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
305
|
/**
|
|
306
|
-
* Approve
|
|
306
|
+
* Approve an OPEN global timesheet. This creates the client invoice automatically.
|
|
307
307
|
* Approve a global timesheet
|
|
308
308
|
*/
|
|
309
309
|
async approveGlobalTimesheetRaw(requestParameters, initOverrides) {
|
|
@@ -312,7 +312,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
312
312
|
return new runtime.VoidApiResponse(response);
|
|
313
313
|
}
|
|
314
314
|
/**
|
|
315
|
-
* Approve
|
|
315
|
+
* Approve an OPEN global timesheet. This creates the client invoice automatically.
|
|
316
316
|
* Approve a global timesheet
|
|
317
317
|
*/
|
|
318
318
|
async approveGlobalTimesheet(requestParameters, initOverrides) {
|
|
@@ -344,7 +344,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
344
344
|
};
|
|
345
345
|
}
|
|
346
346
|
/**
|
|
347
|
-
* Approve a timesheet
|
|
347
|
+
* Approve a SENT timesheet. This creates its adjusted timesheet automatically.
|
|
348
348
|
* Approve a timesheet
|
|
349
349
|
*/
|
|
350
350
|
async approveTimesheetRaw(requestParameters, initOverrides) {
|
|
@@ -353,7 +353,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
353
353
|
return new runtime.VoidApiResponse(response);
|
|
354
354
|
}
|
|
355
355
|
/**
|
|
356
|
-
* Approve a timesheet
|
|
356
|
+
* Approve a SENT timesheet. This creates its adjusted timesheet automatically.
|
|
357
357
|
* Approve a timesheet
|
|
358
358
|
*/
|
|
359
359
|
async approveTimesheet(requestParameters, initOverrides) {
|
|
@@ -382,7 +382,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
382
382
|
};
|
|
383
383
|
}
|
|
384
384
|
/**
|
|
385
|
-
* Create client
|
|
385
|
+
* Create a client (customer).
|
|
386
|
+
* Create a client
|
|
386
387
|
*/
|
|
387
388
|
async createClientRaw(requestParameters, initOverrides) {
|
|
388
389
|
const requestOptions = await this.createClientRequestOpts(requestParameters);
|
|
@@ -390,7 +391,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
390
391
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ClientDTO_1.ClientDTOFromJSON)(jsonValue));
|
|
391
392
|
}
|
|
392
393
|
/**
|
|
393
|
-
* Create client
|
|
394
|
+
* Create a client (customer).
|
|
395
|
+
* Create a client
|
|
394
396
|
*/
|
|
395
397
|
async createClient(requestParameters, initOverrides) {
|
|
396
398
|
const response = await this.createClientRaw(requestParameters, initOverrides);
|
|
@@ -419,8 +421,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
419
421
|
};
|
|
420
422
|
}
|
|
421
423
|
/**
|
|
424
|
+
* Create a company and make the current user its admin.
|
|
422
425
|
* Create a company
|
|
423
|
-
* Creates a new company
|
|
424
426
|
*/
|
|
425
427
|
async createCompanyRaw(requestParameters, initOverrides) {
|
|
426
428
|
const requestOptions = await this.createCompanyRequestOpts(requestParameters);
|
|
@@ -428,8 +430,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
428
430
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, CompanyDTO_1.CompanyDTOFromJSON)(jsonValue));
|
|
429
431
|
}
|
|
430
432
|
/**
|
|
433
|
+
* Create a company and make the current user its admin.
|
|
431
434
|
* Create a company
|
|
432
|
-
* Creates a new company
|
|
433
435
|
*/
|
|
434
436
|
async createCompany(requestParameters, initOverrides) {
|
|
435
437
|
const response = await this.createCompanyRaw(requestParameters, initOverrides);
|
|
@@ -462,7 +464,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
462
464
|
};
|
|
463
465
|
}
|
|
464
466
|
/**
|
|
465
|
-
* Create an employee
|
|
467
|
+
* Create a monthly payment invoice for an employee.
|
|
466
468
|
* Create an employee invoice
|
|
467
469
|
*/
|
|
468
470
|
async createEmployeeInvoiceRaw(requestParameters, initOverrides) {
|
|
@@ -471,7 +473,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
471
473
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, EmployeeInvoiceDTO_1.EmployeeInvoiceDTOFromJSON)(jsonValue));
|
|
472
474
|
}
|
|
473
475
|
/**
|
|
474
|
-
* Create an employee
|
|
476
|
+
* Create a monthly payment invoice for an employee.
|
|
475
477
|
* Create an employee invoice
|
|
476
478
|
*/
|
|
477
479
|
async createEmployeeInvoice(requestParameters, initOverrides) {
|
|
@@ -501,8 +503,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
501
503
|
};
|
|
502
504
|
}
|
|
503
505
|
/**
|
|
504
|
-
*
|
|
505
|
-
* Create GitHub user
|
|
506
|
+
* Link a GitHub account to the current user.
|
|
507
|
+
* Create a GitHub user
|
|
506
508
|
*/
|
|
507
509
|
async createGithubUserRaw(requestParameters, initOverrides) {
|
|
508
510
|
const requestOptions = await this.createGithubUserRequestOpts(requestParameters);
|
|
@@ -510,8 +512,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
510
512
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ClientGithubUserDTO_1.ClientGithubUserDTOFromJSON)(jsonValue));
|
|
511
513
|
}
|
|
512
514
|
/**
|
|
513
|
-
*
|
|
514
|
-
* Create GitHub user
|
|
515
|
+
* Link a GitHub account to the current user.
|
|
516
|
+
* Create a GitHub user
|
|
515
517
|
*/
|
|
516
518
|
async createGithubUser(requestParameters, initOverrides) {
|
|
517
519
|
const response = await this.createGithubUserRaw(requestParameters, initOverrides);
|
|
@@ -540,7 +542,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
540
542
|
};
|
|
541
543
|
}
|
|
542
544
|
/**
|
|
543
|
-
*
|
|
545
|
+
* Create (book) a holiday or day off for the current user. The date must be at least 14 days in the future.
|
|
546
|
+
* Create a holiday
|
|
544
547
|
*/
|
|
545
548
|
async createHolidayRaw(requestParameters, initOverrides) {
|
|
546
549
|
const requestOptions = await this.createHolidayRequestOpts(requestParameters);
|
|
@@ -548,7 +551,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
548
551
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, HolidayDTO_1.HolidayDTOFromJSON)(jsonValue));
|
|
549
552
|
}
|
|
550
553
|
/**
|
|
551
|
-
*
|
|
554
|
+
* Create (book) a holiday or day off for the current user. The date must be at least 14 days in the future.
|
|
555
|
+
* Create a holiday
|
|
552
556
|
*/
|
|
553
557
|
async createHoliday(requestParameters, initOverrides) {
|
|
554
558
|
const response = await this.createHolidayRaw(requestParameters, initOverrides);
|
|
@@ -581,7 +585,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
581
585
|
};
|
|
582
586
|
}
|
|
583
587
|
/**
|
|
584
|
-
*
|
|
588
|
+
* Create (book) a holiday or day off for an employee, without the 14-day minimum notice. Admin only.
|
|
589
|
+
* Create a holiday for an employee
|
|
585
590
|
*/
|
|
586
591
|
async createHolidayForEmployeeRaw(requestParameters, initOverrides) {
|
|
587
592
|
const requestOptions = await this.createHolidayForEmployeeRequestOpts(requestParameters);
|
|
@@ -589,7 +594,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
589
594
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, HolidayDTO_1.HolidayDTOFromJSON)(jsonValue));
|
|
590
595
|
}
|
|
591
596
|
/**
|
|
592
|
-
*
|
|
597
|
+
* Create (book) a holiday or day off for an employee, without the 14-day minimum notice. Admin only.
|
|
598
|
+
* Create a holiday for an employee
|
|
593
599
|
*/
|
|
594
600
|
async createHolidayForEmployee(requestParameters, initOverrides) {
|
|
595
601
|
const response = await this.createHolidayForEmployeeRaw(requestParameters, initOverrides);
|
|
@@ -618,8 +624,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
618
624
|
};
|
|
619
625
|
}
|
|
620
626
|
/**
|
|
621
|
-
* Create a
|
|
622
|
-
* Create Jira user
|
|
627
|
+
* Create a Jira user for the current user.
|
|
628
|
+
* Create a Jira user
|
|
623
629
|
*/
|
|
624
630
|
async createJiraUserRaw(requestParameters, initOverrides) {
|
|
625
631
|
const requestOptions = await this.createJiraUserRequestOpts(requestParameters);
|
|
@@ -627,8 +633,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
627
633
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ClientJiraUserDTO_1.ClientJiraUserDTOFromJSON)(jsonValue));
|
|
628
634
|
}
|
|
629
635
|
/**
|
|
630
|
-
* Create a
|
|
631
|
-
* Create Jira user
|
|
636
|
+
* Create a Jira user for the current user.
|
|
637
|
+
* Create a Jira user
|
|
632
638
|
*/
|
|
633
639
|
async createJiraUser(requestParameters, initOverrides) {
|
|
634
640
|
const response = await this.createJiraUserRaw(requestParameters, initOverrides);
|
|
@@ -657,8 +663,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
657
663
|
};
|
|
658
664
|
}
|
|
659
665
|
/**
|
|
666
|
+
* Create a project for a client.
|
|
660
667
|
* Create a project
|
|
661
|
-
* Creates a new project
|
|
662
668
|
*/
|
|
663
669
|
async createProjectRaw(requestParameters, initOverrides) {
|
|
664
670
|
const requestOptions = await this.createProjectRequestOpts(requestParameters);
|
|
@@ -666,8 +672,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
666
672
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ProjectDTO_1.ProjectDTOFromJSON)(jsonValue));
|
|
667
673
|
}
|
|
668
674
|
/**
|
|
675
|
+
* Create a project for a client.
|
|
669
676
|
* Create a project
|
|
670
|
-
* Creates a new project
|
|
671
677
|
*/
|
|
672
678
|
async createProject(requestParameters, initOverrides) {
|
|
673
679
|
const response = await this.createProjectRaw(requestParameters, initOverrides);
|
|
@@ -696,8 +702,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
696
702
|
};
|
|
697
703
|
}
|
|
698
704
|
/**
|
|
699
|
-
*
|
|
700
|
-
* Create Slack user
|
|
705
|
+
* Link a Slack account to the current user.
|
|
706
|
+
* Create a Slack user
|
|
701
707
|
*/
|
|
702
708
|
async createSlackUserRaw(requestParameters, initOverrides) {
|
|
703
709
|
const requestOptions = await this.createSlackUserRequestOpts(requestParameters);
|
|
@@ -705,8 +711,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
705
711
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ClientSlackUserAccountDTO_1.ClientSlackUserAccountDTOFromJSON)(jsonValue));
|
|
706
712
|
}
|
|
707
713
|
/**
|
|
708
|
-
*
|
|
709
|
-
* Create Slack user
|
|
714
|
+
* Link a Slack account to the current user.
|
|
715
|
+
* Create a Slack user
|
|
710
716
|
*/
|
|
711
717
|
async createSlackUser(requestParameters, initOverrides) {
|
|
712
718
|
const response = await this.createSlackUserRaw(requestParameters, initOverrides);
|
|
@@ -735,8 +741,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
735
741
|
};
|
|
736
742
|
}
|
|
737
743
|
/**
|
|
738
|
-
* Create a
|
|
739
|
-
* Create
|
|
744
|
+
* Create a personal API token for the current user. The token value is shown only once.
|
|
745
|
+
* Create an API token
|
|
740
746
|
*/
|
|
741
747
|
async createTokenRaw(requestParameters, initOverrides) {
|
|
742
748
|
const requestOptions = await this.createTokenRequestOpts(requestParameters);
|
|
@@ -744,8 +750,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
744
750
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, CreateTokenResponseDTO_1.CreateTokenResponseDTOFromJSON)(jsonValue));
|
|
745
751
|
}
|
|
746
752
|
/**
|
|
747
|
-
* Create a
|
|
748
|
-
* Create
|
|
753
|
+
* Create a personal API token for the current user. The token value is shown only once.
|
|
754
|
+
* Create an API token
|
|
749
755
|
*/
|
|
750
756
|
async createToken(requestParameters, initOverrides) {
|
|
751
757
|
const response = await this.createTokenRaw(requestParameters, initOverrides);
|
|
@@ -773,8 +779,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
773
779
|
};
|
|
774
780
|
}
|
|
775
781
|
/**
|
|
776
|
-
* Delete client
|
|
777
|
-
* Delete client
|
|
782
|
+
* Delete a client (customer).
|
|
783
|
+
* Delete a client
|
|
778
784
|
*/
|
|
779
785
|
async deleteClientRaw(requestParameters, initOverrides) {
|
|
780
786
|
const requestOptions = await this.deleteClientRequestOpts(requestParameters);
|
|
@@ -782,8 +788,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
782
788
|
return new runtime.VoidApiResponse(response);
|
|
783
789
|
}
|
|
784
790
|
/**
|
|
785
|
-
* Delete client
|
|
786
|
-
* Delete client
|
|
791
|
+
* Delete a client (customer).
|
|
792
|
+
* Delete a client
|
|
787
793
|
*/
|
|
788
794
|
async deleteClient(requestParameters, initOverrides) {
|
|
789
795
|
await this.deleteClientRaw(requestParameters, initOverrides);
|
|
@@ -810,7 +816,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
810
816
|
};
|
|
811
817
|
}
|
|
812
818
|
/**
|
|
813
|
-
* Delete a company
|
|
819
|
+
* Delete a company and all its data: clients, projects, timesheets and employee memberships. This cannot be undone.
|
|
814
820
|
* Delete a company
|
|
815
821
|
*/
|
|
816
822
|
async deleteCompanyRaw(requestParameters, initOverrides) {
|
|
@@ -819,7 +825,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
819
825
|
return new runtime.VoidApiResponse(response);
|
|
820
826
|
}
|
|
821
827
|
/**
|
|
822
|
-
* Delete a company
|
|
828
|
+
* Delete a company and all its data: clients, projects, timesheets and employee memberships. This cannot be undone.
|
|
823
829
|
* Delete a company
|
|
824
830
|
*/
|
|
825
831
|
async deleteCompany(requestParameters, initOverrides) {
|
|
@@ -847,7 +853,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
847
853
|
};
|
|
848
854
|
}
|
|
849
855
|
/**
|
|
850
|
-
*
|
|
856
|
+
* Remove an employee and delete their future timesheets.
|
|
851
857
|
* Delete an employee
|
|
852
858
|
*/
|
|
853
859
|
async deleteEmployeeRaw(requestParameters, initOverrides) {
|
|
@@ -856,7 +862,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
856
862
|
return new runtime.VoidApiResponse(response);
|
|
857
863
|
}
|
|
858
864
|
/**
|
|
859
|
-
*
|
|
865
|
+
* Remove an employee and delete their future timesheets.
|
|
860
866
|
* Delete an employee
|
|
861
867
|
*/
|
|
862
868
|
async deleteEmployee(requestParameters, initOverrides) {
|
|
@@ -888,7 +894,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
888
894
|
};
|
|
889
895
|
}
|
|
890
896
|
/**
|
|
891
|
-
* Delete an employee invoice
|
|
897
|
+
* Delete an employee invoice. Paid invoices cannot be deleted.
|
|
892
898
|
* Delete an employee invoice
|
|
893
899
|
*/
|
|
894
900
|
async deleteEmployeeInvoiceRaw(requestParameters, initOverrides) {
|
|
@@ -897,7 +903,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
897
903
|
return new runtime.VoidApiResponse(response);
|
|
898
904
|
}
|
|
899
905
|
/**
|
|
900
|
-
* Delete an employee invoice
|
|
906
|
+
* Delete an employee invoice. Paid invoices cannot be deleted.
|
|
901
907
|
* Delete an employee invoice
|
|
902
908
|
*/
|
|
903
909
|
async deleteEmployeeInvoice(requestParameters, initOverrides) {
|
|
@@ -921,8 +927,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
921
927
|
};
|
|
922
928
|
}
|
|
923
929
|
/**
|
|
924
|
-
*
|
|
925
|
-
* Delete GitHub
|
|
930
|
+
* Unlink and delete the GitHub account of the current user.
|
|
931
|
+
* Delete my GitHub account
|
|
926
932
|
*/
|
|
927
933
|
async deleteGithubUserRaw(initOverrides) {
|
|
928
934
|
const requestOptions = await this.deleteGithubUserRequestOpts();
|
|
@@ -930,8 +936,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
930
936
|
return new runtime.VoidApiResponse(response);
|
|
931
937
|
}
|
|
932
938
|
/**
|
|
933
|
-
*
|
|
934
|
-
* Delete GitHub
|
|
939
|
+
* Unlink and delete the GitHub account of the current user.
|
|
940
|
+
* Delete my GitHub account
|
|
935
941
|
*/
|
|
936
942
|
async deleteGithubUser(initOverrides) {
|
|
937
943
|
await this.deleteGithubUserRaw(initOverrides);
|
|
@@ -958,7 +964,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
958
964
|
};
|
|
959
965
|
}
|
|
960
966
|
/**
|
|
961
|
-
* Delete a holiday
|
|
967
|
+
* Delete (cancel) a holiday of the current user. The date must be at least 14 days in the future.
|
|
962
968
|
* Delete a holiday
|
|
963
969
|
*/
|
|
964
970
|
async deleteHolidayRaw(requestParameters, initOverrides) {
|
|
@@ -967,7 +973,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
967
973
|
return new runtime.VoidApiResponse(response);
|
|
968
974
|
}
|
|
969
975
|
/**
|
|
970
|
-
* Delete a holiday
|
|
976
|
+
* Delete (cancel) a holiday of the current user. The date must be at least 14 days in the future.
|
|
971
977
|
* Delete a holiday
|
|
972
978
|
*/
|
|
973
979
|
async deleteHoliday(requestParameters, initOverrides) {
|
|
@@ -999,7 +1005,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
999
1005
|
};
|
|
1000
1006
|
}
|
|
1001
1007
|
/**
|
|
1002
|
-
*
|
|
1008
|
+
* Delete (cancel) a holiday of an employee, without the 14-day minimum notice. Admin only.
|
|
1003
1009
|
* Delete an employee\'s holiday
|
|
1004
1010
|
*/
|
|
1005
1011
|
async deleteHolidayForEmployeeRaw(requestParameters, initOverrides) {
|
|
@@ -1008,7 +1014,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1008
1014
|
return new runtime.VoidApiResponse(response);
|
|
1009
1015
|
}
|
|
1010
1016
|
/**
|
|
1011
|
-
*
|
|
1017
|
+
* Delete (cancel) a holiday of an employee, without the 14-day minimum notice. Admin only.
|
|
1012
1018
|
* Delete an employee\'s holiday
|
|
1013
1019
|
*/
|
|
1014
1020
|
async deleteHolidayForEmployee(requestParameters, initOverrides) {
|
|
@@ -1036,7 +1042,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1036
1042
|
};
|
|
1037
1043
|
}
|
|
1038
1044
|
/**
|
|
1039
|
-
* Delete a project
|
|
1045
|
+
* Delete a project.
|
|
1040
1046
|
* Delete a project
|
|
1041
1047
|
*/
|
|
1042
1048
|
async deleteProjectRaw(requestParameters, initOverrides) {
|
|
@@ -1045,7 +1051,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1045
1051
|
return new runtime.VoidApiResponse(response);
|
|
1046
1052
|
}
|
|
1047
1053
|
/**
|
|
1048
|
-
* Delete a project
|
|
1054
|
+
* Delete a project.
|
|
1049
1055
|
* Delete a project
|
|
1050
1056
|
*/
|
|
1051
1057
|
async deleteProject(requestParameters, initOverrides) {
|
|
@@ -1069,8 +1075,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1069
1075
|
};
|
|
1070
1076
|
}
|
|
1071
1077
|
/**
|
|
1072
|
-
*
|
|
1073
|
-
* Delete Slack user
|
|
1078
|
+
* Unlink and delete the Slack account of the current user.
|
|
1079
|
+
* Delete my Slack user
|
|
1074
1080
|
*/
|
|
1075
1081
|
async deleteSlackUserRaw(initOverrides) {
|
|
1076
1082
|
const requestOptions = await this.deleteSlackUserRequestOpts();
|
|
@@ -1078,8 +1084,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1078
1084
|
return new runtime.VoidApiResponse(response);
|
|
1079
1085
|
}
|
|
1080
1086
|
/**
|
|
1081
|
-
*
|
|
1082
|
-
* Delete Slack user
|
|
1087
|
+
* Unlink and delete the Slack account of the current user.
|
|
1088
|
+
* Delete my Slack user
|
|
1083
1089
|
*/
|
|
1084
1090
|
async deleteSlackUser(initOverrides) {
|
|
1085
1091
|
await this.deleteSlackUserRaw(initOverrides);
|
|
@@ -1106,8 +1112,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1106
1112
|
};
|
|
1107
1113
|
}
|
|
1108
1114
|
/**
|
|
1109
|
-
* Delete token
|
|
1110
|
-
* Delete an API token
|
|
1115
|
+
* Delete (revoke) a personal API token of the current user.
|
|
1116
|
+
* Delete an API token
|
|
1111
1117
|
*/
|
|
1112
1118
|
async deleteTokenRaw(requestParameters, initOverrides) {
|
|
1113
1119
|
const requestOptions = await this.deleteTokenRequestOpts(requestParameters);
|
|
@@ -1115,8 +1121,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1115
1121
|
return new runtime.VoidApiResponse(response);
|
|
1116
1122
|
}
|
|
1117
1123
|
/**
|
|
1118
|
-
* Delete token
|
|
1119
|
-
* Delete an API token
|
|
1124
|
+
* Delete (revoke) a personal API token of the current user.
|
|
1125
|
+
* Delete an API token
|
|
1120
1126
|
*/
|
|
1121
1127
|
async deleteToken(requestParameters, initOverrides) {
|
|
1122
1128
|
await this.deleteTokenRaw(requestParameters, initOverrides);
|
|
@@ -1147,8 +1153,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1147
1153
|
};
|
|
1148
1154
|
}
|
|
1149
1155
|
/**
|
|
1150
|
-
* Download
|
|
1151
|
-
* Download an
|
|
1156
|
+
* Download the PDF report of an approved adjusted timesheet.
|
|
1157
|
+
* Download an adjusted timesheet PDF
|
|
1152
1158
|
*/
|
|
1153
1159
|
async downloadAdjustedTimesheetPdfRaw(requestParameters, initOverrides) {
|
|
1154
1160
|
const requestOptions = await this.downloadAdjustedTimesheetPdfRequestOpts(requestParameters);
|
|
@@ -1161,8 +1167,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1161
1167
|
}
|
|
1162
1168
|
}
|
|
1163
1169
|
/**
|
|
1164
|
-
* Download
|
|
1165
|
-
* Download an
|
|
1170
|
+
* Download the PDF report of an approved adjusted timesheet.
|
|
1171
|
+
* Download an adjusted timesheet PDF
|
|
1166
1172
|
*/
|
|
1167
1173
|
async downloadAdjustedTimesheetPdf(requestParameters, initOverrides) {
|
|
1168
1174
|
const response = await this.downloadAdjustedTimesheetPdfRaw(requestParameters, initOverrides);
|
|
@@ -1194,8 +1200,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1194
1200
|
};
|
|
1195
1201
|
}
|
|
1196
1202
|
/**
|
|
1197
|
-
* Download client invoice
|
|
1198
|
-
* Download client invoice
|
|
1203
|
+
* Download a client invoice file. Returns the signed e-invoice when available, otherwise the PDF.
|
|
1204
|
+
* Download a client invoice
|
|
1199
1205
|
*/
|
|
1200
1206
|
async downloadClientInvoicePdfRaw(requestParameters, initOverrides) {
|
|
1201
1207
|
const requestOptions = await this.downloadClientInvoicePdfRequestOpts(requestParameters);
|
|
@@ -1208,8 +1214,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1208
1214
|
}
|
|
1209
1215
|
}
|
|
1210
1216
|
/**
|
|
1211
|
-
* Download client invoice
|
|
1212
|
-
* Download client invoice
|
|
1217
|
+
* Download a client invoice file. Returns the signed e-invoice when available, otherwise the PDF.
|
|
1218
|
+
* Download a client invoice
|
|
1213
1219
|
*/
|
|
1214
1220
|
async downloadClientInvoicePdf(requestParameters, initOverrides) {
|
|
1215
1221
|
const response = await this.downloadClientInvoicePdfRaw(requestParameters, initOverrides);
|
|
@@ -1241,8 +1247,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1241
1247
|
};
|
|
1242
1248
|
}
|
|
1243
1249
|
/**
|
|
1244
|
-
* Download the
|
|
1245
|
-
* Download
|
|
1250
|
+
* Download the PDF of an employee invoice.
|
|
1251
|
+
* Download an employee invoice PDF
|
|
1246
1252
|
*/
|
|
1247
1253
|
async downloadEmployeeInvoicePdfRaw(requestParameters, initOverrides) {
|
|
1248
1254
|
const requestOptions = await this.downloadEmployeeInvoicePdfRequestOpts(requestParameters);
|
|
@@ -1255,8 +1261,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1255
1261
|
}
|
|
1256
1262
|
}
|
|
1257
1263
|
/**
|
|
1258
|
-
* Download the
|
|
1259
|
-
* Download
|
|
1264
|
+
* Download the PDF of an employee invoice.
|
|
1265
|
+
* Download an employee invoice PDF
|
|
1260
1266
|
*/
|
|
1261
1267
|
async downloadEmployeeInvoicePdf(requestParameters, initOverrides) {
|
|
1262
1268
|
const response = await this.downloadEmployeeInvoicePdfRaw(requestParameters, initOverrides);
|
|
@@ -1288,8 +1294,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1288
1294
|
};
|
|
1289
1295
|
}
|
|
1290
1296
|
/**
|
|
1291
|
-
* Download
|
|
1292
|
-
* Download a global timesheet
|
|
1297
|
+
* Download the PDF report of an approved global timesheet.
|
|
1298
|
+
* Download a global timesheet PDF
|
|
1293
1299
|
*/
|
|
1294
1300
|
async downloadGlobalTimesheetPdfRaw(requestParameters, initOverrides) {
|
|
1295
1301
|
const requestOptions = await this.downloadGlobalTimesheetPdfRequestOpts(requestParameters);
|
|
@@ -1302,8 +1308,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1302
1308
|
}
|
|
1303
1309
|
}
|
|
1304
1310
|
/**
|
|
1305
|
-
* Download
|
|
1306
|
-
* Download a global timesheet
|
|
1311
|
+
* Download the PDF report of an approved global timesheet.
|
|
1312
|
+
* Download a global timesheet PDF
|
|
1307
1313
|
*/
|
|
1308
1314
|
async downloadGlobalTimesheetPdf(requestParameters, initOverrides) {
|
|
1309
1315
|
const response = await this.downloadGlobalTimesheetPdfRaw(requestParameters, initOverrides);
|
|
@@ -1335,8 +1341,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1335
1341
|
};
|
|
1336
1342
|
}
|
|
1337
1343
|
/**
|
|
1338
|
-
* Download
|
|
1339
|
-
* Download a timesheet
|
|
1344
|
+
* Download the PDF report of an approved timesheet.
|
|
1345
|
+
* Download a timesheet PDF
|
|
1340
1346
|
*/
|
|
1341
1347
|
async downloadTimesheetPdfRaw(requestParameters, initOverrides) {
|
|
1342
1348
|
const requestOptions = await this.downloadTimesheetPdfRequestOpts(requestParameters);
|
|
@@ -1349,8 +1355,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1349
1355
|
}
|
|
1350
1356
|
}
|
|
1351
1357
|
/**
|
|
1352
|
-
* Download
|
|
1353
|
-
* Download a timesheet
|
|
1358
|
+
* Download the PDF report of an approved timesheet.
|
|
1359
|
+
* Download a timesheet PDF
|
|
1354
1360
|
*/
|
|
1355
1361
|
async downloadTimesheetPdf(requestParameters, initOverrides) {
|
|
1356
1362
|
const response = await this.downloadTimesheetPdfRaw(requestParameters, initOverrides);
|
|
@@ -1382,8 +1388,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1382
1388
|
};
|
|
1383
1389
|
}
|
|
1384
1390
|
/**
|
|
1385
|
-
* Get an
|
|
1386
|
-
* Get an
|
|
1391
|
+
* Get an adjusted timesheet of a project with its daily entries. An adjusted timesheet is the admin-reviewed copy of an approved employee timesheet.
|
|
1392
|
+
* Get an adjusted timesheet
|
|
1387
1393
|
*/
|
|
1388
1394
|
async getAdjustedTimesheetRaw(requestParameters, initOverrides) {
|
|
1389
1395
|
const requestOptions = await this.getAdjustedTimesheetRequestOpts(requestParameters);
|
|
@@ -1391,8 +1397,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1391
1397
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, AdjustedTimesheetDTO_1.AdjustedTimesheetDTOFromJSON)(jsonValue));
|
|
1392
1398
|
}
|
|
1393
1399
|
/**
|
|
1394
|
-
* Get an
|
|
1395
|
-
* Get an
|
|
1400
|
+
* Get an adjusted timesheet of a project with its daily entries. An adjusted timesheet is the admin-reviewed copy of an approved employee timesheet.
|
|
1401
|
+
* Get an adjusted timesheet
|
|
1396
1402
|
*/
|
|
1397
1403
|
async getAdjustedTimesheet(requestParameters, initOverrides) {
|
|
1398
1404
|
const response = await this.getAdjustedTimesheetRaw(requestParameters, initOverrides);
|
|
@@ -1429,8 +1435,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1429
1435
|
};
|
|
1430
1436
|
}
|
|
1431
1437
|
/**
|
|
1432
|
-
*
|
|
1433
|
-
*
|
|
1438
|
+
* List the adjusted timesheets of a project, one per employee per month.
|
|
1439
|
+
* List adjusted timesheets of a project
|
|
1434
1440
|
*/
|
|
1435
1441
|
async getAdjustedTimesheetsRaw(requestParameters, initOverrides) {
|
|
1436
1442
|
const requestOptions = await this.getAdjustedTimesheetsRequestOpts(requestParameters);
|
|
@@ -1438,8 +1444,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1438
1444
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PaginatedAdjustedTimesheets_1.PaginatedAdjustedTimesheetsFromJSON)(jsonValue));
|
|
1439
1445
|
}
|
|
1440
1446
|
/**
|
|
1441
|
-
*
|
|
1442
|
-
*
|
|
1447
|
+
* List the adjusted timesheets of a project, one per employee per month.
|
|
1448
|
+
* List adjusted timesheets of a project
|
|
1443
1449
|
*/
|
|
1444
1450
|
async getAdjustedTimesheets(requestParameters, initOverrides) {
|
|
1445
1451
|
const response = await this.getAdjustedTimesheetsRaw(requestParameters, initOverrides);
|
|
@@ -1467,7 +1473,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1467
1473
|
};
|
|
1468
1474
|
}
|
|
1469
1475
|
/**
|
|
1470
|
-
* Get client by
|
|
1476
|
+
* Get a client (customer) by ID.
|
|
1477
|
+
* Get a client
|
|
1471
1478
|
*/
|
|
1472
1479
|
async getClientByIdRaw(requestParameters, initOverrides) {
|
|
1473
1480
|
const requestOptions = await this.getClientByIdRequestOpts(requestParameters);
|
|
@@ -1475,7 +1482,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1475
1482
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ClientDTO_1.ClientDTOFromJSON)(jsonValue));
|
|
1476
1483
|
}
|
|
1477
1484
|
/**
|
|
1478
|
-
* Get client by
|
|
1485
|
+
* Get a client (customer) by ID.
|
|
1486
|
+
* Get a client
|
|
1479
1487
|
*/
|
|
1480
1488
|
async getClientById(requestParameters, initOverrides) {
|
|
1481
1489
|
const response = await this.getClientByIdRaw(requestParameters, initOverrides);
|
|
@@ -1512,8 +1520,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1512
1520
|
};
|
|
1513
1521
|
}
|
|
1514
1522
|
/**
|
|
1515
|
-
*
|
|
1516
|
-
*
|
|
1523
|
+
* List the invoices issued to a client. Client invoices are created automatically when a global timesheet is approved.
|
|
1524
|
+
* List client invoices
|
|
1517
1525
|
*/
|
|
1518
1526
|
async getClientInvoicesRaw(requestParameters, initOverrides) {
|
|
1519
1527
|
const requestOptions = await this.getClientInvoicesRequestOpts(requestParameters);
|
|
@@ -1521,8 +1529,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1521
1529
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PaginatedClientInvoices_1.PaginatedClientInvoicesFromJSON)(jsonValue));
|
|
1522
1530
|
}
|
|
1523
1531
|
/**
|
|
1524
|
-
*
|
|
1525
|
-
*
|
|
1532
|
+
* List the invoices issued to a client. Client invoices are created automatically when a global timesheet is approved.
|
|
1533
|
+
* List client invoices
|
|
1526
1534
|
*/
|
|
1527
1535
|
async getClientInvoices(requestParameters, initOverrides) {
|
|
1528
1536
|
const response = await this.getClientInvoicesRaw(requestParameters, initOverrides);
|
|
@@ -1555,8 +1563,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1555
1563
|
};
|
|
1556
1564
|
}
|
|
1557
1565
|
/**
|
|
1558
|
-
*
|
|
1559
|
-
*
|
|
1566
|
+
* List the clients (customers) for the current company.
|
|
1567
|
+
* List clients
|
|
1560
1568
|
*/
|
|
1561
1569
|
async getClientsRaw(requestParameters, initOverrides) {
|
|
1562
1570
|
const requestOptions = await this.getClientsRequestOpts(requestParameters);
|
|
@@ -1564,8 +1572,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1564
1572
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PaginatedClients_1.PaginatedClientsFromJSON)(jsonValue));
|
|
1565
1573
|
}
|
|
1566
1574
|
/**
|
|
1567
|
-
*
|
|
1568
|
-
*
|
|
1575
|
+
* List the clients (customers) for the current company.
|
|
1576
|
+
* List clients
|
|
1569
1577
|
*/
|
|
1570
1578
|
async getClients(requestParameters = {}, initOverrides) {
|
|
1571
1579
|
const response = await this.getClientsRaw(requestParameters, initOverrides);
|
|
@@ -1608,8 +1616,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1608
1616
|
};
|
|
1609
1617
|
}
|
|
1610
1618
|
/**
|
|
1611
|
-
* Get commit statistics for a
|
|
1612
|
-
* Get commits
|
|
1619
|
+
* Get the GitHub commit statistics of an employee for a date range.
|
|
1620
|
+
* Get commits of an employee
|
|
1613
1621
|
*/
|
|
1614
1622
|
async getCommitsByUserIDRaw(requestParameters, initOverrides) {
|
|
1615
1623
|
const requestOptions = await this.getCommitsByUserIDRequestOpts(requestParameters);
|
|
@@ -1617,8 +1625,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1617
1625
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ClientGithubCommitCountDTO_1.ClientGithubCommitCountDTOFromJSON));
|
|
1618
1626
|
}
|
|
1619
1627
|
/**
|
|
1620
|
-
* Get commit statistics for a
|
|
1621
|
-
* Get commits
|
|
1628
|
+
* Get the GitHub commit statistics of an employee for a date range.
|
|
1629
|
+
* Get commits of an employee
|
|
1622
1630
|
*/
|
|
1623
1631
|
async getCommitsByUserID(requestParameters, initOverrides) {
|
|
1624
1632
|
const response = await this.getCommitsByUserIDRaw(requestParameters, initOverrides);
|
|
@@ -1645,8 +1653,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1645
1653
|
};
|
|
1646
1654
|
}
|
|
1647
1655
|
/**
|
|
1648
|
-
*
|
|
1649
|
-
*
|
|
1656
|
+
* List the companies the current user belongs to.
|
|
1657
|
+
* List my companies
|
|
1650
1658
|
*/
|
|
1651
1659
|
async getCompaniesRaw(requestParameters, initOverrides) {
|
|
1652
1660
|
const requestOptions = await this.getCompaniesRequestOpts(requestParameters);
|
|
@@ -1654,8 +1662,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1654
1662
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(CompanyDTO_1.CompanyDTOFromJSON));
|
|
1655
1663
|
}
|
|
1656
1664
|
/**
|
|
1657
|
-
*
|
|
1658
|
-
*
|
|
1665
|
+
* List the companies the current user belongs to.
|
|
1666
|
+
* List my companies
|
|
1659
1667
|
*/
|
|
1660
1668
|
async getCompanies(requestParameters = {}, initOverrides) {
|
|
1661
1669
|
const response = await this.getCompaniesRaw(requestParameters, initOverrides);
|
|
@@ -1683,8 +1691,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1683
1691
|
};
|
|
1684
1692
|
}
|
|
1685
1693
|
/**
|
|
1694
|
+
* Get a company by ID.
|
|
1686
1695
|
* Get a company
|
|
1687
|
-
* Get a company by ID
|
|
1688
1696
|
*/
|
|
1689
1697
|
async getCompanyRaw(requestParameters, initOverrides) {
|
|
1690
1698
|
const requestOptions = await this.getCompanyRequestOpts(requestParameters);
|
|
@@ -1692,8 +1700,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1692
1700
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, CompanyDTO_1.CompanyDTOFromJSON)(jsonValue));
|
|
1693
1701
|
}
|
|
1694
1702
|
/**
|
|
1703
|
+
* Get a company by ID.
|
|
1695
1704
|
* Get a company
|
|
1696
|
-
* Get a company by ID
|
|
1697
1705
|
*/
|
|
1698
1706
|
async getCompany(requestParameters, initOverrides) {
|
|
1699
1707
|
const response = await this.getCompanyRaw(requestParameters, initOverrides);
|
|
@@ -1721,8 +1729,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1721
1729
|
};
|
|
1722
1730
|
}
|
|
1723
1731
|
/**
|
|
1724
|
-
* Get employee
|
|
1725
|
-
* Get employee
|
|
1732
|
+
* Get an employee by user ID.
|
|
1733
|
+
* Get an employee
|
|
1726
1734
|
*/
|
|
1727
1735
|
async getEmployeeRaw(requestParameters, initOverrides) {
|
|
1728
1736
|
const requestOptions = await this.getEmployeeRequestOpts(requestParameters);
|
|
@@ -1730,8 +1738,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1730
1738
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, EmployeeDTO_1.EmployeeDTOFromJSON)(jsonValue));
|
|
1731
1739
|
}
|
|
1732
1740
|
/**
|
|
1733
|
-
* Get employee
|
|
1734
|
-
* Get employee
|
|
1741
|
+
* Get an employee by user ID.
|
|
1742
|
+
* Get an employee
|
|
1735
1743
|
*/
|
|
1736
1744
|
async getEmployee(requestParameters, initOverrides) {
|
|
1737
1745
|
const response = await this.getEmployeeRaw(requestParameters, initOverrides);
|
|
@@ -1768,8 +1776,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1768
1776
|
};
|
|
1769
1777
|
}
|
|
1770
1778
|
/**
|
|
1771
|
-
*
|
|
1772
|
-
*
|
|
1779
|
+
* List the payment invoices of an employee.
|
|
1780
|
+
* List employee invoices
|
|
1773
1781
|
*/
|
|
1774
1782
|
async getEmployeeInvoicesRaw(requestParameters, initOverrides) {
|
|
1775
1783
|
const requestOptions = await this.getEmployeeInvoicesRequestOpts(requestParameters);
|
|
@@ -1777,8 +1785,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1777
1785
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PaginatedEmployeeInvoices_1.PaginatedEmployeeInvoicesFromJSON)(jsonValue));
|
|
1778
1786
|
}
|
|
1779
1787
|
/**
|
|
1780
|
-
*
|
|
1781
|
-
*
|
|
1788
|
+
* List the payment invoices of an employee.
|
|
1789
|
+
* List employee invoices
|
|
1782
1790
|
*/
|
|
1783
1791
|
async getEmployeeInvoices(requestParameters, initOverrides) {
|
|
1784
1792
|
const response = await this.getEmployeeInvoicesRaw(requestParameters, initOverrides);
|
|
@@ -1815,8 +1823,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1815
1823
|
};
|
|
1816
1824
|
}
|
|
1817
1825
|
/**
|
|
1818
|
-
*
|
|
1819
|
-
*
|
|
1826
|
+
* List the timesheets of the current user in a project.
|
|
1827
|
+
* List my timesheets in a project
|
|
1820
1828
|
*/
|
|
1821
1829
|
async getEmployeeTimesheetsRaw(requestParameters, initOverrides) {
|
|
1822
1830
|
const requestOptions = await this.getEmployeeTimesheetsRequestOpts(requestParameters);
|
|
@@ -1824,8 +1832,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1824
1832
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PaginatedTimesheets_1.PaginatedTimesheetsFromJSON)(jsonValue));
|
|
1825
1833
|
}
|
|
1826
1834
|
/**
|
|
1827
|
-
*
|
|
1828
|
-
*
|
|
1835
|
+
* List the timesheets of the current user in a project.
|
|
1836
|
+
* List my timesheets in a project
|
|
1829
1837
|
*/
|
|
1830
1838
|
async getEmployeeTimesheets(requestParameters, initOverrides) {
|
|
1831
1839
|
const response = await this.getEmployeeTimesheetsRaw(requestParameters, initOverrides);
|
|
@@ -1861,7 +1869,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1861
1869
|
};
|
|
1862
1870
|
}
|
|
1863
1871
|
/**
|
|
1864
|
-
* List employees
|
|
1872
|
+
* List the employees.
|
|
1865
1873
|
* List employees
|
|
1866
1874
|
*/
|
|
1867
1875
|
async getEmployeesRaw(requestParameters, initOverrides) {
|
|
@@ -1870,7 +1878,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1870
1878
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PaginatedEmployees_1.PaginatedEmployeesFromJSON)(jsonValue));
|
|
1871
1879
|
}
|
|
1872
1880
|
/**
|
|
1873
|
-
* List employees
|
|
1881
|
+
* List the employees.
|
|
1874
1882
|
* List employees
|
|
1875
1883
|
*/
|
|
1876
1884
|
async getEmployees(requestParameters = {}, initOverrides) {
|
|
@@ -1895,8 +1903,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1895
1903
|
};
|
|
1896
1904
|
}
|
|
1897
1905
|
/**
|
|
1898
|
-
* Get GitHub account
|
|
1899
|
-
* Get GitHub account
|
|
1906
|
+
* Get the GitHub account linked to the current user.
|
|
1907
|
+
* Get my GitHub account
|
|
1900
1908
|
*/
|
|
1901
1909
|
async getGithubAccountRaw(initOverrides) {
|
|
1902
1910
|
const requestOptions = await this.getGithubAccountRequestOpts();
|
|
@@ -1904,8 +1912,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1904
1912
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ClientGithubAccountDTO_1.ClientGithubAccountDTOFromJSON)(jsonValue));
|
|
1905
1913
|
}
|
|
1906
1914
|
/**
|
|
1907
|
-
* Get GitHub account
|
|
1908
|
-
* Get GitHub account
|
|
1915
|
+
* Get the GitHub account linked to the current user.
|
|
1916
|
+
* Get my GitHub account
|
|
1909
1917
|
*/
|
|
1910
1918
|
async getGithubAccount(initOverrides) {
|
|
1911
1919
|
const response = await this.getGithubAccountRaw(initOverrides);
|
|
@@ -1937,7 +1945,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1937
1945
|
};
|
|
1938
1946
|
}
|
|
1939
1947
|
/**
|
|
1940
|
-
* Get a global timesheet
|
|
1948
|
+
* Get a global timesheet of a project with its entries.
|
|
1941
1949
|
* Get a global timesheet
|
|
1942
1950
|
*/
|
|
1943
1951
|
async getGlobalTimesheetRaw(requestParameters, initOverrides) {
|
|
@@ -1946,7 +1954,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1946
1954
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, GlobalTimesheetDTO_1.GlobalTimesheetDTOFromJSON)(jsonValue));
|
|
1947
1955
|
}
|
|
1948
1956
|
/**
|
|
1949
|
-
* Get a global timesheet
|
|
1957
|
+
* Get a global timesheet of a project with its entries.
|
|
1950
1958
|
* Get a global timesheet
|
|
1951
1959
|
*/
|
|
1952
1960
|
async getGlobalTimesheet(requestParameters, initOverrides) {
|
|
@@ -1984,8 +1992,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1984
1992
|
};
|
|
1985
1993
|
}
|
|
1986
1994
|
/**
|
|
1987
|
-
*
|
|
1988
|
-
*
|
|
1995
|
+
* List the global timesheets of a project. A global timesheet is the monthly summary of all employees approved adjusted timesheets.
|
|
1996
|
+
* List global timesheets of a project
|
|
1989
1997
|
*/
|
|
1990
1998
|
async getGlobalTimesheetsRaw(requestParameters, initOverrides) {
|
|
1991
1999
|
const requestOptions = await this.getGlobalTimesheetsRequestOpts(requestParameters);
|
|
@@ -1993,8 +2001,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
1993
2001
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PaginatedGlobalTimesheets_1.PaginatedGlobalTimesheetsFromJSON)(jsonValue));
|
|
1994
2002
|
}
|
|
1995
2003
|
/**
|
|
1996
|
-
*
|
|
1997
|
-
*
|
|
2004
|
+
* List the global timesheets of a project. A global timesheet is the monthly summary of all employees approved adjusted timesheets.
|
|
2005
|
+
* List global timesheets of a project
|
|
1998
2006
|
*/
|
|
1999
2007
|
async getGlobalTimesheets(requestParameters, initOverrides) {
|
|
2000
2008
|
const response = await this.getGlobalTimesheetsRaw(requestParameters, initOverrides);
|
|
@@ -2027,7 +2035,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2027
2035
|
};
|
|
2028
2036
|
}
|
|
2029
2037
|
/**
|
|
2030
|
-
*
|
|
2038
|
+
* List the holidays (days off) of the current user.
|
|
2039
|
+
* List my holidays
|
|
2031
2040
|
*/
|
|
2032
2041
|
async getHolidaysRaw(requestParameters, initOverrides) {
|
|
2033
2042
|
const requestOptions = await this.getHolidaysRequestOpts(requestParameters);
|
|
@@ -2035,7 +2044,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2035
2044
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PaginatedHolidaysDTO_1.PaginatedHolidaysDTOFromJSON)(jsonValue));
|
|
2036
2045
|
}
|
|
2037
2046
|
/**
|
|
2038
|
-
*
|
|
2047
|
+
* List the holidays (days off) of the current user.
|
|
2048
|
+
* List my holidays
|
|
2039
2049
|
*/
|
|
2040
2050
|
async getHolidays(requestParameters = {}, initOverrides) {
|
|
2041
2051
|
const response = await this.getHolidaysRaw(requestParameters, initOverrides);
|
|
@@ -2072,7 +2082,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2072
2082
|
};
|
|
2073
2083
|
}
|
|
2074
2084
|
/**
|
|
2075
|
-
*
|
|
2085
|
+
* List the holidays (days off) of an employee.
|
|
2086
|
+
* List an employee\'s holidays
|
|
2076
2087
|
*/
|
|
2077
2088
|
async getHolidaysByEmployeeRaw(requestParameters, initOverrides) {
|
|
2078
2089
|
const requestOptions = await this.getHolidaysByEmployeeRequestOpts(requestParameters);
|
|
@@ -2080,7 +2091,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2080
2091
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PaginatedHolidaysDTO_1.PaginatedHolidaysDTOFromJSON)(jsonValue));
|
|
2081
2092
|
}
|
|
2082
2093
|
/**
|
|
2083
|
-
*
|
|
2094
|
+
* List the holidays (days off) of an employee.
|
|
2095
|
+
* List an employee\'s holidays
|
|
2084
2096
|
*/
|
|
2085
2097
|
async getHolidaysByEmployee(requestParameters, initOverrides) {
|
|
2086
2098
|
const response = await this.getHolidaysByEmployeeRaw(requestParameters, initOverrides);
|
|
@@ -2104,8 +2116,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2104
2116
|
};
|
|
2105
2117
|
}
|
|
2106
2118
|
/**
|
|
2107
|
-
*
|
|
2108
|
-
*
|
|
2119
|
+
* List the Jira accounts linked to the current user.
|
|
2120
|
+
* List my Jira accounts
|
|
2109
2121
|
*/
|
|
2110
2122
|
async getJiraAccountsRaw(initOverrides) {
|
|
2111
2123
|
const requestOptions = await this.getJiraAccountsRequestOpts();
|
|
@@ -2113,8 +2125,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2113
2125
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(JiraAccountDTO_1.JiraAccountDTOFromJSON));
|
|
2114
2126
|
}
|
|
2115
2127
|
/**
|
|
2116
|
-
*
|
|
2117
|
-
*
|
|
2128
|
+
* List the Jira accounts linked to the current user.
|
|
2129
|
+
* List my Jira accounts
|
|
2118
2130
|
*/
|
|
2119
2131
|
async getJiraAccounts(initOverrides) {
|
|
2120
2132
|
const response = await this.getJiraAccountsRaw(initOverrides);
|
|
@@ -2138,8 +2150,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2138
2150
|
};
|
|
2139
2151
|
}
|
|
2140
2152
|
/**
|
|
2141
|
-
* Get Jira user
|
|
2142
|
-
* Get Jira user
|
|
2153
|
+
* Get the Jira user of the current user.
|
|
2154
|
+
* Get my Jira user
|
|
2143
2155
|
*/
|
|
2144
2156
|
async getJiraUserRaw(initOverrides) {
|
|
2145
2157
|
const requestOptions = await this.getJiraUserRequestOpts();
|
|
@@ -2147,8 +2159,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2147
2159
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ClientJiraUserDTO_1.ClientJiraUserDTOFromJSON)(jsonValue));
|
|
2148
2160
|
}
|
|
2149
2161
|
/**
|
|
2150
|
-
* Get Jira user
|
|
2151
|
-
* Get Jira user
|
|
2162
|
+
* Get the Jira user of the current user.
|
|
2163
|
+
* Get my Jira user
|
|
2152
2164
|
*/
|
|
2153
2165
|
async getJiraUser(initOverrides) {
|
|
2154
2166
|
const response = await this.getJiraUserRaw(initOverrides);
|
|
@@ -2172,8 +2184,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2172
2184
|
};
|
|
2173
2185
|
}
|
|
2174
2186
|
/**
|
|
2175
|
-
* Get
|
|
2176
|
-
* Get my account
|
|
2187
|
+
* Get the account info of the current user.
|
|
2188
|
+
* Get my account
|
|
2177
2189
|
*/
|
|
2178
2190
|
async getMyAccountRaw(initOverrides) {
|
|
2179
2191
|
const requestOptions = await this.getMyAccountRequestOpts();
|
|
@@ -2181,8 +2193,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2181
2193
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, AccountInfoDTO_1.AccountInfoDTOFromJSON)(jsonValue));
|
|
2182
2194
|
}
|
|
2183
2195
|
/**
|
|
2184
|
-
* Get
|
|
2185
|
-
* Get my account
|
|
2196
|
+
* Get the account info of the current user.
|
|
2197
|
+
* Get my account
|
|
2186
2198
|
*/
|
|
2187
2199
|
async getMyAccount(initOverrides) {
|
|
2188
2200
|
const response = await this.getMyAccountRaw(initOverrides);
|
|
@@ -2221,7 +2233,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2221
2233
|
};
|
|
2222
2234
|
}
|
|
2223
2235
|
/**
|
|
2224
|
-
* Get commit statistics
|
|
2236
|
+
* Get the GitHub commit statistics of the current user for a date range.
|
|
2225
2237
|
* Get my commits
|
|
2226
2238
|
*/
|
|
2227
2239
|
async getMyCommitsRaw(requestParameters, initOverrides) {
|
|
@@ -2230,7 +2242,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2230
2242
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ClientGithubCommitCountDTO_1.ClientGithubCommitCountDTOFromJSON));
|
|
2231
2243
|
}
|
|
2232
2244
|
/**
|
|
2233
|
-
* Get commit statistics
|
|
2245
|
+
* Get the GitHub commit statistics of the current user for a date range.
|
|
2234
2246
|
* Get my commits
|
|
2235
2247
|
*/
|
|
2236
2248
|
async getMyCommits(requestParameters, initOverrides) {
|
|
@@ -2259,8 +2271,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2259
2271
|
};
|
|
2260
2272
|
}
|
|
2261
2273
|
/**
|
|
2274
|
+
* Get a project by ID.
|
|
2262
2275
|
* Get a project
|
|
2263
|
-
* Get a project by ID
|
|
2264
2276
|
*/
|
|
2265
2277
|
async getProjectByIdRaw(requestParameters, initOverrides) {
|
|
2266
2278
|
const requestOptions = await this.getProjectByIdRequestOpts(requestParameters);
|
|
@@ -2268,8 +2280,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2268
2280
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ProjectDTO_1.ProjectDTOFromJSON)(jsonValue));
|
|
2269
2281
|
}
|
|
2270
2282
|
/**
|
|
2283
|
+
* Get a project by ID.
|
|
2271
2284
|
* Get a project
|
|
2272
|
-
* Get a project by ID
|
|
2273
2285
|
*/
|
|
2274
2286
|
async getProjectById(requestParameters, initOverrides) {
|
|
2275
2287
|
const response = await this.getProjectByIdRaw(requestParameters, initOverrides);
|
|
@@ -2302,8 +2314,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2302
2314
|
};
|
|
2303
2315
|
}
|
|
2304
2316
|
/**
|
|
2305
|
-
* Get
|
|
2306
|
-
* Get
|
|
2317
|
+
* Get the projects and current timesheets of an employee. Internal endpoint.
|
|
2318
|
+
* Get project report of an employee
|
|
2307
2319
|
*/
|
|
2308
2320
|
async getProjectReportByUserRaw(requestParameters, initOverrides) {
|
|
2309
2321
|
const requestOptions = await this.getProjectReportByUserRequestOpts(requestParameters);
|
|
@@ -2311,8 +2323,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2311
2323
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UserProjectReport_1.UserProjectReportFromJSON));
|
|
2312
2324
|
}
|
|
2313
2325
|
/**
|
|
2314
|
-
* Get
|
|
2315
|
-
* Get
|
|
2326
|
+
* Get the projects and current timesheets of an employee. Internal endpoint.
|
|
2327
|
+
* Get project report of an employee
|
|
2316
2328
|
*/
|
|
2317
2329
|
async getProjectReportByUser(requestParameters, initOverrides) {
|
|
2318
2330
|
const response = await this.getProjectReportByUserRaw(requestParameters, initOverrides);
|
|
@@ -2345,8 +2357,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2345
2357
|
};
|
|
2346
2358
|
}
|
|
2347
2359
|
/**
|
|
2348
|
-
*
|
|
2349
|
-
*
|
|
2360
|
+
* List all projects for the current company.
|
|
2361
|
+
* List projects
|
|
2350
2362
|
*/
|
|
2351
2363
|
async getProjectsRaw(requestParameters, initOverrides) {
|
|
2352
2364
|
const requestOptions = await this.getProjectsRequestOpts(requestParameters);
|
|
@@ -2354,8 +2366,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2354
2366
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PaginatedProjects_1.PaginatedProjectsFromJSON)(jsonValue));
|
|
2355
2367
|
}
|
|
2356
2368
|
/**
|
|
2357
|
-
*
|
|
2358
|
-
*
|
|
2369
|
+
* List all projects for the current company.
|
|
2370
|
+
* List projects
|
|
2359
2371
|
*/
|
|
2360
2372
|
async getProjects(requestParameters = {}, initOverrides) {
|
|
2361
2373
|
const response = await this.getProjectsRaw(requestParameters, initOverrides);
|
|
@@ -2388,8 +2400,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2388
2400
|
};
|
|
2389
2401
|
}
|
|
2390
2402
|
/**
|
|
2391
|
-
*
|
|
2392
|
-
*
|
|
2403
|
+
* List the projects the current user is assigned to.
|
|
2404
|
+
* List my projects
|
|
2393
2405
|
*/
|
|
2394
2406
|
async getProjectsAsEmployeeRaw(requestParameters, initOverrides) {
|
|
2395
2407
|
const requestOptions = await this.getProjectsAsEmployeeRequestOpts(requestParameters);
|
|
@@ -2397,8 +2409,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2397
2409
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PaginatedEmployeeProjects_1.PaginatedEmployeeProjectsFromJSON)(jsonValue));
|
|
2398
2410
|
}
|
|
2399
2411
|
/**
|
|
2400
|
-
*
|
|
2401
|
-
*
|
|
2412
|
+
* List the projects the current user is assigned to.
|
|
2413
|
+
* List my projects
|
|
2402
2414
|
*/
|
|
2403
2415
|
async getProjectsAsEmployee(requestParameters = {}, initOverrides) {
|
|
2404
2416
|
const response = await this.getProjectsAsEmployeeRaw(requestParameters, initOverrides);
|
|
@@ -2422,8 +2434,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2422
2434
|
};
|
|
2423
2435
|
}
|
|
2424
2436
|
/**
|
|
2425
|
-
* Get Slack account
|
|
2426
|
-
* Get Slack
|
|
2437
|
+
* Get the Slack account linked to the current user.
|
|
2438
|
+
* Get my Slack account
|
|
2427
2439
|
*/
|
|
2428
2440
|
async getSlackUserAccountRaw(initOverrides) {
|
|
2429
2441
|
const requestOptions = await this.getSlackUserAccountRequestOpts();
|
|
@@ -2431,8 +2443,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2431
2443
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ClientSlackUserAccountDTO_1.ClientSlackUserAccountDTOFromJSON)(jsonValue));
|
|
2432
2444
|
}
|
|
2433
2445
|
/**
|
|
2434
|
-
* Get Slack account
|
|
2435
|
-
* Get Slack
|
|
2446
|
+
* Get the Slack account linked to the current user.
|
|
2447
|
+
* Get my Slack account
|
|
2436
2448
|
*/
|
|
2437
2449
|
async getSlackUserAccount(initOverrides) {
|
|
2438
2450
|
const response = await this.getSlackUserAccountRaw(initOverrides);
|
|
@@ -2469,8 +2481,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2469
2481
|
};
|
|
2470
2482
|
}
|
|
2471
2483
|
/**
|
|
2472
|
-
*
|
|
2473
|
-
* Get
|
|
2484
|
+
* List the employees assigned to a project.
|
|
2485
|
+
* Get a project team
|
|
2474
2486
|
*/
|
|
2475
2487
|
async getTeamRaw(requestParameters, initOverrides) {
|
|
2476
2488
|
const requestOptions = await this.getTeamRequestOpts(requestParameters);
|
|
@@ -2478,8 +2490,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2478
2490
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PaginatedUsers_1.PaginatedUsersFromJSON)(jsonValue));
|
|
2479
2491
|
}
|
|
2480
2492
|
/**
|
|
2481
|
-
*
|
|
2482
|
-
* Get
|
|
2493
|
+
* List the employees assigned to a project.
|
|
2494
|
+
* Get a project team
|
|
2483
2495
|
*/
|
|
2484
2496
|
async getTeam(requestParameters, initOverrides) {
|
|
2485
2497
|
const response = await this.getTeamRaw(requestParameters, initOverrides);
|
|
@@ -2511,7 +2523,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2511
2523
|
};
|
|
2512
2524
|
}
|
|
2513
2525
|
/**
|
|
2514
|
-
* Get a
|
|
2526
|
+
* Get an employee timesheet of a project with its daily entries.
|
|
2515
2527
|
* Get a timesheet
|
|
2516
2528
|
*/
|
|
2517
2529
|
async getTimesheetRaw(requestParameters, initOverrides) {
|
|
@@ -2520,7 +2532,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2520
2532
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, TimesheetDTO_1.TimesheetDTOFromJSON)(jsonValue));
|
|
2521
2533
|
}
|
|
2522
2534
|
/**
|
|
2523
|
-
* Get a
|
|
2535
|
+
* Get an employee timesheet of a project with its daily entries.
|
|
2524
2536
|
* Get a timesheet
|
|
2525
2537
|
*/
|
|
2526
2538
|
async getTimesheet(requestParameters, initOverrides) {
|
|
@@ -2558,8 +2570,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2558
2570
|
};
|
|
2559
2571
|
}
|
|
2560
2572
|
/**
|
|
2561
|
-
*
|
|
2562
|
-
*
|
|
2573
|
+
* 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.
|
|
2574
|
+
* List timesheets of a project
|
|
2563
2575
|
*/
|
|
2564
2576
|
async getTimesheetsRaw(requestParameters, initOverrides) {
|
|
2565
2577
|
const requestOptions = await this.getTimesheetsRequestOpts(requestParameters);
|
|
@@ -2567,8 +2579,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2567
2579
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PaginatedTimesheets_1.PaginatedTimesheetsFromJSON)(jsonValue));
|
|
2568
2580
|
}
|
|
2569
2581
|
/**
|
|
2570
|
-
*
|
|
2571
|
-
*
|
|
2582
|
+
* 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.
|
|
2583
|
+
* List timesheets of a project
|
|
2572
2584
|
*/
|
|
2573
2585
|
async getTimesheets(requestParameters, initOverrides) {
|
|
2574
2586
|
const response = await this.getTimesheetsRaw(requestParameters, initOverrides);
|
|
@@ -2596,8 +2608,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2596
2608
|
};
|
|
2597
2609
|
}
|
|
2598
2610
|
/**
|
|
2599
|
-
* Get token by ID
|
|
2600
|
-
* Get
|
|
2611
|
+
* Get a personal API token of the current user by ID.
|
|
2612
|
+
* Get an API token
|
|
2601
2613
|
*/
|
|
2602
2614
|
async getTokenRaw(requestParameters, initOverrides) {
|
|
2603
2615
|
const requestOptions = await this.getTokenRequestOpts(requestParameters);
|
|
@@ -2605,8 +2617,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2605
2617
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, TokenDTO_1.TokenDTOFromJSON)(jsonValue));
|
|
2606
2618
|
}
|
|
2607
2619
|
/**
|
|
2608
|
-
* Get token by ID
|
|
2609
|
-
* Get
|
|
2620
|
+
* Get a personal API token of the current user by ID.
|
|
2621
|
+
* Get an API token
|
|
2610
2622
|
*/
|
|
2611
2623
|
async getToken(requestParameters, initOverrides) {
|
|
2612
2624
|
const response = await this.getTokenRaw(requestParameters, initOverrides);
|
|
@@ -2630,8 +2642,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2630
2642
|
};
|
|
2631
2643
|
}
|
|
2632
2644
|
/**
|
|
2633
|
-
*
|
|
2634
|
-
*
|
|
2645
|
+
* List the permissions available to the current user based on their role.
|
|
2646
|
+
* List my permissions
|
|
2635
2647
|
*/
|
|
2636
2648
|
async getUserPermissionsRaw(initOverrides) {
|
|
2637
2649
|
const requestOptions = await this.getUserPermissionsRequestOpts();
|
|
@@ -2639,8 +2651,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2639
2651
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, RolePermissionsDTO_1.RolePermissionsDTOFromJSON)(jsonValue));
|
|
2640
2652
|
}
|
|
2641
2653
|
/**
|
|
2642
|
-
*
|
|
2643
|
-
*
|
|
2654
|
+
* List the permissions available to the current user based on their role.
|
|
2655
|
+
* List my permissions
|
|
2644
2656
|
*/
|
|
2645
2657
|
async getUserPermissions(initOverrides) {
|
|
2646
2658
|
const response = await this.getUserPermissionsRaw(initOverrides);
|
|
@@ -2670,8 +2682,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2670
2682
|
};
|
|
2671
2683
|
}
|
|
2672
2684
|
/**
|
|
2673
|
-
*
|
|
2674
|
-
*
|
|
2685
|
+
* List the personal API tokens of the current user.
|
|
2686
|
+
* List my API tokens
|
|
2675
2687
|
*/
|
|
2676
2688
|
async getUserTokensRaw(requestParameters, initOverrides) {
|
|
2677
2689
|
const requestOptions = await this.getUserTokensRequestOpts(requestParameters);
|
|
@@ -2679,8 +2691,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2679
2691
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PaginatedTokens_1.PaginatedTokensFromJSON)(jsonValue));
|
|
2680
2692
|
}
|
|
2681
2693
|
/**
|
|
2682
|
-
*
|
|
2683
|
-
*
|
|
2694
|
+
* List the personal API tokens of the current user.
|
|
2695
|
+
* List my API tokens
|
|
2684
2696
|
*/
|
|
2685
2697
|
async getUserTokens(requestParameters = {}, initOverrides) {
|
|
2686
2698
|
const response = await this.getUserTokensRaw(requestParameters, initOverrides);
|
|
@@ -2709,8 +2721,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2709
2721
|
};
|
|
2710
2722
|
}
|
|
2711
2723
|
/**
|
|
2712
|
-
*
|
|
2713
|
-
* Invite an employee
|
|
2724
|
+
* Create or add an employee account. Sends an invitation email.
|
|
2725
|
+
* Invite an employee
|
|
2714
2726
|
*/
|
|
2715
2727
|
async inviteEmployeeRaw(requestParameters, initOverrides) {
|
|
2716
2728
|
const requestOptions = await this.inviteEmployeeRequestOpts(requestParameters);
|
|
@@ -2718,8 +2730,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2718
2730
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, EmployeeDTO_1.EmployeeDTOFromJSON)(jsonValue));
|
|
2719
2731
|
}
|
|
2720
2732
|
/**
|
|
2721
|
-
*
|
|
2722
|
-
* Invite an employee
|
|
2733
|
+
* Create or add an employee account. Sends an invitation email.
|
|
2734
|
+
* Invite an employee
|
|
2723
2735
|
*/
|
|
2724
2736
|
async inviteEmployee(requestParameters, initOverrides) {
|
|
2725
2737
|
const response = await this.inviteEmployeeRaw(requestParameters, initOverrides);
|
|
@@ -2756,7 +2768,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2756
2768
|
};
|
|
2757
2769
|
}
|
|
2758
2770
|
/**
|
|
2759
|
-
* Mark an employee invoice as paid
|
|
2771
|
+
* Mark an employee invoice as paid.
|
|
2760
2772
|
* Mark an employee invoice as paid
|
|
2761
2773
|
*/
|
|
2762
2774
|
async markEmployeeInvoiceAsPaidRaw(requestParameters, initOverrides) {
|
|
@@ -2765,7 +2777,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2765
2777
|
return new runtime.VoidApiResponse(response);
|
|
2766
2778
|
}
|
|
2767
2779
|
/**
|
|
2768
|
-
* Mark an employee invoice as paid
|
|
2780
|
+
* Mark an employee invoice as paid.
|
|
2769
2781
|
* Mark an employee invoice as paid
|
|
2770
2782
|
*/
|
|
2771
2783
|
async markEmployeeInvoiceAsPaid(requestParameters, initOverrides) {
|
|
@@ -2802,8 +2814,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2802
2814
|
};
|
|
2803
2815
|
}
|
|
2804
2816
|
/**
|
|
2817
|
+
* Mark a client invoice as paid on a given date.
|
|
2805
2818
|
* Mark a client invoice as paid
|
|
2806
|
-
* Mark a client invoice as paid with the specified date and time
|
|
2807
2819
|
*/
|
|
2808
2820
|
async markInvoiceAsPaidRaw(requestParameters, initOverrides) {
|
|
2809
2821
|
const requestOptions = await this.markInvoiceAsPaidRequestOpts(requestParameters);
|
|
@@ -2811,8 +2823,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2811
2823
|
return new runtime.VoidApiResponse(response);
|
|
2812
2824
|
}
|
|
2813
2825
|
/**
|
|
2826
|
+
* Mark a client invoice as paid on a given date.
|
|
2814
2827
|
* Mark a client invoice as paid
|
|
2815
|
-
* Mark a client invoice as paid with the specified date and time
|
|
2816
2828
|
*/
|
|
2817
2829
|
async markInvoiceAsPaid(requestParameters, initOverrides) {
|
|
2818
2830
|
await this.markInvoiceAsPaidRaw(requestParameters, initOverrides);
|
|
@@ -2843,8 +2855,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2843
2855
|
};
|
|
2844
2856
|
}
|
|
2845
2857
|
/**
|
|
2846
|
-
*
|
|
2847
|
-
*
|
|
2858
|
+
* Reopen a SENT timesheet so it can be edited again.
|
|
2859
|
+
* Reopen a sent timesheet
|
|
2848
2860
|
*/
|
|
2849
2861
|
async openSentTimesheetRaw(requestParameters, initOverrides) {
|
|
2850
2862
|
const requestOptions = await this.openSentTimesheetRequestOpts(requestParameters);
|
|
@@ -2852,8 +2864,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2852
2864
|
return new runtime.VoidApiResponse(response);
|
|
2853
2865
|
}
|
|
2854
2866
|
/**
|
|
2855
|
-
*
|
|
2856
|
-
*
|
|
2867
|
+
* Reopen a SENT timesheet so it can be edited again.
|
|
2868
|
+
* Reopen a sent timesheet
|
|
2857
2869
|
*/
|
|
2858
2870
|
async openSentTimesheet(requestParameters, initOverrides) {
|
|
2859
2871
|
await this.openSentTimesheetRaw(requestParameters, initOverrides);
|
|
@@ -2880,8 +2892,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2880
2892
|
};
|
|
2881
2893
|
}
|
|
2882
2894
|
/**
|
|
2883
|
-
*
|
|
2884
|
-
* Remove
|
|
2895
|
+
* Unlink a Jira account from the current user.
|
|
2896
|
+
* Remove a Jira account
|
|
2885
2897
|
*/
|
|
2886
2898
|
async removeJiraAccountRaw(requestParameters, initOverrides) {
|
|
2887
2899
|
const requestOptions = await this.removeJiraAccountRequestOpts(requestParameters);
|
|
@@ -2889,8 +2901,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2889
2901
|
return new runtime.VoidApiResponse(response);
|
|
2890
2902
|
}
|
|
2891
2903
|
/**
|
|
2892
|
-
*
|
|
2893
|
-
* Remove
|
|
2904
|
+
* Unlink a Jira account from the current user.
|
|
2905
|
+
* Remove a Jira account
|
|
2894
2906
|
*/
|
|
2895
2907
|
async removeJiraAccount(requestParameters, initOverrides) {
|
|
2896
2908
|
await this.removeJiraAccountRaw(requestParameters, initOverrides);
|
|
@@ -2921,7 +2933,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2921
2933
|
};
|
|
2922
2934
|
}
|
|
2923
2935
|
/**
|
|
2924
|
-
* Send
|
|
2936
|
+
* Send (submit) an OPEN timesheet for approval. It can no longer be edited unless it is reopened.
|
|
2925
2937
|
* Send a timesheet
|
|
2926
2938
|
*/
|
|
2927
2939
|
async sendTimesheetRaw(requestParameters, initOverrides) {
|
|
@@ -2930,7 +2942,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2930
2942
|
return new runtime.VoidApiResponse(response);
|
|
2931
2943
|
}
|
|
2932
2944
|
/**
|
|
2933
|
-
* Send
|
|
2945
|
+
* Send (submit) an OPEN timesheet for approval. It can no longer be edited unless it is reopened.
|
|
2934
2946
|
* Send a timesheet
|
|
2935
2947
|
*/
|
|
2936
2948
|
async sendTimesheet(requestParameters, initOverrides) {
|
|
@@ -2971,7 +2983,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2971
2983
|
};
|
|
2972
2984
|
}
|
|
2973
2985
|
/**
|
|
2974
|
-
* Update an adjusted timesheet
|
|
2986
|
+
* Update or change the hours of a day in an adjusted timesheet. Only possible while the adjusted timesheet is OPEN.
|
|
2975
2987
|
* Update an adjusted timesheet entry
|
|
2976
2988
|
*/
|
|
2977
2989
|
async updateAdjustedEntryRaw(requestParameters, initOverrides) {
|
|
@@ -2980,7 +2992,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
2980
2992
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, AdjustedTimesheetEntryDTO_1.AdjustedTimesheetEntryDTOFromJSON)(jsonValue));
|
|
2981
2993
|
}
|
|
2982
2994
|
/**
|
|
2983
|
-
* Update an adjusted timesheet
|
|
2995
|
+
* Update or change the hours of a day in an adjusted timesheet. Only possible while the adjusted timesheet is OPEN.
|
|
2984
2996
|
* Update an adjusted timesheet entry
|
|
2985
2997
|
*/
|
|
2986
2998
|
async updateAdjustedEntry(requestParameters, initOverrides) {
|
|
@@ -3014,7 +3026,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3014
3026
|
};
|
|
3015
3027
|
}
|
|
3016
3028
|
/**
|
|
3017
|
-
* Update client
|
|
3029
|
+
* Update or change the data of a client (customer).
|
|
3030
|
+
* Update a client
|
|
3018
3031
|
*/
|
|
3019
3032
|
async updateClientRaw(requestParameters, initOverrides) {
|
|
3020
3033
|
const requestOptions = await this.updateClientRequestOpts(requestParameters);
|
|
@@ -3022,7 +3035,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3022
3035
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ClientDTO_1.ClientDTOFromJSON)(jsonValue));
|
|
3023
3036
|
}
|
|
3024
3037
|
/**
|
|
3025
|
-
* Update client
|
|
3038
|
+
* Update or change the data of a client (customer).
|
|
3039
|
+
* Update a client
|
|
3026
3040
|
*/
|
|
3027
3041
|
async updateClient(requestParameters, initOverrides) {
|
|
3028
3042
|
const response = await this.updateClientRaw(requestParameters, initOverrides);
|
|
@@ -3055,8 +3069,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3055
3069
|
};
|
|
3056
3070
|
}
|
|
3057
3071
|
/**
|
|
3072
|
+
* Update or change the data of a company.
|
|
3058
3073
|
* Update a company
|
|
3059
|
-
* Update a company by ID
|
|
3060
3074
|
*/
|
|
3061
3075
|
async updateCompanyRaw(requestParameters, initOverrides) {
|
|
3062
3076
|
const requestOptions = await this.updateCompanyRequestOpts(requestParameters);
|
|
@@ -3064,8 +3078,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3064
3078
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, CompanyDTO_1.CompanyDTOFromJSON)(jsonValue));
|
|
3065
3079
|
}
|
|
3066
3080
|
/**
|
|
3081
|
+
* Update or change the data of a company.
|
|
3067
3082
|
* Update a company
|
|
3068
|
-
* Update a company by ID
|
|
3069
3083
|
*/
|
|
3070
3084
|
async updateCompany(requestParameters, initOverrides) {
|
|
3071
3085
|
const response = await this.updateCompanyRaw(requestParameters, initOverrides);
|
|
@@ -3098,7 +3112,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3098
3112
|
};
|
|
3099
3113
|
}
|
|
3100
3114
|
/**
|
|
3101
|
-
* Update an employee
|
|
3115
|
+
* Update or change the data of an employee.
|
|
3102
3116
|
* Update an employee
|
|
3103
3117
|
*/
|
|
3104
3118
|
async updateEmployeeDataRaw(requestParameters, initOverrides) {
|
|
@@ -3107,7 +3121,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3107
3121
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, EmployeeDTO_1.EmployeeDTOFromJSON)(jsonValue));
|
|
3108
3122
|
}
|
|
3109
3123
|
/**
|
|
3110
|
-
* Update an employee
|
|
3124
|
+
* Update or change the data of an employee.
|
|
3111
3125
|
* Update an employee
|
|
3112
3126
|
*/
|
|
3113
3127
|
async updateEmployeeData(requestParameters, initOverrides) {
|
|
@@ -3149,7 +3163,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3149
3163
|
};
|
|
3150
3164
|
}
|
|
3151
3165
|
/**
|
|
3152
|
-
* Update a global timesheet
|
|
3166
|
+
* Update or change the hours or comments of a day in a global timesheet. Only possible while the global timesheet is OPEN.
|
|
3153
3167
|
* Update a global timesheet entry
|
|
3154
3168
|
*/
|
|
3155
3169
|
async updateGlobalTimesheetEntryRaw(requestParameters, initOverrides) {
|
|
@@ -3158,7 +3172,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3158
3172
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, GlobalTimesheetEntryDTO_1.GlobalTimesheetEntryDTOFromJSON)(jsonValue));
|
|
3159
3173
|
}
|
|
3160
3174
|
/**
|
|
3161
|
-
* Update a global timesheet
|
|
3175
|
+
* Update or change the hours or comments of a day in a global timesheet. Only possible while the global timesheet is OPEN.
|
|
3162
3176
|
* Update a global timesheet entry
|
|
3163
3177
|
*/
|
|
3164
3178
|
async updateGlobalTimesheetEntry(requestParameters, initOverrides) {
|
|
@@ -3192,8 +3206,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3192
3206
|
};
|
|
3193
3207
|
}
|
|
3194
3208
|
/**
|
|
3209
|
+
* Update or change the data of a project. Changing the end date creates or deletes the matching timesheets.
|
|
3195
3210
|
* Update a project
|
|
3196
|
-
* Update a project by ID
|
|
3197
3211
|
*/
|
|
3198
3212
|
async updateProjectRaw(requestParameters, initOverrides) {
|
|
3199
3213
|
const requestOptions = await this.updateProjectRequestOpts(requestParameters);
|
|
@@ -3201,8 +3215,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3201
3215
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ProjectDTO_1.ProjectDTOFromJSON)(jsonValue));
|
|
3202
3216
|
}
|
|
3203
3217
|
/**
|
|
3218
|
+
* Update or change the data of a project. Changing the end date creates or deletes the matching timesheets.
|
|
3204
3219
|
* Update a project
|
|
3205
|
-
* Update a project by ID
|
|
3206
3220
|
*/
|
|
3207
3221
|
async updateProject(requestParameters, initOverrides) {
|
|
3208
3222
|
const response = await this.updateProjectRaw(requestParameters, initOverrides);
|
|
@@ -3231,8 +3245,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3231
3245
|
};
|
|
3232
3246
|
}
|
|
3233
3247
|
/**
|
|
3234
|
-
* Update Slack
|
|
3235
|
-
* Update Slack user
|
|
3248
|
+
* Update or change the Slack settings of the current user.
|
|
3249
|
+
* Update my Slack user
|
|
3236
3250
|
*/
|
|
3237
3251
|
async updateSlackUserRaw(requestParameters, initOverrides) {
|
|
3238
3252
|
const requestOptions = await this.updateSlackUserRequestOpts(requestParameters);
|
|
@@ -3240,8 +3254,8 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3240
3254
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ClientSlackUserDTO_1.ClientSlackUserDTOFromJSON)(jsonValue));
|
|
3241
3255
|
}
|
|
3242
3256
|
/**
|
|
3243
|
-
* Update Slack
|
|
3244
|
-
* Update Slack user
|
|
3257
|
+
* Update or change the Slack settings of the current user.
|
|
3258
|
+
* Update my Slack user
|
|
3245
3259
|
*/
|
|
3246
3260
|
async updateSlackUser(requestParameters, initOverrides) {
|
|
3247
3261
|
const response = await this.updateSlackUserRaw(requestParameters, initOverrides);
|
|
@@ -3274,7 +3288,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3274
3288
|
};
|
|
3275
3289
|
}
|
|
3276
3290
|
/**
|
|
3277
|
-
* Update a project team
|
|
3291
|
+
* Update or change the team of a project. The list sent replaces the whole team.
|
|
3278
3292
|
* Update a project team
|
|
3279
3293
|
*/
|
|
3280
3294
|
async updateTeamRaw(requestParameters, initOverrides) {
|
|
@@ -3283,7 +3297,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3283
3297
|
return new runtime.VoidApiResponse(response);
|
|
3284
3298
|
}
|
|
3285
3299
|
/**
|
|
3286
|
-
* Update a project team
|
|
3300
|
+
* Update or change the team of a project. The list sent replaces the whole team.
|
|
3287
3301
|
* Update a project team
|
|
3288
3302
|
*/
|
|
3289
3303
|
async updateTeam(requestParameters, initOverrides) {
|
|
@@ -3324,7 +3338,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3324
3338
|
};
|
|
3325
3339
|
}
|
|
3326
3340
|
/**
|
|
3327
|
-
* Update a timesheet
|
|
3341
|
+
* Update or change the hours of a day in an employee timesheet. Only possible while the timesheet is OPEN.
|
|
3328
3342
|
* Update a timesheet entry
|
|
3329
3343
|
*/
|
|
3330
3344
|
async updateTimesheetEntryRaw(requestParameters, initOverrides) {
|
|
@@ -3333,7 +3347,7 @@ class ClientApi extends runtime.BaseAPI {
|
|
|
3333
3347
|
return new runtime.VoidApiResponse(response);
|
|
3334
3348
|
}
|
|
3335
3349
|
/**
|
|
3336
|
-
* Update a timesheet
|
|
3350
|
+
* Update or change the hours of a day in an employee timesheet. Only possible while the timesheet is OPEN.
|
|
3337
3351
|
* Update a timesheet entry
|
|
3338
3352
|
*/
|
|
3339
3353
|
async updateTimesheetEntry(requestParameters, initOverrides) {
|