@joao.sumi/qdule 0.0.2 → 0.0.3
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/FILES +10 -1
- package/README.md +10 -0
- package/api.ts +170 -102
- package/dist/api.d.ts +196 -128
- package/dist/api.js +0 -6
- package/docs/AuthResourceApi.md +3 -3
- package/docs/AuthResponse.md +20 -0
- package/docs/ChangelogResourceApi.md +16 -16
- package/docs/ChangelogResponse.md +26 -0
- package/docs/ClientResourceApi.md +13 -13
- package/docs/ClientResponse.md +26 -0
- package/docs/PageResponse.md +28 -0
- package/docs/ScheduleResourceApi.md +16 -16
- package/docs/ScheduleResponse.md +32 -0
- package/docs/Shift.md +32 -0
- package/docs/ShiftResourceApi.md +16 -16
- package/docs/ShiftResponse.md +32 -0
- package/docs/TreatmentResourceApi.md +16 -16
- package/docs/TreatmentResponse.md +32 -0
- package/docs/UserResourceApi.md +6 -6
- package/docs/UserResponse.md +24 -0
- package/docs/WorkScheduleResourceApi.md +16 -16
- package/docs/WorkScheduleResponse.md +24 -0
- package/package.json +5 -1
package/docs/ShiftResourceApi.md
CHANGED
|
@@ -11,7 +11,7 @@ All URIs are relative to *http://localhost*
|
|
|
11
11
|
|[**shiftsPost**](#shiftspost) | **POST** /shifts | Create Shift|
|
|
12
12
|
|
|
13
13
|
# **shiftsGet**
|
|
14
|
-
>
|
|
14
|
+
> PageResponse shiftsGet()
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
### Example
|
|
@@ -44,7 +44,7 @@ const { status, data } = await apiInstance.shiftsGet(
|
|
|
44
44
|
|
|
45
45
|
### Return type
|
|
46
46
|
|
|
47
|
-
**
|
|
47
|
+
**PageResponse**
|
|
48
48
|
|
|
49
49
|
### Authorization
|
|
50
50
|
|
|
@@ -59,12 +59,12 @@ No authorization required
|
|
|
59
59
|
### HTTP response details
|
|
60
60
|
| Status code | Description | Response headers |
|
|
61
61
|
|-------------|-------------|------------------|
|
|
62
|
-
|**200** |
|
|
62
|
+
|**200** | Shifts list | - |
|
|
63
63
|
|
|
64
64
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
65
65
|
|
|
66
66
|
# **shiftsIdDelete**
|
|
67
|
-
>
|
|
67
|
+
> shiftsIdDelete()
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
### Example
|
|
@@ -94,7 +94,7 @@ const { status, data } = await apiInstance.shiftsIdDelete(
|
|
|
94
94
|
|
|
95
95
|
### Return type
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
void (empty response body)
|
|
98
98
|
|
|
99
99
|
### Authorization
|
|
100
100
|
|
|
@@ -103,20 +103,20 @@ const { status, data } = await apiInstance.shiftsIdDelete(
|
|
|
103
103
|
### HTTP request headers
|
|
104
104
|
|
|
105
105
|
- **Content-Type**: Not defined
|
|
106
|
-
- **Accept**:
|
|
106
|
+
- **Accept**: Not defined
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
### HTTP response details
|
|
110
110
|
| Status code | Description | Response headers |
|
|
111
111
|
|-------------|-------------|------------------|
|
|
112
|
-
|**
|
|
112
|
+
|**204** | Shift deleted | - |
|
|
113
113
|
|**401** | Not Authorized | - |
|
|
114
114
|
|**403** | Not Allowed | - |
|
|
115
115
|
|
|
116
116
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
117
117
|
|
|
118
118
|
# **shiftsIdGet**
|
|
119
|
-
>
|
|
119
|
+
> ShiftResponse shiftsIdGet()
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
### Example
|
|
@@ -146,7 +146,7 @@ const { status, data } = await apiInstance.shiftsIdGet(
|
|
|
146
146
|
|
|
147
147
|
### Return type
|
|
148
148
|
|
|
149
|
-
**
|
|
149
|
+
**ShiftResponse**
|
|
150
150
|
|
|
151
151
|
### Authorization
|
|
152
152
|
|
|
@@ -161,14 +161,14 @@ const { status, data } = await apiInstance.shiftsIdGet(
|
|
|
161
161
|
### HTTP response details
|
|
162
162
|
| Status code | Description | Response headers |
|
|
163
163
|
|-------------|-------------|------------------|
|
|
164
|
-
|**200** |
|
|
164
|
+
|**200** | Shift details | - |
|
|
165
165
|
|**401** | Not Authorized | - |
|
|
166
166
|
|**403** | Not Allowed | - |
|
|
167
167
|
|
|
168
168
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
169
169
|
|
|
170
170
|
# **shiftsIdPut**
|
|
171
|
-
>
|
|
171
|
+
> ShiftResponse shiftsIdPut(shiftUpdateRequest)
|
|
172
172
|
|
|
173
173
|
|
|
174
174
|
### Example
|
|
@@ -202,7 +202,7 @@ const { status, data } = await apiInstance.shiftsIdPut(
|
|
|
202
202
|
|
|
203
203
|
### Return type
|
|
204
204
|
|
|
205
|
-
**
|
|
205
|
+
**ShiftResponse**
|
|
206
206
|
|
|
207
207
|
### Authorization
|
|
208
208
|
|
|
@@ -217,7 +217,7 @@ const { status, data } = await apiInstance.shiftsIdPut(
|
|
|
217
217
|
### HTTP response details
|
|
218
218
|
| Status code | Description | Response headers |
|
|
219
219
|
|-------------|-------------|------------------|
|
|
220
|
-
|**200** |
|
|
220
|
+
|**200** | Shift updated | - |
|
|
221
221
|
|**401** | Not Authorized | - |
|
|
222
222
|
|**403** | Not Allowed | - |
|
|
223
223
|
|**400** | Bad Request | - |
|
|
@@ -225,7 +225,7 @@ const { status, data } = await apiInstance.shiftsIdPut(
|
|
|
225
225
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
226
226
|
|
|
227
227
|
# **shiftsPost**
|
|
228
|
-
>
|
|
228
|
+
> ShiftResponse shiftsPost(shiftCreateRequest)
|
|
229
229
|
|
|
230
230
|
|
|
231
231
|
### Example
|
|
@@ -256,7 +256,7 @@ const { status, data } = await apiInstance.shiftsPost(
|
|
|
256
256
|
|
|
257
257
|
### Return type
|
|
258
258
|
|
|
259
|
-
**
|
|
259
|
+
**ShiftResponse**
|
|
260
260
|
|
|
261
261
|
### Authorization
|
|
262
262
|
|
|
@@ -271,7 +271,7 @@ const { status, data } = await apiInstance.shiftsPost(
|
|
|
271
271
|
### HTTP response details
|
|
272
272
|
| Status code | Description | Response headers |
|
|
273
273
|
|-------------|-------------|------------------|
|
|
274
|
-
|**
|
|
274
|
+
|**201** | Shift created | - |
|
|
275
275
|
|**401** | Not Authorized | - |
|
|
276
276
|
|**403** | Not Allowed | - |
|
|
277
277
|
|**400** | Bad Request | - |
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# ShiftResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**startTime** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**endTime** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**restTimeBetweenAppointments** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**breakStartTime** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**breakEndTime** | **string** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { ShiftResponse } from '@joao.sumi/qdule';
|
|
20
|
+
|
|
21
|
+
const instance: ShiftResponse = {
|
|
22
|
+
id,
|
|
23
|
+
name,
|
|
24
|
+
startTime,
|
|
25
|
+
endTime,
|
|
26
|
+
restTimeBetweenAppointments,
|
|
27
|
+
breakStartTime,
|
|
28
|
+
breakEndTime,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -11,7 +11,7 @@ All URIs are relative to *http://localhost*
|
|
|
11
11
|
|[**treatmentsPost**](#treatmentspost) | **POST** /treatments | Create Treatment|
|
|
12
12
|
|
|
13
13
|
# **treatmentsGet**
|
|
14
|
-
>
|
|
14
|
+
> PageResponse treatmentsGet()
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
### Example
|
|
@@ -44,7 +44,7 @@ const { status, data } = await apiInstance.treatmentsGet(
|
|
|
44
44
|
|
|
45
45
|
### Return type
|
|
46
46
|
|
|
47
|
-
**
|
|
47
|
+
**PageResponse**
|
|
48
48
|
|
|
49
49
|
### Authorization
|
|
50
50
|
|
|
@@ -59,12 +59,12 @@ No authorization required
|
|
|
59
59
|
### HTTP response details
|
|
60
60
|
| Status code | Description | Response headers |
|
|
61
61
|
|-------------|-------------|------------------|
|
|
62
|
-
|**200** |
|
|
62
|
+
|**200** | Treatments list | - |
|
|
63
63
|
|
|
64
64
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
65
65
|
|
|
66
66
|
# **treatmentsIdDelete**
|
|
67
|
-
>
|
|
67
|
+
> treatmentsIdDelete()
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
### Example
|
|
@@ -94,7 +94,7 @@ const { status, data } = await apiInstance.treatmentsIdDelete(
|
|
|
94
94
|
|
|
95
95
|
### Return type
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
void (empty response body)
|
|
98
98
|
|
|
99
99
|
### Authorization
|
|
100
100
|
|
|
@@ -103,20 +103,20 @@ const { status, data } = await apiInstance.treatmentsIdDelete(
|
|
|
103
103
|
### HTTP request headers
|
|
104
104
|
|
|
105
105
|
- **Content-Type**: Not defined
|
|
106
|
-
- **Accept**:
|
|
106
|
+
- **Accept**: Not defined
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
### HTTP response details
|
|
110
110
|
| Status code | Description | Response headers |
|
|
111
111
|
|-------------|-------------|------------------|
|
|
112
|
-
|**
|
|
112
|
+
|**204** | Treatment deleted | - |
|
|
113
113
|
|**401** | Not Authorized | - |
|
|
114
114
|
|**403** | Not Allowed | - |
|
|
115
115
|
|
|
116
116
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
117
117
|
|
|
118
118
|
# **treatmentsIdGet**
|
|
119
|
-
>
|
|
119
|
+
> TreatmentResponse treatmentsIdGet()
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
### Example
|
|
@@ -146,7 +146,7 @@ const { status, data } = await apiInstance.treatmentsIdGet(
|
|
|
146
146
|
|
|
147
147
|
### Return type
|
|
148
148
|
|
|
149
|
-
**
|
|
149
|
+
**TreatmentResponse**
|
|
150
150
|
|
|
151
151
|
### Authorization
|
|
152
152
|
|
|
@@ -161,12 +161,12 @@ No authorization required
|
|
|
161
161
|
### HTTP response details
|
|
162
162
|
| Status code | Description | Response headers |
|
|
163
163
|
|-------------|-------------|------------------|
|
|
164
|
-
|**200** |
|
|
164
|
+
|**200** | Treatment details | - |
|
|
165
165
|
|
|
166
166
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
167
167
|
|
|
168
168
|
# **treatmentsIdPut**
|
|
169
|
-
>
|
|
169
|
+
> TreatmentResponse treatmentsIdPut(treatmentUpdateRequest)
|
|
170
170
|
|
|
171
171
|
|
|
172
172
|
### Example
|
|
@@ -200,7 +200,7 @@ const { status, data } = await apiInstance.treatmentsIdPut(
|
|
|
200
200
|
|
|
201
201
|
### Return type
|
|
202
202
|
|
|
203
|
-
**
|
|
203
|
+
**TreatmentResponse**
|
|
204
204
|
|
|
205
205
|
### Authorization
|
|
206
206
|
|
|
@@ -215,7 +215,7 @@ const { status, data } = await apiInstance.treatmentsIdPut(
|
|
|
215
215
|
### HTTP response details
|
|
216
216
|
| Status code | Description | Response headers |
|
|
217
217
|
|-------------|-------------|------------------|
|
|
218
|
-
|**200** |
|
|
218
|
+
|**200** | Treatment updated | - |
|
|
219
219
|
|**401** | Not Authorized | - |
|
|
220
220
|
|**403** | Not Allowed | - |
|
|
221
221
|
|**400** | Bad Request | - |
|
|
@@ -223,7 +223,7 @@ const { status, data } = await apiInstance.treatmentsIdPut(
|
|
|
223
223
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
224
224
|
|
|
225
225
|
# **treatmentsPost**
|
|
226
|
-
>
|
|
226
|
+
> TreatmentResponse treatmentsPost(treatmentCreateRequest)
|
|
227
227
|
|
|
228
228
|
|
|
229
229
|
### Example
|
|
@@ -254,7 +254,7 @@ const { status, data } = await apiInstance.treatmentsPost(
|
|
|
254
254
|
|
|
255
255
|
### Return type
|
|
256
256
|
|
|
257
|
-
**
|
|
257
|
+
**TreatmentResponse**
|
|
258
258
|
|
|
259
259
|
### Authorization
|
|
260
260
|
|
|
@@ -269,7 +269,7 @@ const { status, data } = await apiInstance.treatmentsPost(
|
|
|
269
269
|
### HTTP response details
|
|
270
270
|
| Status code | Description | Response headers |
|
|
271
271
|
|-------------|-------------|------------------|
|
|
272
|
-
|**
|
|
272
|
+
|**201** | Treatment created | - |
|
|
273
273
|
|**401** | Not Authorized | - |
|
|
274
274
|
|**403** | Not Allowed | - |
|
|
275
275
|
|**400** | Bad Request | - |
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# TreatmentResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**duration** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**price** | **number** | | [optional] [default to undefined]
|
|
13
|
+
**imagePath** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**status** | [**TreatmentStatus**](TreatmentStatus.md) | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { TreatmentResponse } from '@joao.sumi/qdule';
|
|
20
|
+
|
|
21
|
+
const instance: TreatmentResponse = {
|
|
22
|
+
id,
|
|
23
|
+
name,
|
|
24
|
+
description,
|
|
25
|
+
duration,
|
|
26
|
+
price,
|
|
27
|
+
imagePath,
|
|
28
|
+
status,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/UserResourceApi.md
CHANGED
|
@@ -8,7 +8,7 @@ All URIs are relative to *http://localhost*
|
|
|
8
8
|
|[**usersPost**](#userspost) | **POST** /users | Create User|
|
|
9
9
|
|
|
10
10
|
# **usersIdGet**
|
|
11
|
-
>
|
|
11
|
+
> UserResponse usersIdGet()
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
### Example
|
|
@@ -38,7 +38,7 @@ const { status, data } = await apiInstance.usersIdGet(
|
|
|
38
38
|
|
|
39
39
|
### Return type
|
|
40
40
|
|
|
41
|
-
**
|
|
41
|
+
**UserResponse**
|
|
42
42
|
|
|
43
43
|
### Authorization
|
|
44
44
|
|
|
@@ -53,14 +53,14 @@ const { status, data } = await apiInstance.usersIdGet(
|
|
|
53
53
|
### HTTP response details
|
|
54
54
|
| Status code | Description | Response headers |
|
|
55
55
|
|-------------|-------------|------------------|
|
|
56
|
-
|**200** |
|
|
56
|
+
|**200** | User details | - |
|
|
57
57
|
|**401** | Not Authorized | - |
|
|
58
58
|
|**403** | Not Allowed | - |
|
|
59
59
|
|
|
60
60
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
61
61
|
|
|
62
62
|
# **usersPost**
|
|
63
|
-
>
|
|
63
|
+
> UserResponse usersPost(userCreateRequest)
|
|
64
64
|
|
|
65
65
|
|
|
66
66
|
### Example
|
|
@@ -91,7 +91,7 @@ const { status, data } = await apiInstance.usersPost(
|
|
|
91
91
|
|
|
92
92
|
### Return type
|
|
93
93
|
|
|
94
|
-
**
|
|
94
|
+
**UserResponse**
|
|
95
95
|
|
|
96
96
|
### Authorization
|
|
97
97
|
|
|
@@ -106,7 +106,7 @@ No authorization required
|
|
|
106
106
|
### HTTP response details
|
|
107
107
|
| Status code | Description | Response headers |
|
|
108
108
|
|-------------|-------------|------------------|
|
|
109
|
-
|**
|
|
109
|
+
|**201** | User created | - |
|
|
110
110
|
|**400** | Bad Request | - |
|
|
111
111
|
|
|
112
112
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# UserResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { UserResponse } from '@joao.sumi/qdule';
|
|
16
|
+
|
|
17
|
+
const instance: UserResponse = {
|
|
18
|
+
id,
|
|
19
|
+
name,
|
|
20
|
+
email,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -11,7 +11,7 @@ All URIs are relative to *http://localhost*
|
|
|
11
11
|
|[**workSchedulesPost**](#workschedulespost) | **POST** /work-schedules | Create Work Schedule|
|
|
12
12
|
|
|
13
13
|
# **workSchedulesGet**
|
|
14
|
-
>
|
|
14
|
+
> PageResponse workSchedulesGet()
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
### Example
|
|
@@ -44,7 +44,7 @@ const { status, data } = await apiInstance.workSchedulesGet(
|
|
|
44
44
|
|
|
45
45
|
### Return type
|
|
46
46
|
|
|
47
|
-
**
|
|
47
|
+
**PageResponse**
|
|
48
48
|
|
|
49
49
|
### Authorization
|
|
50
50
|
|
|
@@ -59,12 +59,12 @@ No authorization required
|
|
|
59
59
|
### HTTP response details
|
|
60
60
|
| Status code | Description | Response headers |
|
|
61
61
|
|-------------|-------------|------------------|
|
|
62
|
-
|**200** |
|
|
62
|
+
|**200** | Work schedules list | - |
|
|
63
63
|
|
|
64
64
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
65
65
|
|
|
66
66
|
# **workSchedulesIdDelete**
|
|
67
|
-
>
|
|
67
|
+
> workSchedulesIdDelete()
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
### Example
|
|
@@ -94,7 +94,7 @@ const { status, data } = await apiInstance.workSchedulesIdDelete(
|
|
|
94
94
|
|
|
95
95
|
### Return type
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
void (empty response body)
|
|
98
98
|
|
|
99
99
|
### Authorization
|
|
100
100
|
|
|
@@ -103,20 +103,20 @@ const { status, data } = await apiInstance.workSchedulesIdDelete(
|
|
|
103
103
|
### HTTP request headers
|
|
104
104
|
|
|
105
105
|
- **Content-Type**: Not defined
|
|
106
|
-
- **Accept**:
|
|
106
|
+
- **Accept**: Not defined
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
### HTTP response details
|
|
110
110
|
| Status code | Description | Response headers |
|
|
111
111
|
|-------------|-------------|------------------|
|
|
112
|
-
|**
|
|
112
|
+
|**204** | Work schedule deleted | - |
|
|
113
113
|
|**401** | Not Authorized | - |
|
|
114
114
|
|**403** | Not Allowed | - |
|
|
115
115
|
|
|
116
116
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
117
117
|
|
|
118
118
|
# **workSchedulesIdGet**
|
|
119
|
-
>
|
|
119
|
+
> WorkScheduleResponse workSchedulesIdGet()
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
### Example
|
|
@@ -146,7 +146,7 @@ const { status, data } = await apiInstance.workSchedulesIdGet(
|
|
|
146
146
|
|
|
147
147
|
### Return type
|
|
148
148
|
|
|
149
|
-
**
|
|
149
|
+
**WorkScheduleResponse**
|
|
150
150
|
|
|
151
151
|
### Authorization
|
|
152
152
|
|
|
@@ -161,12 +161,12 @@ No authorization required
|
|
|
161
161
|
### HTTP response details
|
|
162
162
|
| Status code | Description | Response headers |
|
|
163
163
|
|-------------|-------------|------------------|
|
|
164
|
-
|**200** |
|
|
164
|
+
|**200** | Work schedule details | - |
|
|
165
165
|
|
|
166
166
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
167
167
|
|
|
168
168
|
# **workSchedulesIdPut**
|
|
169
|
-
>
|
|
169
|
+
> WorkScheduleResponse workSchedulesIdPut(workScheduleUpdateRequest)
|
|
170
170
|
|
|
171
171
|
|
|
172
172
|
### Example
|
|
@@ -200,7 +200,7 @@ const { status, data } = await apiInstance.workSchedulesIdPut(
|
|
|
200
200
|
|
|
201
201
|
### Return type
|
|
202
202
|
|
|
203
|
-
**
|
|
203
|
+
**WorkScheduleResponse**
|
|
204
204
|
|
|
205
205
|
### Authorization
|
|
206
206
|
|
|
@@ -215,7 +215,7 @@ const { status, data } = await apiInstance.workSchedulesIdPut(
|
|
|
215
215
|
### HTTP response details
|
|
216
216
|
| Status code | Description | Response headers |
|
|
217
217
|
|-------------|-------------|------------------|
|
|
218
|
-
|**200** |
|
|
218
|
+
|**200** | Work schedule updated | - |
|
|
219
219
|
|**401** | Not Authorized | - |
|
|
220
220
|
|**403** | Not Allowed | - |
|
|
221
221
|
|**400** | Bad Request | - |
|
|
@@ -223,7 +223,7 @@ const { status, data } = await apiInstance.workSchedulesIdPut(
|
|
|
223
223
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
224
224
|
|
|
225
225
|
# **workSchedulesPost**
|
|
226
|
-
>
|
|
226
|
+
> WorkScheduleResponse workSchedulesPost(workScheduleCreateRequest)
|
|
227
227
|
|
|
228
228
|
|
|
229
229
|
### Example
|
|
@@ -254,7 +254,7 @@ const { status, data } = await apiInstance.workSchedulesPost(
|
|
|
254
254
|
|
|
255
255
|
### Return type
|
|
256
256
|
|
|
257
|
-
**
|
|
257
|
+
**WorkScheduleResponse**
|
|
258
258
|
|
|
259
259
|
### Authorization
|
|
260
260
|
|
|
@@ -269,7 +269,7 @@ const { status, data } = await apiInstance.workSchedulesPost(
|
|
|
269
269
|
### HTTP response details
|
|
270
270
|
| Status code | Description | Response headers |
|
|
271
271
|
|-------------|-------------|------------------|
|
|
272
|
-
|**
|
|
272
|
+
|**201** | Work schedule created | - |
|
|
273
273
|
|**401** | Not Authorized | - |
|
|
274
274
|
|**403** | Not Allowed | - |
|
|
275
275
|
|**400** | Bad Request | - |
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# WorkScheduleResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**shift** | [**Shift**](Shift.md) | | [optional] [default to undefined]
|
|
10
|
+
**dayOfWeek** | [**DayOfWeek**](DayOfWeek.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { WorkScheduleResponse } from '@joao.sumi/qdule';
|
|
16
|
+
|
|
17
|
+
const instance: WorkScheduleResponse = {
|
|
18
|
+
id,
|
|
19
|
+
shift,
|
|
20
|
+
dayOfWeek,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@joao.sumi/qdule",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "OpenAPI client for @joao.sumi/qdule",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
|
|
9
|
+
},
|
|
6
10
|
"keywords": [
|
|
7
11
|
"axios",
|
|
8
12
|
"typescript",
|