tuix-projects-service-client 0.23.0 → 0.24.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/docs/ClientApi.md CHANGED
@@ -6,7 +6,7 @@ All URIs are relative to *http://localhost:3000*
6
6
  |------------- | ------------- | -------------|
7
7
  | [**activateEmployee**](ClientApi.md#activateemployee) | **POST** /api/employees/{userId}/activate | Activate an employee |
8
8
  | [**addJiraAccount**](ClientApi.md#addjiraaccount) | **POST** /jira-users/jira-accounts | Add a Jira account |
9
- | [**apiUpdateTimesheetEntry**](ClientApi.md#apiupdatetimesheetentry) | **PATCH** /api/projects/{projectId}/timesheets/{timesheetId}/entries/{entryId} | Update a timesheet entry |
9
+ | [**apiUpdateTimesheetEntries**](ClientApi.md#apiupdatetimesheetentries) | **PATCH** /api/projects/{projectId}/timesheets/{timesheetId}/entries | Update timesheet entries |
10
10
  | [**approveAdjustedTimesheet**](ClientApi.md#approveadjustedtimesheet) | **PATCH** /projects/{projectId}/adjusted-timesheets/{timesheetId}/approve | Approve an adjusted timesheet |
11
11
  | [**approveGlobalTimesheet**](ClientApi.md#approveglobaltimesheet) | **PATCH** /projects/{projectId}/global-timesheets/{timesheetId}/approve | Approve a global timesheet |
12
12
  | [**approveTimesheet**](ClientApi.md#approvetimesheet) | **PATCH** /projects/{projectId}/timesheets/{timesheetId}/approve | Approve a timesheet |
@@ -73,15 +73,15 @@ All URIs are relative to *http://localhost:3000*
73
73
  | [**openSentTimesheet**](ClientApi.md#opensenttimesheet) | **PATCH** /projects/{projectId}/timesheets/{timesheetId}/open | Reopen a sent timesheet |
74
74
  | [**removeJiraAccount**](ClientApi.md#removejiraaccount) | **DELETE** /jira-users/jira-accounts/{jiraAccountId} | Remove a Jira account |
75
75
  | [**sendTimesheet**](ClientApi.md#sendtimesheet) | **PATCH** /projects/{projectId}/timesheets/{timesheetId}/send | Send a timesheet |
76
- | [**updateAdjustedEntry**](ClientApi.md#updateadjustedentry) | **PATCH** /projects/{projectId}/adjusted-timesheets/{timesheetId}/entries/{entryId} | Update an adjusted timesheet entry |
76
+ | [**updateAdjustedEntries**](ClientApi.md#updateadjustedentries) | **PATCH** /projects/{projectId}/adjusted-timesheets/{timesheetId}/entries | Update adjusted timesheet entries |
77
77
  | [**updateClient**](ClientApi.md#updateclient) | **PATCH** /clients/{clientId} | Update a client |
78
78
  | [**updateCompany**](ClientApi.md#updatecompany) | **PATCH** /companies/{companyId} | Update a company |
79
79
  | [**updateEmployeeData**](ClientApi.md#updateemployeedata) | **PATCH** /employees/{userId} | Update an employee |
80
- | [**updateGlobalTimesheetEntry**](ClientApi.md#updateglobaltimesheetentry) | **PATCH** /projects/{projectId}/global-timesheets/{timesheetId}/entries/{entryId} | Update a global timesheet entry |
80
+ | [**updateGlobalTimesheetEntries**](ClientApi.md#updateglobaltimesheetentries) | **PATCH** /projects/{projectId}/global-timesheets/{timesheetId}/entries | Update global timesheet entries |
81
81
  | [**updateProject**](ClientApi.md#updateproject) | **PATCH** /projects/{projectId} | Update a project |
82
82
  | [**updateSlackUser**](ClientApi.md#updateslackuser) | **PATCH** /slackbot-users | Update my Slack user |
83
83
  | [**updateTeam**](ClientApi.md#updateteam) | **PATCH** /projects/{projectId}/team | Update a project team |
84
- | [**updateTimesheetEntry**](ClientApi.md#updatetimesheetentry) | **PATCH** /projects/{projectId}/timesheets/{timesheetId}/entries/{entryId} | Update a timesheet entry |
84
+ | [**updateTimesheetEntries**](ClientApi.md#updatetimesheetentries) | **PATCH** /projects/{projectId}/timesheets/{timesheetId}/entries | Update timesheet entries |
85
85
 
86
86
 
87
87
 
@@ -238,13 +238,13 @@ example().catch(console.error);
238
238
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
239
239
 
240
240
 
241
- ## apiUpdateTimesheetEntry
241
+ ## apiUpdateTimesheetEntries
242
242
 
243
- > apiUpdateTimesheetEntry(projectId, timesheetId, entryId, timesheetEntryUpdateDTO)
243
+ > apiUpdateTimesheetEntries(projectId, timesheetId, timesheetEntryUpdateDTO)
244
244
 
245
- Update a timesheet entry
245
+ Update timesheet entries
246
246
 
247
- Update or change the hours of a day in an employee timesheet. Only possible while the timesheet is OPEN. Internal endpoint.
247
+ Update one or more days of an employee timesheet. Only possible while the timesheet is OPEN. The body must be a JSON array (not an object) of entries, each one identified by the entry id (taken from the timesheet entries, not the day). Fields not sent are left unchanged: checkIn/checkOut (HH:MM), pause (minutes), comments. Internal endpoint.
248
248
 
249
249
  ### Example
250
250
 
@@ -253,7 +253,7 @@ import {
253
253
  Configuration,
254
254
  ClientApi,
255
255
  } from '';
256
- import type { ApiUpdateTimesheetEntryRequest } from '';
256
+ import type { ApiUpdateTimesheetEntriesRequest } from '';
257
257
 
258
258
  async function example() {
259
259
  console.log("🚀 Testing SDK...");
@@ -268,14 +268,12 @@ async function example() {
268
268
  projectId: projectId_example,
269
269
  // string | Timesheet ID
270
270
  timesheetId: timesheetId_example,
271
- // string | Timesheet entry ID (one day of the timesheet)
272
- entryId: entryId_example,
273
- // TimesheetEntryUpdateDTO | Entry to update
271
+ // Array<TimesheetEntryUpdateDTO> | Entries to update, each one identified by its id, e.g. [{\'id\': \'UUID\', \'checkIn\': \'08:00\', \'checkOut\': \'17:00\', \'comments\': \'Regular work hours\'}]
274
272
  timesheetEntryUpdateDTO: ...,
275
- } satisfies ApiUpdateTimesheetEntryRequest;
273
+ } satisfies ApiUpdateTimesheetEntriesRequest;
276
274
 
277
275
  try {
278
- const data = await api.apiUpdateTimesheetEntry(body);
276
+ const data = await api.apiUpdateTimesheetEntries(body);
279
277
  console.log(data);
280
278
  } catch (error) {
281
279
  console.error(error);
@@ -293,8 +291,7 @@ example().catch(console.error);
293
291
  |------------- | ------------- | ------------- | -------------|
294
292
  | **projectId** | `string` | Project ID | [Defaults to `undefined`] |
295
293
  | **timesheetId** | `string` | Timesheet ID | [Defaults to `undefined`] |
296
- | **entryId** | `string` | Timesheet entry ID (one day of the timesheet) | [Defaults to `undefined`] |
297
- | **timesheetEntryUpdateDTO** | [TimesheetEntryUpdateDTO](TimesheetEntryUpdateDTO.md) | Entry to update | |
294
+ | **timesheetEntryUpdateDTO** | `Array<TimesheetEntryUpdateDTO>` | Entries to update, each one identified by its id, e.g. [{\&#39;id\&#39;: \&#39;UUID\&#39;, \&#39;checkIn\&#39;: \&#39;08:00\&#39;, \&#39;checkOut\&#39;: \&#39;17:00\&#39;, \&#39;comments\&#39;: \&#39;Regular work hours\&#39;}] | |
298
295
 
299
296
  ### Return type
300
297
 
@@ -313,12 +310,12 @@ example().catch(console.error);
313
310
  ### HTTP response details
314
311
  | Status code | Description | Response headers |
315
312
  |-------------|-------------|------------------|
316
- | **204** | Update a timesheet entry | - |
317
- | **400** | Return an error if provided ID is not a valid UUID | - |
313
+ | **204** | Timesheet entries updated | - |
314
+ | **400** | Return an error if an ID is not a valid UUID, the body is not a non-empty array of entries with unique ids, or the timesheet is not OPEN | - |
318
315
  | **401** | Return an error if the user is not authorized | - |
319
316
  | **402** | Return an error if payment is required | - |
320
317
  | **403** | Return an error if the user does not have the required permissions | - |
321
- | **404** | Return an error if the project, the timesheet or the entry is not found or the user does not belong to the project | - |
318
+ | **404** | Return an error if the project, the timesheet or any of the entries is not found or the user does not belong to the project | - |
322
319
  | **500** | Return an error if the server finds an error | - |
323
320
 
324
321
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -5475,13 +5472,13 @@ example().catch(console.error);
5475
5472
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
5476
5473
 
5477
5474
 
5478
- ## updateAdjustedEntry
5475
+ ## updateAdjustedEntries
5479
5476
 
5480
- > AdjustedTimesheetEntryDTO updateAdjustedEntry(projectId, timesheetId, entryId, adjustedTimesheetUpdateEntryDTO)
5477
+ > Array&lt;AdjustedTimesheetEntryDTO&gt; updateAdjustedEntries(projectId, timesheetId, adjustedTimesheetUpdateEntryDTO)
5481
5478
 
5482
- Update an adjusted timesheet entry
5479
+ Update adjusted timesheet entries
5483
5480
 
5484
- Update or change the hours of a day in an adjusted timesheet. Only possible while the adjusted timesheet is OPEN.
5481
+ Update one or more days of an adjusted timesheet. Only possible while the adjusted timesheet is OPEN. The body must be a JSON array (not an object) of entries, each one identified by the entry id (taken from the timesheet entries, not the day). Fields not sent are left unchanged: checkIn/checkOut (HH:MM), pause (minutes), comments.
5485
5482
 
5486
5483
  ### Example
5487
5484
 
@@ -5490,7 +5487,7 @@ import {
5490
5487
  Configuration,
5491
5488
  ClientApi,
5492
5489
  } from '';
5493
- import type { UpdateAdjustedEntryRequest } from '';
5490
+ import type { UpdateAdjustedEntriesRequest } from '';
5494
5491
 
5495
5492
  async function example() {
5496
5493
  console.log("🚀 Testing SDK...");
@@ -5505,14 +5502,12 @@ async function example() {
5505
5502
  projectId: projectId_example,
5506
5503
  // string | Adjusted timesheet ID
5507
5504
  timesheetId: timesheetId_example,
5508
- // string | Adjusted timesheet entry ID
5509
- entryId: entryId_example,
5510
- // AdjustedTimesheetUpdateEntryDTO | Entry to update
5505
+ // Array<AdjustedTimesheetUpdateEntryDTO> | Entries to update, each one identified by its id, e.g. [{\'id\': \'UUID\', \'checkIn\': \'08:00\', \'checkOut\': \'17:00\', \'comments\': \'Regular work hours\'}]
5511
5506
  adjustedTimesheetUpdateEntryDTO: ...,
5512
- } satisfies UpdateAdjustedEntryRequest;
5507
+ } satisfies UpdateAdjustedEntriesRequest;
5513
5508
 
5514
5509
  try {
5515
- const data = await api.updateAdjustedEntry(body);
5510
+ const data = await api.updateAdjustedEntries(body);
5516
5511
  console.log(data);
5517
5512
  } catch (error) {
5518
5513
  console.error(error);
@@ -5530,12 +5525,11 @@ example().catch(console.error);
5530
5525
  |------------- | ------------- | ------------- | -------------|
5531
5526
  | **projectId** | `string` | Project ID | [Defaults to `undefined`] |
5532
5527
  | **timesheetId** | `string` | Adjusted timesheet ID | [Defaults to `undefined`] |
5533
- | **entryId** | `string` | Adjusted timesheet entry ID | [Defaults to `undefined`] |
5534
- | **adjustedTimesheetUpdateEntryDTO** | [AdjustedTimesheetUpdateEntryDTO](AdjustedTimesheetUpdateEntryDTO.md) | Entry to update | |
5528
+ | **adjustedTimesheetUpdateEntryDTO** | `Array<AdjustedTimesheetUpdateEntryDTO>` | Entries to update, each one identified by its id, e.g. [{\&#39;id\&#39;: \&#39;UUID\&#39;, \&#39;checkIn\&#39;: \&#39;08:00\&#39;, \&#39;checkOut\&#39;: \&#39;17:00\&#39;, \&#39;comments\&#39;: \&#39;Regular work hours\&#39;}] | |
5535
5529
 
5536
5530
  ### Return type
5537
5531
 
5538
- [**AdjustedTimesheetEntryDTO**](AdjustedTimesheetEntryDTO.md)
5532
+ [**Array&lt;AdjustedTimesheetEntryDTO&gt;**](AdjustedTimesheetEntryDTO.md)
5539
5533
 
5540
5534
  ### Authorization
5541
5535
 
@@ -5550,12 +5544,12 @@ example().catch(console.error);
5550
5544
  ### HTTP response details
5551
5545
  | Status code | Description | Response headers |
5552
5546
  |-------------|-------------|------------------|
5553
- | **201** | Update an adjustedTimesheetEntry and returns the updated Entry | - |
5554
- | **400** | Return an error if there is a missing or invalid field | - |
5547
+ | **200** | Return the updated entries, in the same order as the request | - |
5548
+ | **400** | Return an error if an ID is not a valid UUID, the body is not a non-empty array of entries with unique ids, or the adjusted timesheet is not OPEN | - |
5555
5549
  | **401** | Return an error if the user is not authorized | - |
5556
5550
  | **402** | Return an error if payment is required | - |
5557
5551
  | **403** | Return an error if the user does not have the required permissions | - |
5558
- | **409** | Return an error if data is duplicated | - |
5552
+ | **404** | Return an error if the adjusted timesheet or any of the entries is not found | - |
5559
5553
  | **500** | Return an error if the server finds an error | - |
5560
5554
 
5561
5555
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -5802,13 +5796,13 @@ example().catch(console.error);
5802
5796
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
5803
5797
 
5804
5798
 
5805
- ## updateGlobalTimesheetEntry
5799
+ ## updateGlobalTimesheetEntries
5806
5800
 
5807
- > GlobalTimesheetEntryDTO updateGlobalTimesheetEntry(projectId, timesheetId, entryId, globalTimesheetEntryUpdateDTO)
5801
+ > Array&lt;GlobalTimesheetEntryDTO&gt; updateGlobalTimesheetEntries(projectId, timesheetId, globalTimesheetEntryUpdateDTO)
5808
5802
 
5809
- Update a global timesheet entry
5803
+ Update global timesheet entries
5810
5804
 
5811
- Update or change the hours or comments of a day in a global timesheet. Only possible while the global timesheet is OPEN.
5805
+ Update the hours or comments of one or more days of a global timesheet. Only possible while the global timesheet is OPEN. The body must be a JSON array (not an object) of entries, each one identified by the entry id (taken from the timesheet entries, not the day). Fields not sent are left unchanged: hours (&gt;&#x3D; 0), comments.
5812
5806
 
5813
5807
  ### Example
5814
5808
 
@@ -5817,7 +5811,7 @@ import {
5817
5811
  Configuration,
5818
5812
  ClientApi,
5819
5813
  } from '';
5820
- import type { UpdateGlobalTimesheetEntryRequest } from '';
5814
+ import type { UpdateGlobalTimesheetEntriesRequest } from '';
5821
5815
 
5822
5816
  async function example() {
5823
5817
  console.log("🚀 Testing SDK...");
@@ -5832,14 +5826,12 @@ async function example() {
5832
5826
  projectId: projectId_example,
5833
5827
  // string | Global timesheet ID
5834
5828
  timesheetId: timesheetId_example,
5835
- // string | Global timesheet entry ID
5836
- entryId: entryId_example,
5837
- // GlobalTimesheetEntryUpdateDTO | Entry to update
5829
+ // Array<GlobalTimesheetEntryUpdateDTO> | Entries to update, each one identified by its id, e.g. [{\'id\': \'UUID\', \'hours\': 8, \'comments\': \'Regular work hours\'}]
5838
5830
  globalTimesheetEntryUpdateDTO: ...,
5839
- } satisfies UpdateGlobalTimesheetEntryRequest;
5831
+ } satisfies UpdateGlobalTimesheetEntriesRequest;
5840
5832
 
5841
5833
  try {
5842
- const data = await api.updateGlobalTimesheetEntry(body);
5834
+ const data = await api.updateGlobalTimesheetEntries(body);
5843
5835
  console.log(data);
5844
5836
  } catch (error) {
5845
5837
  console.error(error);
@@ -5857,12 +5849,11 @@ example().catch(console.error);
5857
5849
  |------------- | ------------- | ------------- | -------------|
5858
5850
  | **projectId** | `string` | Project ID | [Defaults to `undefined`] |
5859
5851
  | **timesheetId** | `string` | Global timesheet ID | [Defaults to `undefined`] |
5860
- | **entryId** | `string` | Global timesheet entry ID | [Defaults to `undefined`] |
5861
- | **globalTimesheetEntryUpdateDTO** | [GlobalTimesheetEntryUpdateDTO](GlobalTimesheetEntryUpdateDTO.md) | Entry to update | |
5852
+ | **globalTimesheetEntryUpdateDTO** | `Array<GlobalTimesheetEntryUpdateDTO>` | Entries to update, each one identified by its id, e.g. [{\&#39;id\&#39;: \&#39;UUID\&#39;, \&#39;hours\&#39;: 8, \&#39;comments\&#39;: \&#39;Regular work hours\&#39;}] | |
5862
5853
 
5863
5854
  ### Return type
5864
5855
 
5865
- [**GlobalTimesheetEntryDTO**](GlobalTimesheetEntryDTO.md)
5856
+ [**Array&lt;GlobalTimesheetEntryDTO&gt;**](GlobalTimesheetEntryDTO.md)
5866
5857
 
5867
5858
  ### Authorization
5868
5859
 
@@ -5877,12 +5868,12 @@ example().catch(console.error);
5877
5868
  ### HTTP response details
5878
5869
  | Status code | Description | Response headers |
5879
5870
  |-------------|-------------|------------------|
5880
- | **200** | Return the updated entry | - |
5881
- | **400** | Return an error if provided ID is not a valid UUID | - |
5871
+ | **200** | Return the updated entries, in the same order as the request | - |
5872
+ | **400** | Return an error if an ID is not a valid UUID, the body is not a non-empty array of entries with unique ids, hours is negative, or the global timesheet is not OPEN | - |
5882
5873
  | **401** | Return an error if the user is not authorized | - |
5883
5874
  | **402** | Return an error if payment is required | - |
5884
5875
  | **403** | Return an error if the user does not have the required permissions | - |
5885
- | **404** | Return an error if the project is not found or the user does not belong to the project | - |
5876
+ | **404** | Return an error if the project or any of the entries is not found or the user does not belong to the project | - |
5886
5877
  | **500** | Return an error if the server finds an error | - |
5887
5878
 
5888
5879
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -6122,13 +6113,13 @@ example().catch(console.error);
6122
6113
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
6123
6114
 
6124
6115
 
6125
- ## updateTimesheetEntry
6116
+ ## updateTimesheetEntries
6126
6117
 
6127
- > updateTimesheetEntry(projectId, timesheetId, entryId, timesheetEntryUpdateDTO)
6118
+ > updateTimesheetEntries(projectId, timesheetId, timesheetEntryUpdateDTO)
6128
6119
 
6129
- Update a timesheet entry
6120
+ Update timesheet entries
6130
6121
 
6131
- Update or change the hours of a day in an employee timesheet. Only possible while the timesheet is OPEN.
6122
+ Update one or more days of an employee timesheet. Only possible while the timesheet is OPEN. The body must be a JSON array (not an object) of entries, each one identified by the entry id (taken from the timesheet entries, not the day). Fields not sent are left unchanged: checkIn/checkOut (HH:MM), pause (minutes), comments.
6132
6123
 
6133
6124
  ### Example
6134
6125
 
@@ -6137,7 +6128,7 @@ import {
6137
6128
  Configuration,
6138
6129
  ClientApi,
6139
6130
  } from '';
6140
- import type { UpdateTimesheetEntryRequest } from '';
6131
+ import type { UpdateTimesheetEntriesRequest } from '';
6141
6132
 
6142
6133
  async function example() {
6143
6134
  console.log("🚀 Testing SDK...");
@@ -6152,14 +6143,12 @@ async function example() {
6152
6143
  projectId: projectId_example,
6153
6144
  // string | Timesheet ID
6154
6145
  timesheetId: timesheetId_example,
6155
- // string | Timesheet entry ID (one day of the timesheet)
6156
- entryId: entryId_example,
6157
- // TimesheetEntryUpdateDTO | Entry to update
6146
+ // Array<TimesheetEntryUpdateDTO> | Entries to update, each one identified by its id, e.g. [{\'id\': \'UUID\', \'checkIn\': \'08:00\', \'checkOut\': \'17:00\', \'comments\': \'Regular work hours\'}]
6158
6147
  timesheetEntryUpdateDTO: ...,
6159
- } satisfies UpdateTimesheetEntryRequest;
6148
+ } satisfies UpdateTimesheetEntriesRequest;
6160
6149
 
6161
6150
  try {
6162
- const data = await api.updateTimesheetEntry(body);
6151
+ const data = await api.updateTimesheetEntries(body);
6163
6152
  console.log(data);
6164
6153
  } catch (error) {
6165
6154
  console.error(error);
@@ -6177,8 +6166,7 @@ example().catch(console.error);
6177
6166
  |------------- | ------------- | ------------- | -------------|
6178
6167
  | **projectId** | `string` | Project ID | [Defaults to `undefined`] |
6179
6168
  | **timesheetId** | `string` | Timesheet ID | [Defaults to `undefined`] |
6180
- | **entryId** | `string` | Timesheet entry ID (one day of the timesheet) | [Defaults to `undefined`] |
6181
- | **timesheetEntryUpdateDTO** | [TimesheetEntryUpdateDTO](TimesheetEntryUpdateDTO.md) | Entry to update | |
6169
+ | **timesheetEntryUpdateDTO** | `Array<TimesheetEntryUpdateDTO>` | Entries to update, each one identified by its id, e.g. [{\&#39;id\&#39;: \&#39;UUID\&#39;, \&#39;checkIn\&#39;: \&#39;08:00\&#39;, \&#39;checkOut\&#39;: \&#39;17:00\&#39;, \&#39;comments\&#39;: \&#39;Regular work hours\&#39;}] | |
6182
6170
 
6183
6171
  ### Return type
6184
6172
 
@@ -6197,12 +6185,12 @@ example().catch(console.error);
6197
6185
  ### HTTP response details
6198
6186
  | Status code | Description | Response headers |
6199
6187
  |-------------|-------------|------------------|
6200
- | **204** | Update a timesheet entry | - |
6201
- | **400** | Return an error if provided ID is not a valid UUID | - |
6188
+ | **204** | Timesheet entries updated | - |
6189
+ | **400** | Return an error if an ID is not a valid UUID, the body is not a non-empty array of entries with unique ids, or the timesheet is not OPEN | - |
6202
6190
  | **401** | Return an error if the user is not authorized | - |
6203
6191
  | **402** | Return an error if payment is required | - |
6204
6192
  | **403** | Return an error if the user does not have the required permissions | - |
6205
- | **404** | Return an error if the project, the timesheet or the entry is not found or the user does not belong to the project | - |
6193
+ | **404** | Return an error if the project, the timesheet or any of the entries is not found or the user does not belong to the project | - |
6206
6194
  | **500** | Return an error if the server finds an error | - |
6207
6195
 
6208
6196
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
@@ -8,6 +8,7 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `comments` | string
10
10
  `hours` | number
11
+ `id` | string
11
12
 
12
13
  ## Example
13
14
 
@@ -18,6 +19,7 @@ import type { GlobalTimesheetEntryUpdateDTO } from ''
18
19
  const example = {
19
20
  "comments": null,
20
21
  "hours": null,
22
+ "id": null,
21
23
  } satisfies GlobalTimesheetEntryUpdateDTO
22
24
 
23
25
  console.log(example)
@@ -9,6 +9,7 @@ Name | Type
9
9
  `checkIn` | string
10
10
  `checkOut` | string
11
11
  `comments` | string
12
+ `id` | string
12
13
  `pause` | number
13
14
 
14
15
  ## Example
@@ -21,6 +22,7 @@ const example = {
21
22
  "checkIn": null,
22
23
  "checkOut": null,
23
24
  "comments": null,
25
+ "id": null,
24
26
  "pause": null,
25
27
  } satisfies TimesheetEntryUpdateDTO
26
28
 
@@ -22,6 +22,8 @@ exports.AdjustedTimesheetUpdateEntryDTOToJSONTyped = AdjustedTimesheetUpdateEntr
22
22
  * Check if a given object implements the AdjustedTimesheetUpdateEntryDTO interface.
23
23
  */
24
24
  function instanceOfAdjustedTimesheetUpdateEntryDTO(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
25
27
  return true;
26
28
  }
27
29
  function AdjustedTimesheetUpdateEntryDTOFromJSON(json) {
@@ -35,6 +37,7 @@ function AdjustedTimesheetUpdateEntryDTOFromJSONTyped(json, ignoreDiscriminator)
35
37
  'checkIn': json['checkIn'] == null ? undefined : json['checkIn'],
36
38
  'checkOut': json['checkOut'] == null ? undefined : json['checkOut'],
37
39
  'comments': json['comments'] == null ? undefined : json['comments'],
40
+ 'id': json['id'],
38
41
  'pause': json['pause'] == null ? undefined : json['pause'],
39
42
  };
40
43
  }
@@ -49,6 +52,7 @@ function AdjustedTimesheetUpdateEntryDTOToJSONTyped(value, ignoreDiscriminator =
49
52
  'checkIn': value['checkIn'],
50
53
  'checkOut': value['checkOut'],
51
54
  'comments': value['comments'],
55
+ 'id': value['id'],
52
56
  'pause': value['pause'],
53
57
  };
54
58
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AdjustedTimesheetUpdateEntryDTO.js","sourceRoot":"","sources":["AdjustedTimesheetUpdateEntryDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA8BH,8FAEC;AAED,0FAEC;AAED,oGAWC;AAED,sFAEC;AAED,gGAYC;AAxCD;;GAEG;AACH,SAAgB,yCAAyC,CAAC,KAAa;IACnE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,uCAAuC,CAAC,IAAS;IAC7D,OAAO,4CAA4C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrE,CAAC;AAED,SAAgB,4CAA4C,CAAC,IAAS,EAAE,mBAA4B;IAChG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAChE,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;KAC7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CAAC;QAChE,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;KAC7D,CAAC;AACN,CAAC;AAED,SAAgB,qCAAqC,CAAC,IAAS;IAC3D,OAAO,0CAA0C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnE,CAAC;AAED,SAAgB,0CAA0C,CAAC,KAA8C,EAAE,sBAA+B,KAAK;IAC3I,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,CAAC;AACN,CAAC"}
@@ -31,6 +31,10 @@ export interface AdjustedTimesheetUpdateEntryDTO {
31
31
  *
32
32
  */
33
33
  comments?: string;
34
+ /**
35
+ *
36
+ */
37
+ id: string;
34
38
  /**
35
39
  *
36
40
  */
@@ -41,6 +45,7 @@ export interface AdjustedTimesheetUpdateEntryDTO {
41
45
  * Check if a given object implements the AdjustedTimesheetUpdateEntryDTO interface.
42
46
  */
43
47
  export function instanceOfAdjustedTimesheetUpdateEntryDTO(value: object): value is AdjustedTimesheetUpdateEntryDTO {
48
+ if (!('id' in value) || value['id'] === undefined) return false;
44
49
  return true;
45
50
  }
46
51
 
@@ -57,6 +62,7 @@ export function AdjustedTimesheetUpdateEntryDTOFromJSONTyped(json: any, ignoreDi
57
62
  'checkIn': json['checkIn'] == null ? undefined : json['checkIn'],
58
63
  'checkOut': json['checkOut'] == null ? undefined : json['checkOut'],
59
64
  'comments': json['comments'] == null ? undefined : json['comments'],
65
+ 'id': json['id'],
60
66
  'pause': json['pause'] == null ? undefined : json['pause'],
61
67
  };
62
68
  }
@@ -75,6 +81,7 @@ export function AdjustedTimesheetUpdateEntryDTOToJSONTyped(value?: AdjustedTimes
75
81
  'checkIn': value['checkIn'],
76
82
  'checkOut': value['checkOut'],
77
83
  'comments': value['comments'],
84
+ 'id': value['id'],
78
85
  'pause': value['pause'],
79
86
  };
80
87
  }
@@ -22,6 +22,8 @@ exports.GlobalTimesheetEntryUpdateDTOToJSONTyped = GlobalTimesheetEntryUpdateDTO
22
22
  * Check if a given object implements the GlobalTimesheetEntryUpdateDTO interface.
23
23
  */
24
24
  function instanceOfGlobalTimesheetEntryUpdateDTO(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
25
27
  return true;
26
28
  }
27
29
  function GlobalTimesheetEntryUpdateDTOFromJSON(json) {
@@ -34,6 +36,7 @@ function GlobalTimesheetEntryUpdateDTOFromJSONTyped(json, ignoreDiscriminator) {
34
36
  return {
35
37
  'comments': json['comments'] == null ? undefined : json['comments'],
36
38
  'hours': json['hours'] == null ? undefined : json['hours'],
39
+ 'id': json['id'],
37
40
  };
38
41
  }
39
42
  function GlobalTimesheetEntryUpdateDTOToJSON(json) {
@@ -46,6 +49,7 @@ function GlobalTimesheetEntryUpdateDTOToJSONTyped(value, ignoreDiscriminator = f
46
49
  return {
47
50
  'comments': value['comments'],
48
51
  'hours': value['hours'],
52
+ 'id': value['id'],
49
53
  };
50
54
  }
51
55
  //# sourceMappingURL=GlobalTimesheetEntryUpdateDTO.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalTimesheetEntryUpdateDTO.js","sourceRoot":"","sources":["GlobalTimesheetEntryUpdateDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAsBH,0FAEC;AAED,sFAEC;AAED,gGASC;AAED,kFAEC;AAED,4FAUC;AApCD;;GAEG;AACH,SAAgB,uCAAuC,CAAC,KAAa;IACjE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,qCAAqC,CAAC,IAAS;IAC3D,OAAO,0CAA0C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnE,CAAC;AAED,SAAgB,0CAA0C,CAAC,IAAS,EAAE,mBAA4B;IAC9F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;KAC7D,CAAC;AACN,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,SAAgB,wCAAwC,CAAC,KAA4C,EAAE,sBAA+B,KAAK;IACvI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"GlobalTimesheetEntryUpdateDTO.js","sourceRoot":"","sources":["GlobalTimeshe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EAAE,KAAK,CAAC,IAAI,CAAC;KACpB,CAAC;AACN,CAAC"}
@@ -27,12 +27,17 @@ export interface GlobalTimesheetEntryUpdateDTO {
27
27
  *
28
28
  */
29
29
  hours?: number;
30
+ /**
31
+ *
32
+ */
33
+ id: string;
30
34
  }
31
35
 
32
36
  /**
33
37
  * Check if a given object implements the GlobalTimesheetEntryUpdateDTO interface.
34
38
  */
35
39
  export function instanceOfGlobalTimesheetEntryUpdateDTO(value: object): value is GlobalTimesheetEntryUpdateDTO {
40
+ if (!('id' in value) || value['id'] === undefined) return false;
36
41
  return true;
37
42
  }
38
43
 
@@ -48,6 +53,7 @@ export function GlobalTimesheetEntryUpdateDTOFromJSONTyped(json: any, ignoreDisc
48
53
 
49
54
  'comments': json['comments'] == null ? undefined : json['comments'],
50
55
  'hours': json['hours'] == null ? undefined : json['hours'],
56
+ 'id': json['id'],
51
57
  };
52
58
  }
53
59
 
@@ -64,6 +70,7 @@ export function GlobalTimesheetEntryUpdateDTOToJSONTyped(value?: GlobalTimesheet
64
70
 
65
71
  'comments': value['comments'],
66
72
  'hours': value['hours'],
73
+ 'id': value['id'],
67
74
  };
68
75
  }
69
76
 
@@ -22,6 +22,8 @@ exports.TimesheetEntryUpdateDTOToJSONTyped = TimesheetEntryUpdateDTOToJSONTyped;
22
22
  * Check if a given object implements the TimesheetEntryUpdateDTO interface.
23
23
  */
24
24
  function instanceOfTimesheetEntryUpdateDTO(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
25
27
  return true;
26
28
  }
27
29
  function TimesheetEntryUpdateDTOFromJSON(json) {
@@ -35,6 +37,7 @@ function TimesheetEntryUpdateDTOFromJSONTyped(json, ignoreDiscriminator) {
35
37
  'checkIn': json['checkIn'] == null ? undefined : json['checkIn'],
36
38
  'checkOut': json['checkOut'] == null ? undefined : json['checkOut'],
37
39
  'comments': json['comments'] == null ? undefined : json['comments'],
40
+ 'id': json['id'],
38
41
  'pause': json['pause'] == null ? undefined : json['pause'],
39
42
  };
40
43
  }
@@ -49,6 +52,7 @@ function TimesheetEntryUpdateDTOToJSONTyped(value, ignoreDiscriminator = false)
49
52
  'checkIn': value['checkIn'],
50
53
  'checkOut': value['checkOut'],
51
54
  'comments': value['comments'],
55
+ 'id': value['id'],
52
56
  'pause': value['pause'],
53
57
  };
54
58
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TimesheetEntryUpdateDTO.js","sourceRoot":"","sources":["TimesheetEntryUpdateDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA8BH,8EAEC;AAED,0EAEC;AAED,oFAWC;AAED,sEAEC;AAED,gFAYC;AAxCD;;GAEG;AACH,SAAgB,iCAAiC,CAAC,KAAa;IAC3D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAChE,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;KAC7D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UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;KAC7D,CAAC;AACN,CAAC;AAED,SAAgB,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,kCAAkC,CAAC,KAAsC,EAAE,sBAA+B,KAAK;IAC3H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,CAAC;AACN,CAAC"}
@@ -31,6 +31,10 @@ export interface TimesheetEntryUpdateDTO {
31
31
  *
32
32
  */
33
33
  comments?: string;
34
+ /**
35
+ *
36
+ */
37
+ id: string;
34
38
  /**
35
39
  *
36
40
  */
@@ -41,6 +45,7 @@ export interface TimesheetEntryUpdateDTO {
41
45
  * Check if a given object implements the TimesheetEntryUpdateDTO interface.
42
46
  */
43
47
  export function instanceOfTimesheetEntryUpdateDTO(value: object): value is TimesheetEntryUpdateDTO {
48
+ if (!('id' in value) || value['id'] === undefined) return false;
44
49
  return true;
45
50
  }
46
51
 
@@ -57,6 +62,7 @@ export function TimesheetEntryUpdateDTOFromJSONTyped(json: any, ignoreDiscrimina
57
62
  'checkIn': json['checkIn'] == null ? undefined : json['checkIn'],
58
63
  'checkOut': json['checkOut'] == null ? undefined : json['checkOut'],
59
64
  'comments': json['comments'] == null ? undefined : json['comments'],
65
+ 'id': json['id'],
60
66
  'pause': json['pause'] == null ? undefined : json['pause'],
61
67
  };
62
68
  }
@@ -75,6 +81,7 @@ export function TimesheetEntryUpdateDTOToJSONTyped(value?: TimesheetEntryUpdateD
75
81
  'checkIn': value['checkIn'],
76
82
  'checkOut': value['checkOut'],
77
83
  'comments': value['comments'],
84
+ 'id': value['id'],
78
85
  'pause': value['pause'],
79
86
  };
80
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tuix-projects-service-client",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "This package facilitates the client request to tuix tuix-projects-service",
5
5
  "main": "index.js",
6
6
  "private": false,