tuix-projects-service-client 0.0.113 → 0.0.115
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/apis/ClientApi.js +78 -62
- package/apis/ClientApi.js.map +1 -1
- package/apis/ClientApi.ts +122 -74
- package/docs/AdjustedTimesheetUpdateEntryDTO.md +0 -2
- package/docs/ClientApi.md +66 -54
- package/docs/GlobalTimesheetEntryUpdateDTO.md +0 -2
- package/docs/TimesheetEntryUpdateDTO.md +0 -2
- package/models/AdjustedTimesheetUpdateEntryDTO.js +0 -4
- package/models/AdjustedTimesheetUpdateEntryDTO.js.map +1 -1
- package/models/AdjustedTimesheetUpdateEntryDTO.ts +0 -7
- package/models/GlobalTimesheetEntryUpdateDTO.js +0 -4
- package/models/GlobalTimesheetEntryUpdateDTO.js.map +1 -1
- package/models/GlobalTimesheetEntryUpdateDTO.ts +0 -7
- package/models/TimesheetEntryUpdateDTO.js +0 -4
- package/models/TimesheetEntryUpdateDTO.js.map +1 -1
- package/models/TimesheetEntryUpdateDTO.ts +0 -7
- package/package.json +1 -1
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
|
-
| [**
|
|
9
|
+
| [**apiUpdateTimesheetEntry**](ClientApi.md#apiupdatetimesheetentry) | **PATCH** /api/projects/{projectId}/timesheets/{timesheetId}/entries/{entryId} | Update a timesheet entry |
|
|
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
|
-
| [**
|
|
76
|
+
| [**updateAdjustedEntry**](ClientApi.md#updateadjustedentry) | **PATCH** /projects/{projectId}/adjusted-timesheets/{timesheetId}/entries/{entryId} | Update an adjusted timesheet entry |
|
|
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
|
-
| [**
|
|
80
|
+
| [**updateGlobalTimesheetEntry**](ClientApi.md#updateglobaltimesheetentry) | **PATCH** /projects/{projectId}/global-timesheets/{timesheetId}/entries/{entryId} | Update a global timesheet entry |
|
|
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
|
-
| [**
|
|
84
|
+
| [**updateTimesheetEntry**](ClientApi.md#updatetimesheetentry) | **PATCH** /projects/{projectId}/timesheets/{timesheetId}/entries/{entryId} | Update a timesheet entry |
|
|
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
|
-
##
|
|
241
|
+
## apiUpdateTimesheetEntry
|
|
242
242
|
|
|
243
|
-
>
|
|
243
|
+
> apiUpdateTimesheetEntry(projectId, timesheetId, entryId, timesheetEntryUpdateDTO)
|
|
244
244
|
|
|
245
|
-
Update timesheet
|
|
245
|
+
Update a timesheet entry
|
|
246
246
|
|
|
247
|
-
Update
|
|
247
|
+
Update or change the hours of a day in an employee timesheet. Only possible while the timesheet is OPEN. 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 {
|
|
256
|
+
import type { ApiUpdateTimesheetEntryRequest } from '';
|
|
257
257
|
|
|
258
258
|
async function example() {
|
|
259
259
|
console.log("🚀 Testing SDK...");
|
|
@@ -268,12 +268,14 @@ async function example() {
|
|
|
268
268
|
projectId: projectId_example,
|
|
269
269
|
// string | Timesheet ID
|
|
270
270
|
timesheetId: timesheetId_example,
|
|
271
|
-
//
|
|
271
|
+
// string | Timesheet entry ID (one day of the timesheet)
|
|
272
|
+
entryId: entryId_example,
|
|
273
|
+
// TimesheetEntryUpdateDTO | Entry to update
|
|
272
274
|
timesheetEntryUpdateDTO: ...,
|
|
273
|
-
} satisfies
|
|
275
|
+
} satisfies ApiUpdateTimesheetEntryRequest;
|
|
274
276
|
|
|
275
277
|
try {
|
|
276
|
-
const data = await api.
|
|
278
|
+
const data = await api.apiUpdateTimesheetEntry(body);
|
|
277
279
|
console.log(data);
|
|
278
280
|
} catch (error) {
|
|
279
281
|
console.error(error);
|
|
@@ -291,7 +293,8 @@ example().catch(console.error);
|
|
|
291
293
|
|------------- | ------------- | ------------- | -------------|
|
|
292
294
|
| **projectId** | `string` | Project ID | [Defaults to `undefined`] |
|
|
293
295
|
| **timesheetId** | `string` | Timesheet ID | [Defaults to `undefined`] |
|
|
294
|
-
| **
|
|
296
|
+
| **entryId** | `string` | Timesheet entry ID (one day of the timesheet) | [Defaults to `undefined`] |
|
|
297
|
+
| **timesheetEntryUpdateDTO** | [TimesheetEntryUpdateDTO](TimesheetEntryUpdateDTO.md) | Entry to update | |
|
|
295
298
|
|
|
296
299
|
### Return type
|
|
297
300
|
|
|
@@ -310,12 +313,12 @@ example().catch(console.error);
|
|
|
310
313
|
### HTTP response details
|
|
311
314
|
| Status code | Description | Response headers |
|
|
312
315
|
|-------------|-------------|------------------|
|
|
313
|
-
| **204** |
|
|
314
|
-
| **400** | Return an error if
|
|
316
|
+
| **204** | Update a timesheet entry | - |
|
|
317
|
+
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
315
318
|
| **401** | Return an error if the user is not authorized | - |
|
|
316
319
|
| **402** | Return an error if payment is required | - |
|
|
317
320
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
318
|
-
| **404** | Return an error if the project, the timesheet or
|
|
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 | - |
|
|
319
322
|
| **500** | Return an error if the server finds an error | - |
|
|
320
323
|
|
|
321
324
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -5472,13 +5475,13 @@ example().catch(console.error);
|
|
|
5472
5475
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
5473
5476
|
|
|
5474
5477
|
|
|
5475
|
-
##
|
|
5478
|
+
## updateAdjustedEntry
|
|
5476
5479
|
|
|
5477
|
-
>
|
|
5480
|
+
> AdjustedTimesheetEntryDTO updateAdjustedEntry(projectId, timesheetId, entryId, adjustedTimesheetUpdateEntryDTO)
|
|
5478
5481
|
|
|
5479
|
-
Update adjusted timesheet
|
|
5482
|
+
Update an adjusted timesheet entry
|
|
5480
5483
|
|
|
5481
|
-
Update
|
|
5484
|
+
Update or change the hours of a day in an adjusted timesheet. Only possible while the adjusted timesheet is OPEN.
|
|
5482
5485
|
|
|
5483
5486
|
### Example
|
|
5484
5487
|
|
|
@@ -5487,7 +5490,7 @@ import {
|
|
|
5487
5490
|
Configuration,
|
|
5488
5491
|
ClientApi,
|
|
5489
5492
|
} from '';
|
|
5490
|
-
import type {
|
|
5493
|
+
import type { UpdateAdjustedEntryRequest } from '';
|
|
5491
5494
|
|
|
5492
5495
|
async function example() {
|
|
5493
5496
|
console.log("🚀 Testing SDK...");
|
|
@@ -5502,12 +5505,14 @@ async function example() {
|
|
|
5502
5505
|
projectId: projectId_example,
|
|
5503
5506
|
// string | Adjusted timesheet ID
|
|
5504
5507
|
timesheetId: timesheetId_example,
|
|
5505
|
-
//
|
|
5508
|
+
// string | Adjusted timesheet entry ID
|
|
5509
|
+
entryId: entryId_example,
|
|
5510
|
+
// AdjustedTimesheetUpdateEntryDTO | Entry to update
|
|
5506
5511
|
adjustedTimesheetUpdateEntryDTO: ...,
|
|
5507
|
-
} satisfies
|
|
5512
|
+
} satisfies UpdateAdjustedEntryRequest;
|
|
5508
5513
|
|
|
5509
5514
|
try {
|
|
5510
|
-
const data = await api.
|
|
5515
|
+
const data = await api.updateAdjustedEntry(body);
|
|
5511
5516
|
console.log(data);
|
|
5512
5517
|
} catch (error) {
|
|
5513
5518
|
console.error(error);
|
|
@@ -5525,11 +5530,12 @@ example().catch(console.error);
|
|
|
5525
5530
|
|------------- | ------------- | ------------- | -------------|
|
|
5526
5531
|
| **projectId** | `string` | Project ID | [Defaults to `undefined`] |
|
|
5527
5532
|
| **timesheetId** | `string` | Adjusted timesheet ID | [Defaults to `undefined`] |
|
|
5528
|
-
| **
|
|
5533
|
+
| **entryId** | `string` | Adjusted timesheet entry ID | [Defaults to `undefined`] |
|
|
5534
|
+
| **adjustedTimesheetUpdateEntryDTO** | [AdjustedTimesheetUpdateEntryDTO](AdjustedTimesheetUpdateEntryDTO.md) | Entry to update | |
|
|
5529
5535
|
|
|
5530
5536
|
### Return type
|
|
5531
5537
|
|
|
5532
|
-
[**
|
|
5538
|
+
[**AdjustedTimesheetEntryDTO**](AdjustedTimesheetEntryDTO.md)
|
|
5533
5539
|
|
|
5534
5540
|
### Authorization
|
|
5535
5541
|
|
|
@@ -5544,12 +5550,12 @@ example().catch(console.error);
|
|
|
5544
5550
|
### HTTP response details
|
|
5545
5551
|
| Status code | Description | Response headers |
|
|
5546
5552
|
|-------------|-------------|------------------|
|
|
5547
|
-
| **
|
|
5548
|
-
| **400** | Return an error if
|
|
5553
|
+
| **201** | Update an adjustedTimesheetEntry and returns the updated Entry | - |
|
|
5554
|
+
| **400** | Return an error if there is a missing or invalid field | - |
|
|
5549
5555
|
| **401** | Return an error if the user is not authorized | - |
|
|
5550
5556
|
| **402** | Return an error if payment is required | - |
|
|
5551
5557
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
5552
|
-
| **
|
|
5558
|
+
| **409** | Return an error if data is duplicated | - |
|
|
5553
5559
|
| **500** | Return an error if the server finds an error | - |
|
|
5554
5560
|
|
|
5555
5561
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -5796,13 +5802,13 @@ example().catch(console.error);
|
|
|
5796
5802
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
5797
5803
|
|
|
5798
5804
|
|
|
5799
|
-
##
|
|
5805
|
+
## updateGlobalTimesheetEntry
|
|
5800
5806
|
|
|
5801
|
-
>
|
|
5807
|
+
> GlobalTimesheetEntryDTO updateGlobalTimesheetEntry(projectId, timesheetId, entryId, globalTimesheetEntryUpdateDTO)
|
|
5802
5808
|
|
|
5803
|
-
Update global timesheet
|
|
5809
|
+
Update a global timesheet entry
|
|
5804
5810
|
|
|
5805
|
-
Update the hours or comments of
|
|
5811
|
+
Update or change the hours or comments of a day in a global timesheet. Only possible while the global timesheet is OPEN.
|
|
5806
5812
|
|
|
5807
5813
|
### Example
|
|
5808
5814
|
|
|
@@ -5811,7 +5817,7 @@ import {
|
|
|
5811
5817
|
Configuration,
|
|
5812
5818
|
ClientApi,
|
|
5813
5819
|
} from '';
|
|
5814
|
-
import type {
|
|
5820
|
+
import type { UpdateGlobalTimesheetEntryRequest } from '';
|
|
5815
5821
|
|
|
5816
5822
|
async function example() {
|
|
5817
5823
|
console.log("🚀 Testing SDK...");
|
|
@@ -5826,12 +5832,14 @@ async function example() {
|
|
|
5826
5832
|
projectId: projectId_example,
|
|
5827
5833
|
// string | Global timesheet ID
|
|
5828
5834
|
timesheetId: timesheetId_example,
|
|
5829
|
-
//
|
|
5835
|
+
// string | Global timesheet entry ID
|
|
5836
|
+
entryId: entryId_example,
|
|
5837
|
+
// GlobalTimesheetEntryUpdateDTO | Entry to update
|
|
5830
5838
|
globalTimesheetEntryUpdateDTO: ...,
|
|
5831
|
-
} satisfies
|
|
5839
|
+
} satisfies UpdateGlobalTimesheetEntryRequest;
|
|
5832
5840
|
|
|
5833
5841
|
try {
|
|
5834
|
-
const data = await api.
|
|
5842
|
+
const data = await api.updateGlobalTimesheetEntry(body);
|
|
5835
5843
|
console.log(data);
|
|
5836
5844
|
} catch (error) {
|
|
5837
5845
|
console.error(error);
|
|
@@ -5849,11 +5857,12 @@ example().catch(console.error);
|
|
|
5849
5857
|
|------------- | ------------- | ------------- | -------------|
|
|
5850
5858
|
| **projectId** | `string` | Project ID | [Defaults to `undefined`] |
|
|
5851
5859
|
| **timesheetId** | `string` | Global timesheet ID | [Defaults to `undefined`] |
|
|
5852
|
-
| **
|
|
5860
|
+
| **entryId** | `string` | Global timesheet entry ID | [Defaults to `undefined`] |
|
|
5861
|
+
| **globalTimesheetEntryUpdateDTO** | [GlobalTimesheetEntryUpdateDTO](GlobalTimesheetEntryUpdateDTO.md) | Entry to update | |
|
|
5853
5862
|
|
|
5854
5863
|
### Return type
|
|
5855
5864
|
|
|
5856
|
-
[**
|
|
5865
|
+
[**GlobalTimesheetEntryDTO**](GlobalTimesheetEntryDTO.md)
|
|
5857
5866
|
|
|
5858
5867
|
### Authorization
|
|
5859
5868
|
|
|
@@ -5868,12 +5877,12 @@ example().catch(console.error);
|
|
|
5868
5877
|
### HTTP response details
|
|
5869
5878
|
| Status code | Description | Response headers |
|
|
5870
5879
|
|-------------|-------------|------------------|
|
|
5871
|
-
| **200** | Return the updated
|
|
5872
|
-
| **400** | Return an error if
|
|
5880
|
+
| **200** | Return the updated entry | - |
|
|
5881
|
+
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
5873
5882
|
| **401** | Return an error if the user is not authorized | - |
|
|
5874
5883
|
| **402** | Return an error if payment is required | - |
|
|
5875
5884
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
5876
|
-
| **404** | Return an error if the project
|
|
5885
|
+
| **404** | Return an error if the project is not found or the user does not belong to the project | - |
|
|
5877
5886
|
| **500** | Return an error if the server finds an error | - |
|
|
5878
5887
|
|
|
5879
5888
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -6113,13 +6122,13 @@ example().catch(console.error);
|
|
|
6113
6122
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
6114
6123
|
|
|
6115
6124
|
|
|
6116
|
-
##
|
|
6125
|
+
## updateTimesheetEntry
|
|
6117
6126
|
|
|
6118
|
-
>
|
|
6127
|
+
> updateTimesheetEntry(projectId, timesheetId, entryId, timesheetEntryUpdateDTO)
|
|
6119
6128
|
|
|
6120
|
-
Update timesheet
|
|
6129
|
+
Update a timesheet entry
|
|
6121
6130
|
|
|
6122
|
-
Update
|
|
6131
|
+
Update or change the hours of a day in an employee timesheet. Only possible while the timesheet is OPEN.
|
|
6123
6132
|
|
|
6124
6133
|
### Example
|
|
6125
6134
|
|
|
@@ -6128,7 +6137,7 @@ import {
|
|
|
6128
6137
|
Configuration,
|
|
6129
6138
|
ClientApi,
|
|
6130
6139
|
} from '';
|
|
6131
|
-
import type {
|
|
6140
|
+
import type { UpdateTimesheetEntryRequest } from '';
|
|
6132
6141
|
|
|
6133
6142
|
async function example() {
|
|
6134
6143
|
console.log("🚀 Testing SDK...");
|
|
@@ -6143,12 +6152,14 @@ async function example() {
|
|
|
6143
6152
|
projectId: projectId_example,
|
|
6144
6153
|
// string | Timesheet ID
|
|
6145
6154
|
timesheetId: timesheetId_example,
|
|
6146
|
-
//
|
|
6155
|
+
// string | Timesheet entry ID (one day of the timesheet)
|
|
6156
|
+
entryId: entryId_example,
|
|
6157
|
+
// TimesheetEntryUpdateDTO | Entry to update
|
|
6147
6158
|
timesheetEntryUpdateDTO: ...,
|
|
6148
|
-
} satisfies
|
|
6159
|
+
} satisfies UpdateTimesheetEntryRequest;
|
|
6149
6160
|
|
|
6150
6161
|
try {
|
|
6151
|
-
const data = await api.
|
|
6162
|
+
const data = await api.updateTimesheetEntry(body);
|
|
6152
6163
|
console.log(data);
|
|
6153
6164
|
} catch (error) {
|
|
6154
6165
|
console.error(error);
|
|
@@ -6166,7 +6177,8 @@ example().catch(console.error);
|
|
|
6166
6177
|
|------------- | ------------- | ------------- | -------------|
|
|
6167
6178
|
| **projectId** | `string` | Project ID | [Defaults to `undefined`] |
|
|
6168
6179
|
| **timesheetId** | `string` | Timesheet ID | [Defaults to `undefined`] |
|
|
6169
|
-
| **
|
|
6180
|
+
| **entryId** | `string` | Timesheet entry ID (one day of the timesheet) | [Defaults to `undefined`] |
|
|
6181
|
+
| **timesheetEntryUpdateDTO** | [TimesheetEntryUpdateDTO](TimesheetEntryUpdateDTO.md) | Entry to update | |
|
|
6170
6182
|
|
|
6171
6183
|
### Return type
|
|
6172
6184
|
|
|
@@ -6185,12 +6197,12 @@ example().catch(console.error);
|
|
|
6185
6197
|
### HTTP response details
|
|
6186
6198
|
| Status code | Description | Response headers |
|
|
6187
6199
|
|-------------|-------------|------------------|
|
|
6188
|
-
| **204** |
|
|
6189
|
-
| **400** | Return an error if
|
|
6200
|
+
| **204** | Update a timesheet entry | - |
|
|
6201
|
+
| **400** | Return an error if provided ID is not a valid UUID | - |
|
|
6190
6202
|
| **401** | Return an error if the user is not authorized | - |
|
|
6191
6203
|
| **402** | Return an error if payment is required | - |
|
|
6192
6204
|
| **403** | Return an error if the user does not have the required permissions | - |
|
|
6193
|
-
| **404** | Return an error if the project, the timesheet or
|
|
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 | - |
|
|
6194
6206
|
| **500** | Return an error if the server finds an error | - |
|
|
6195
6207
|
|
|
6196
6208
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -8,7 +8,6 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`comments` | string
|
|
10
10
|
`hours` | number
|
|
11
|
-
`id` | string
|
|
12
11
|
|
|
13
12
|
## Example
|
|
14
13
|
|
|
@@ -19,7 +18,6 @@ import type { GlobalTimesheetEntryUpdateDTO } from ''
|
|
|
19
18
|
const example = {
|
|
20
19
|
"comments": null,
|
|
21
20
|
"hours": null,
|
|
22
|
-
"id": null,
|
|
23
21
|
} satisfies GlobalTimesheetEntryUpdateDTO
|
|
24
22
|
|
|
25
23
|
console.log(example)
|
|
@@ -9,7 +9,6 @@ Name | Type
|
|
|
9
9
|
`checkIn` | string
|
|
10
10
|
`checkOut` | string
|
|
11
11
|
`comments` | string
|
|
12
|
-
`id` | string
|
|
13
12
|
`pause` | number
|
|
14
13
|
|
|
15
14
|
## Example
|
|
@@ -22,7 +21,6 @@ const example = {
|
|
|
22
21
|
"checkIn": null,
|
|
23
22
|
"checkOut": null,
|
|
24
23
|
"comments": null,
|
|
25
|
-
"id": null,
|
|
26
24
|
"pause": null,
|
|
27
25
|
} satisfies TimesheetEntryUpdateDTO
|
|
28
26
|
|
|
@@ -22,8 +22,6 @@ 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;
|
|
27
25
|
return true;
|
|
28
26
|
}
|
|
29
27
|
function AdjustedTimesheetUpdateEntryDTOFromJSON(json) {
|
|
@@ -37,7 +35,6 @@ function AdjustedTimesheetUpdateEntryDTOFromJSONTyped(json, ignoreDiscriminator)
|
|
|
37
35
|
'checkIn': json['checkIn'] == null ? undefined : json['checkIn'],
|
|
38
36
|
'checkOut': json['checkOut'] == null ? undefined : json['checkOut'],
|
|
39
37
|
'comments': json['comments'] == null ? undefined : json['comments'],
|
|
40
|
-
'id': json['id'],
|
|
41
38
|
'pause': json['pause'] == null ? undefined : json['pause'],
|
|
42
39
|
};
|
|
43
40
|
}
|
|
@@ -52,7 +49,6 @@ function AdjustedTimesheetUpdateEntryDTOToJSONTyped(value, ignoreDiscriminator =
|
|
|
52
49
|
'checkIn': value['checkIn'],
|
|
53
50
|
'checkOut': value['checkOut'],
|
|
54
51
|
'comments': value['comments'],
|
|
55
|
-
'id': value['id'],
|
|
56
52
|
'pause': value['pause'],
|
|
57
53
|
};
|
|
58
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdjustedTimesheetUpdateEntryDTO.js","sourceRoot":"","sources":["AdjustedTimesheetUpdateEntryDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
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;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,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,CAAC;AACN,CAAC"}
|
|
@@ -31,10 +31,6 @@ export interface AdjustedTimesheetUpdateEntryDTO {
|
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
comments?: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
id: string;
|
|
38
34
|
/**
|
|
39
35
|
*
|
|
40
36
|
*/
|
|
@@ -45,7 +41,6 @@ export interface AdjustedTimesheetUpdateEntryDTO {
|
|
|
45
41
|
* Check if a given object implements the AdjustedTimesheetUpdateEntryDTO interface.
|
|
46
42
|
*/
|
|
47
43
|
export function instanceOfAdjustedTimesheetUpdateEntryDTO(value: object): value is AdjustedTimesheetUpdateEntryDTO {
|
|
48
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
49
44
|
return true;
|
|
50
45
|
}
|
|
51
46
|
|
|
@@ -62,7 +57,6 @@ export function AdjustedTimesheetUpdateEntryDTOFromJSONTyped(json: any, ignoreDi
|
|
|
62
57
|
'checkIn': json['checkIn'] == null ? undefined : json['checkIn'],
|
|
63
58
|
'checkOut': json['checkOut'] == null ? undefined : json['checkOut'],
|
|
64
59
|
'comments': json['comments'] == null ? undefined : json['comments'],
|
|
65
|
-
'id': json['id'],
|
|
66
60
|
'pause': json['pause'] == null ? undefined : json['pause'],
|
|
67
61
|
};
|
|
68
62
|
}
|
|
@@ -81,7 +75,6 @@ export function AdjustedTimesheetUpdateEntryDTOToJSONTyped(value?: AdjustedTimes
|
|
|
81
75
|
'checkIn': value['checkIn'],
|
|
82
76
|
'checkOut': value['checkOut'],
|
|
83
77
|
'comments': value['comments'],
|
|
84
|
-
'id': value['id'],
|
|
85
78
|
'pause': value['pause'],
|
|
86
79
|
};
|
|
87
80
|
}
|
|
@@ -22,8 +22,6 @@ 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;
|
|
27
25
|
return true;
|
|
28
26
|
}
|
|
29
27
|
function GlobalTimesheetEntryUpdateDTOFromJSON(json) {
|
|
@@ -36,7 +34,6 @@ function GlobalTimesheetEntryUpdateDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
34
|
return {
|
|
37
35
|
'comments': json['comments'] == null ? undefined : json['comments'],
|
|
38
36
|
'hours': json['hours'] == null ? undefined : json['hours'],
|
|
39
|
-
'id': json['id'],
|
|
40
37
|
};
|
|
41
38
|
}
|
|
42
39
|
function GlobalTimesheetEntryUpdateDTOToJSON(json) {
|
|
@@ -49,7 +46,6 @@ function GlobalTimesheetEntryUpdateDTOToJSONTyped(value, ignoreDiscriminator = f
|
|
|
49
46
|
return {
|
|
50
47
|
'comments': value['comments'],
|
|
51
48
|
'hours': value['hours'],
|
|
52
|
-
'id': value['id'],
|
|
53
49
|
};
|
|
54
50
|
}
|
|
55
51
|
//# sourceMappingURL=GlobalTimesheetEntryUpdateDTO.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalTimesheetEntryUpdateDTO.js","sourceRoot":"","sources":["GlobalTimesheetEntryUpdateDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
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"}
|
|
@@ -27,17 +27,12 @@ export interface GlobalTimesheetEntryUpdateDTO {
|
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
hours?: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
id: string;
|
|
34
30
|
}
|
|
35
31
|
|
|
36
32
|
/**
|
|
37
33
|
* Check if a given object implements the GlobalTimesheetEntryUpdateDTO interface.
|
|
38
34
|
*/
|
|
39
35
|
export function instanceOfGlobalTimesheetEntryUpdateDTO(value: object): value is GlobalTimesheetEntryUpdateDTO {
|
|
40
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
41
36
|
return true;
|
|
42
37
|
}
|
|
43
38
|
|
|
@@ -53,7 +48,6 @@ export function GlobalTimesheetEntryUpdateDTOFromJSONTyped(json: any, ignoreDisc
|
|
|
53
48
|
|
|
54
49
|
'comments': json['comments'] == null ? undefined : json['comments'],
|
|
55
50
|
'hours': json['hours'] == null ? undefined : json['hours'],
|
|
56
|
-
'id': json['id'],
|
|
57
51
|
};
|
|
58
52
|
}
|
|
59
53
|
|
|
@@ -70,7 +64,6 @@ export function GlobalTimesheetEntryUpdateDTOToJSONTyped(value?: GlobalTimesheet
|
|
|
70
64
|
|
|
71
65
|
'comments': value['comments'],
|
|
72
66
|
'hours': value['hours'],
|
|
73
|
-
'id': value['id'],
|
|
74
67
|
};
|
|
75
68
|
}
|
|
76
69
|
|
|
@@ -22,8 +22,6 @@ 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;
|
|
27
25
|
return true;
|
|
28
26
|
}
|
|
29
27
|
function TimesheetEntryUpdateDTOFromJSON(json) {
|
|
@@ -37,7 +35,6 @@ function TimesheetEntryUpdateDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
35
|
'checkIn': json['checkIn'] == null ? undefined : json['checkIn'],
|
|
38
36
|
'checkOut': json['checkOut'] == null ? undefined : json['checkOut'],
|
|
39
37
|
'comments': json['comments'] == null ? undefined : json['comments'],
|
|
40
|
-
'id': json['id'],
|
|
41
38
|
'pause': json['pause'] == null ? undefined : json['pause'],
|
|
42
39
|
};
|
|
43
40
|
}
|
|
@@ -52,7 +49,6 @@ function TimesheetEntryUpdateDTOToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
52
49
|
'checkIn': value['checkIn'],
|
|
53
50
|
'checkOut': value['checkOut'],
|
|
54
51
|
'comments': value['comments'],
|
|
55
|
-
'id': value['id'],
|
|
56
52
|
'pause': value['pause'],
|
|
57
53
|
};
|
|
58
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimesheetEntryUpdateDTO.js","sourceRoot":"","sources":["TimesheetEntryUpdateDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
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,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,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,CAAC;AACN,CAAC"}
|
|
@@ -31,10 +31,6 @@ export interface TimesheetEntryUpdateDTO {
|
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
comments?: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
id: string;
|
|
38
34
|
/**
|
|
39
35
|
*
|
|
40
36
|
*/
|
|
@@ -45,7 +41,6 @@ export interface TimesheetEntryUpdateDTO {
|
|
|
45
41
|
* Check if a given object implements the TimesheetEntryUpdateDTO interface.
|
|
46
42
|
*/
|
|
47
43
|
export function instanceOfTimesheetEntryUpdateDTO(value: object): value is TimesheetEntryUpdateDTO {
|
|
48
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
49
44
|
return true;
|
|
50
45
|
}
|
|
51
46
|
|
|
@@ -62,7 +57,6 @@ export function TimesheetEntryUpdateDTOFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
62
57
|
'checkIn': json['checkIn'] == null ? undefined : json['checkIn'],
|
|
63
58
|
'checkOut': json['checkOut'] == null ? undefined : json['checkOut'],
|
|
64
59
|
'comments': json['comments'] == null ? undefined : json['comments'],
|
|
65
|
-
'id': json['id'],
|
|
66
60
|
'pause': json['pause'] == null ? undefined : json['pause'],
|
|
67
61
|
};
|
|
68
62
|
}
|
|
@@ -81,7 +75,6 @@ export function TimesheetEntryUpdateDTOToJSONTyped(value?: TimesheetEntryUpdateD
|
|
|
81
75
|
'checkIn': value['checkIn'],
|
|
82
76
|
'checkOut': value['checkOut'],
|
|
83
77
|
'comments': value['comments'],
|
|
84
|
-
'id': value['id'],
|
|
85
78
|
'pause': value['pause'],
|
|
86
79
|
};
|
|
87
80
|
}
|