@joao.sumi/qdule 0.0.4 → 0.0.5

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.
@@ -25,12 +25,18 @@ import {
25
25
  const configuration = new Configuration();
26
26
  const apiInstance = new ScheduleResourceApi(configuration);
27
27
 
28
- let page: number; // (optional) (default to undefined)
29
- let size: number; // (optional) (default to undefined)
28
+ let page: number; // (default to undefined)
29
+ let size: number; // (default to undefined)
30
+ let start: string; // (optional) (default to undefined)
31
+ let end: string; // (optional) (default to undefined)
32
+ let status: ScheduleStatus; // (optional) (default to undefined)
30
33
 
31
34
  const { status, data } = await apiInstance.schedulesGet(
32
35
  page,
33
- size
36
+ size,
37
+ start,
38
+ end,
39
+ status
34
40
  );
35
41
  ```
36
42
 
@@ -38,8 +44,11 @@ const { status, data } = await apiInstance.schedulesGet(
38
44
 
39
45
  |Name | Type | Description | Notes|
40
46
  |------------- | ------------- | ------------- | -------------|
41
- | **page** | [**number**] | | (optional) defaults to undefined|
42
- | **size** | [**number**] | | (optional) defaults to undefined|
47
+ | **page** | [**number**] | | defaults to undefined|
48
+ | **size** | [**number**] | | defaults to undefined|
49
+ | **start** | [**string**] | | (optional) defaults to undefined|
50
+ | **end** | [**string**] | | (optional) defaults to undefined|
51
+ | **status** | **ScheduleStatus** | | (optional) defaults to undefined|
43
52
 
44
53
 
45
54
  ### Return type
@@ -258,7 +267,7 @@ const { status, data } = await apiInstance.schedulesPost(
258
267
 
259
268
  ### Authorization
260
269
 
261
- [SecurityScheme](../README.md#SecurityScheme)
270
+ No authorization required
262
271
 
263
272
  ### HTTP request headers
264
273
 
@@ -270,8 +279,6 @@ const { status, data } = await apiInstance.schedulesPost(
270
279
  | Status code | Description | Response headers |
271
280
  |-------------|-------------|------------------|
272
281
  |**201** | Schedule created | - |
273
- |**401** | Not Authorized | - |
274
- |**403** | Not Allowed | - |
275
282
  |**400** | Bad Request | - |
276
283
 
277
284
  [[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,22 @@
1
+ # ShiftBreakRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **startTime** | **string** | | [optional] [default to undefined]
9
+ **endTime** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ShiftBreakRequest } from '@joao.sumi/qdule';
15
+
16
+ const instance: ShiftBreakRequest = {
17
+ startTime,
18
+ endTime,
19
+ };
20
+ ```
21
+
22
+ [[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,24 @@
1
+ # ShiftBreakResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **number** | | [optional] [default to undefined]
9
+ **startTime** | **string** | | [optional] [default to undefined]
10
+ **endTime** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { ShiftBreakResponse } from '@joao.sumi/qdule';
16
+
17
+ const instance: ShiftBreakResponse = {
18
+ id,
19
+ startTime,
20
+ endTime,
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)
@@ -9,8 +9,9 @@ Name | Type | Description | Notes
9
9
  **startTime** | **string** | | [optional] [default to undefined]
10
10
  **endTime** | **string** | | [optional] [default to undefined]
11
11
  **restTimeBetweenAppointments** | **string** | | [optional] [default to undefined]
12
- **breakStartTime** | **string** | | [optional] [default to undefined]
13
- **breakEndTime** | **string** | | [optional] [default to undefined]
12
+ **breaks** | [**Array<ShiftBreakRequest>**](ShiftBreakRequest.md) | | [optional] [default to undefined]
13
+ **dayOfWeek** | [**DayOfWeek**](DayOfWeek.md) | | [optional] [default to undefined]
14
+ **status** | [**ShiftStatus**](ShiftStatus.md) | | [optional] [default to undefined]
14
15
 
15
16
  ## Example
16
17
 
@@ -22,8 +23,9 @@ const instance: ShiftCreateRequest = {
22
23
  startTime,
23
24
  endTime,
24
25
  restTimeBetweenAppointments,
25
- breakStartTime,
26
- breakEndTime,
26
+ breaks,
27
+ dayOfWeek,
28
+ status,
27
29
  };
28
30
  ```
29
31
 
@@ -10,8 +10,9 @@ Name | Type | Description | Notes
10
10
  **startTime** | **string** | | [optional] [default to undefined]
11
11
  **endTime** | **string** | | [optional] [default to undefined]
12
12
  **restTimeBetweenAppointments** | **string** | | [optional] [default to undefined]
13
- **breakStartTime** | **string** | | [optional] [default to undefined]
14
- **breakEndTime** | **string** | | [optional] [default to undefined]
13
+ **breaks** | [**Array<ShiftBreakResponse>**](ShiftBreakResponse.md) | | [optional] [default to undefined]
14
+ **dayOfWeek** | [**DayOfWeek**](DayOfWeek.md) | | [optional] [default to undefined]
15
+ **status** | [**ShiftStatus**](ShiftStatus.md) | | [optional] [default to undefined]
15
16
 
16
17
  ## Example
17
18
 
@@ -24,8 +25,9 @@ const instance: ShiftResponse = {
24
25
  startTime,
25
26
  endTime,
26
27
  restTimeBetweenAppointments,
27
- breakStartTime,
28
- breakEndTime,
28
+ breaks,
29
+ dayOfWeek,
30
+ status,
29
31
  };
30
32
  ```
31
33
 
@@ -0,0 +1,10 @@
1
+ # ShiftStatus
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Enabled` (value: `'ENABLED'`)
7
+
8
+ * `Disabled` (value: `'DISABLED'`)
9
+
10
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -9,8 +9,9 @@ Name | Type | Description | Notes
9
9
  **startTime** | **string** | | [optional] [default to undefined]
10
10
  **endTime** | **string** | | [optional] [default to undefined]
11
11
  **restTimeBetweenAppointments** | **string** | | [optional] [default to undefined]
12
- **breakStartTime** | **string** | | [optional] [default to undefined]
13
- **breakEndTime** | **string** | | [optional] [default to undefined]
12
+ **breaks** | [**Array<ShiftBreakRequest>**](ShiftBreakRequest.md) | | [optional] [default to undefined]
13
+ **dayOfWeek** | [**DayOfWeek**](DayOfWeek.md) | | [optional] [default to undefined]
14
+ **status** | [**ShiftStatus**](ShiftStatus.md) | | [optional] [default to undefined]
14
15
 
15
16
  ## Example
16
17
 
@@ -22,8 +23,9 @@ const instance: ShiftUpdateRequest = {
22
23
  startTime,
23
24
  endTime,
24
25
  restTimeBetweenAppointments,
25
- breakStartTime,
26
- breakEndTime,
26
+ breaks,
27
+ dayOfWeek,
28
+ status,
27
29
  };
28
30
  ```
29
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joao.sumi/qdule",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "OpenAPI client for @joao.sumi/qdule",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {