@joao.sumi/qdule 0.0.2 → 0.0.4

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/Shift.md ADDED
@@ -0,0 +1,32 @@
1
+ # Shift
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 { Shift } from '@joao.sumi/qdule';
20
+
21
+ const instance: Shift = {
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
  |[**shiftsPost**](#shiftspost) | **POST** /shifts | Create Shift|
12
12
 
13
13
  # **shiftsGet**
14
- > any shiftsGet()
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
- **any**
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** | OK | - |
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
- > any shiftsIdDelete()
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
- **any**
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**: application/json
106
+ - **Accept**: Not defined
107
107
 
108
108
 
109
109
  ### HTTP response details
110
110
  | Status code | Description | Response headers |
111
111
  |-------------|-------------|------------------|
112
- |**200** | OK | - |
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
- > any shiftsIdGet()
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
- **any**
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** | OK | - |
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
- > any shiftsIdPut(shiftUpdateRequest)
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
- **any**
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** | OK | - |
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
- > any shiftsPost(shiftCreateRequest)
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
- **any**
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
- |**200** | OK | - |
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,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **price** | **number** | | [optional] [default to undefined]
12
12
  **imagePath** | **string** | | [optional] [default to undefined]
13
13
  **status** | [**TreatmentStatus**](TreatmentStatus.md) | | [optional] [default to undefined]
14
+ **type** | [**TreatmentType**](TreatmentType.md) | | [optional] [default to undefined]
14
15
 
15
16
  ## Example
16
17
 
@@ -24,6 +25,7 @@ const instance: TreatmentCreateRequest = {
24
25
  price,
25
26
  imagePath,
26
27
  status,
28
+ type,
27
29
  };
28
30
  ```
29
31
 
@@ -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
- > any treatmentsGet()
14
+ > PageResponse treatmentsGet()
15
15
 
16
16
 
17
17
  ### Example
@@ -27,10 +27,12 @@ const apiInstance = new TreatmentResourceApi(configuration);
27
27
 
28
28
  let page: number; // (optional) (default to undefined)
29
29
  let size: number; // (optional) (default to undefined)
30
+ let type: TreatmentType; // (optional) (default to undefined)
30
31
 
31
32
  const { status, data } = await apiInstance.treatmentsGet(
32
33
  page,
33
- size
34
+ size,
35
+ type
34
36
  );
35
37
  ```
36
38
 
@@ -40,11 +42,12 @@ const { status, data } = await apiInstance.treatmentsGet(
40
42
  |------------- | ------------- | ------------- | -------------|
41
43
  | **page** | [**number**] | | (optional) defaults to undefined|
42
44
  | **size** | [**number**] | | (optional) defaults to undefined|
45
+ | **type** | **TreatmentType** | | (optional) defaults to undefined|
43
46
 
44
47
 
45
48
  ### Return type
46
49
 
47
- **any**
50
+ **PageResponse**
48
51
 
49
52
  ### Authorization
50
53
 
@@ -59,12 +62,12 @@ No authorization required
59
62
  ### HTTP response details
60
63
  | Status code | Description | Response headers |
61
64
  |-------------|-------------|------------------|
62
- |**200** | OK | - |
65
+ |**200** | Treatments list | - |
63
66
 
64
67
  [[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
68
 
66
69
  # **treatmentsIdDelete**
67
- > any treatmentsIdDelete()
70
+ > treatmentsIdDelete()
68
71
 
69
72
 
70
73
  ### Example
@@ -94,7 +97,7 @@ const { status, data } = await apiInstance.treatmentsIdDelete(
94
97
 
95
98
  ### Return type
96
99
 
97
- **any**
100
+ void (empty response body)
98
101
 
99
102
  ### Authorization
100
103
 
@@ -103,20 +106,20 @@ const { status, data } = await apiInstance.treatmentsIdDelete(
103
106
  ### HTTP request headers
104
107
 
105
108
  - **Content-Type**: Not defined
106
- - **Accept**: application/json
109
+ - **Accept**: Not defined
107
110
 
108
111
 
109
112
  ### HTTP response details
110
113
  | Status code | Description | Response headers |
111
114
  |-------------|-------------|------------------|
112
- |**200** | OK | - |
115
+ |**204** | Treatment deleted | - |
113
116
  |**401** | Not Authorized | - |
114
117
  |**403** | Not Allowed | - |
115
118
 
116
119
  [[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
120
 
118
121
  # **treatmentsIdGet**
119
- > any treatmentsIdGet()
122
+ > TreatmentResponse treatmentsIdGet()
120
123
 
121
124
 
122
125
  ### Example
@@ -146,7 +149,7 @@ const { status, data } = await apiInstance.treatmentsIdGet(
146
149
 
147
150
  ### Return type
148
151
 
149
- **any**
152
+ **TreatmentResponse**
150
153
 
151
154
  ### Authorization
152
155
 
@@ -161,12 +164,12 @@ No authorization required
161
164
  ### HTTP response details
162
165
  | Status code | Description | Response headers |
163
166
  |-------------|-------------|------------------|
164
- |**200** | OK | - |
167
+ |**200** | Treatment details | - |
165
168
 
166
169
  [[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
170
 
168
171
  # **treatmentsIdPut**
169
- > any treatmentsIdPut(treatmentUpdateRequest)
172
+ > TreatmentResponse treatmentsIdPut(treatmentUpdateRequest)
170
173
 
171
174
 
172
175
  ### Example
@@ -200,7 +203,7 @@ const { status, data } = await apiInstance.treatmentsIdPut(
200
203
 
201
204
  ### Return type
202
205
 
203
- **any**
206
+ **TreatmentResponse**
204
207
 
205
208
  ### Authorization
206
209
 
@@ -215,7 +218,7 @@ const { status, data } = await apiInstance.treatmentsIdPut(
215
218
  ### HTTP response details
216
219
  | Status code | Description | Response headers |
217
220
  |-------------|-------------|------------------|
218
- |**200** | OK | - |
221
+ |**200** | Treatment updated | - |
219
222
  |**401** | Not Authorized | - |
220
223
  |**403** | Not Allowed | - |
221
224
  |**400** | Bad Request | - |
@@ -223,7 +226,7 @@ const { status, data } = await apiInstance.treatmentsIdPut(
223
226
  [[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
227
 
225
228
  # **treatmentsPost**
226
- > any treatmentsPost(treatmentCreateRequest)
229
+ > TreatmentResponse treatmentsPost(treatmentCreateRequest)
227
230
 
228
231
 
229
232
  ### Example
@@ -254,7 +257,7 @@ const { status, data } = await apiInstance.treatmentsPost(
254
257
 
255
258
  ### Return type
256
259
 
257
- **any**
260
+ **TreatmentResponse**
258
261
 
259
262
  ### Authorization
260
263
 
@@ -269,7 +272,7 @@ const { status, data } = await apiInstance.treatmentsPost(
269
272
  ### HTTP response details
270
273
  | Status code | Description | Response headers |
271
274
  |-------------|-------------|------------------|
272
- |**200** | OK | - |
275
+ |**201** | Treatment created | - |
273
276
  |**401** | Not Authorized | - |
274
277
  |**403** | Not Allowed | - |
275
278
  |**400** | Bad Request | - |
@@ -0,0 +1,34 @@
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
+ **type** | [**TreatmentType**](TreatmentType.md) | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { TreatmentResponse } from '@joao.sumi/qdule';
21
+
22
+ const instance: TreatmentResponse = {
23
+ id,
24
+ name,
25
+ description,
26
+ duration,
27
+ price,
28
+ imagePath,
29
+ status,
30
+ type,
31
+ };
32
+ ```
33
+
34
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,12 @@
1
+ # TreatmentType
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Facial` (value: `'FACIAL'`)
7
+
8
+ * `Body` (value: `'BODY'`)
9
+
10
+ * `MassageTherapy` (value: `'MASSAGE_THERAPY'`)
11
+
12
+ [[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,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **price** | **number** | | [optional] [default to undefined]
12
12
  **imagePath** | **string** | | [optional] [default to undefined]
13
13
  **status** | [**TreatmentStatus**](TreatmentStatus.md) | | [optional] [default to undefined]
14
+ **type** | [**TreatmentType**](TreatmentType.md) | | [optional] [default to undefined]
14
15
 
15
16
  ## Example
16
17
 
@@ -24,6 +25,7 @@ const instance: TreatmentUpdateRequest = {
24
25
  price,
25
26
  imagePath,
26
27
  status,
28
+ type,
27
29
  };
28
30
  ```
29
31
 
@@ -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
- > any usersIdGet()
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
- **any**
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** | OK | - |
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
- > any usersPost(userCreateRequest)
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
- **any**
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
- |**200** | OK | - |
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
- > any workSchedulesGet()
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
- **any**
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** | OK | - |
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
- > any workSchedulesIdDelete()
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
- **any**
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**: application/json
106
+ - **Accept**: Not defined
107
107
 
108
108
 
109
109
  ### HTTP response details
110
110
  | Status code | Description | Response headers |
111
111
  |-------------|-------------|------------------|
112
- |**200** | OK | - |
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
- > any workSchedulesIdGet()
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
- **any**
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** | OK | - |
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
- > any workSchedulesIdPut(workScheduleUpdateRequest)
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
- **any**
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** | OK | - |
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
- > any workSchedulesPost(workScheduleCreateRequest)
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
- **any**
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
- |**200** | OK | - |
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.2",
3
+ "version": "0.0.4",
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",