@joao.sumi/qdule 0.0.2
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 +37 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +118 -0
- package/api.ts +3325 -0
- package/base.ts +62 -0
- package/common.ts +127 -0
- package/configuration.ts +121 -0
- package/dist/api.d.ts +1826 -0
- package/dist/api.js +3290 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +67 -0
- package/dist/common.d.ts +34 -0
- package/dist/common.js +231 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +57 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/docs/AuthRequest.md +22 -0
- package/docs/AuthResourceApi.md +60 -0
- package/docs/ChangelogCreateRequest.md +24 -0
- package/docs/ChangelogResourceApi.md +272 -0
- package/docs/ChangelogUpdateRequest.md +24 -0
- package/docs/ClientCreateRequest.md +24 -0
- package/docs/ClientResourceApi.md +224 -0
- package/docs/ClientUpdateRequest.md +24 -0
- package/docs/DayOfWeek.md +20 -0
- package/docs/ScheduleCreateRequest.md +30 -0
- package/docs/ScheduleResourceApi.md +278 -0
- package/docs/ScheduleStatus.md +16 -0
- package/docs/ScheduleUpdateRequest.md +26 -0
- package/docs/ShiftCreateRequest.md +30 -0
- package/docs/ShiftResourceApi.md +280 -0
- package/docs/ShiftUpdateRequest.md +30 -0
- package/docs/TreatmentCreateRequest.md +30 -0
- package/docs/TreatmentResourceApi.md +278 -0
- package/docs/TreatmentStatus.md +10 -0
- package/docs/TreatmentUpdateRequest.md +30 -0
- package/docs/UserCreateRequest.md +24 -0
- package/docs/UserResourceApi.md +113 -0
- package/docs/WorkScheduleCreateRequest.md +22 -0
- package/docs/WorkScheduleResourceApi.md +278 -0
- package/docs/WorkScheduleUpdateRequest.md +22 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +27 -0
- package/tsconfig.json +21 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ChangelogCreateRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**dateTime** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**scheduleId** | **number** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ChangelogCreateRequest } from '@joao.sumi/qdule';
|
|
16
|
+
|
|
17
|
+
const instance: ChangelogCreateRequest = {
|
|
18
|
+
dateTime,
|
|
19
|
+
description,
|
|
20
|
+
scheduleId,
|
|
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)
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
# ChangelogResourceApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**changelogsGet**](#changelogsget) | **GET** /changelogs | Get Changelogs|
|
|
8
|
+
|[**changelogsIdDelete**](#changelogsiddelete) | **DELETE** /changelogs/{id} | Delete Changelog By Id|
|
|
9
|
+
|[**changelogsIdGet**](#changelogsidget) | **GET** /changelogs/{id} | Find Changelog By Id|
|
|
10
|
+
|[**changelogsIdPut**](#changelogsidput) | **PUT** /changelogs/{id} | Update Changelog|
|
|
11
|
+
|[**changelogsPost**](#changelogspost) | **POST** /changelogs | Create Changelog|
|
|
12
|
+
|
|
13
|
+
# **changelogsGet**
|
|
14
|
+
> any changelogsGet()
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import {
|
|
21
|
+
ChangelogResourceApi,
|
|
22
|
+
Configuration
|
|
23
|
+
} from '@joao.sumi/qdule';
|
|
24
|
+
|
|
25
|
+
const configuration = new Configuration();
|
|
26
|
+
const apiInstance = new ChangelogResourceApi(configuration);
|
|
27
|
+
|
|
28
|
+
let page: number; // (optional) (default to undefined)
|
|
29
|
+
let size: number; // (optional) (default to undefined)
|
|
30
|
+
|
|
31
|
+
const { status, data } = await apiInstance.changelogsGet(
|
|
32
|
+
page,
|
|
33
|
+
size
|
|
34
|
+
);
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Parameters
|
|
38
|
+
|
|
39
|
+
|Name | Type | Description | Notes|
|
|
40
|
+
|------------- | ------------- | ------------- | -------------|
|
|
41
|
+
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
42
|
+
| **size** | [**number**] | | (optional) defaults to undefined|
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Return type
|
|
46
|
+
|
|
47
|
+
**any**
|
|
48
|
+
|
|
49
|
+
### Authorization
|
|
50
|
+
|
|
51
|
+
No authorization required
|
|
52
|
+
|
|
53
|
+
### HTTP request headers
|
|
54
|
+
|
|
55
|
+
- **Content-Type**: Not defined
|
|
56
|
+
- **Accept**: application/json
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### HTTP response details
|
|
60
|
+
| Status code | Description | Response headers |
|
|
61
|
+
|-------------|-------------|------------------|
|
|
62
|
+
|**200** | OK | - |
|
|
63
|
+
|
|
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
|
+
|
|
66
|
+
# **changelogsIdDelete**
|
|
67
|
+
> any changelogsIdDelete()
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Example
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
import {
|
|
74
|
+
ChangelogResourceApi,
|
|
75
|
+
Configuration
|
|
76
|
+
} from '@joao.sumi/qdule';
|
|
77
|
+
|
|
78
|
+
const configuration = new Configuration();
|
|
79
|
+
const apiInstance = new ChangelogResourceApi(configuration);
|
|
80
|
+
|
|
81
|
+
let id: number; // (default to undefined)
|
|
82
|
+
|
|
83
|
+
const { status, data } = await apiInstance.changelogsIdDelete(
|
|
84
|
+
id
|
|
85
|
+
);
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Parameters
|
|
89
|
+
|
|
90
|
+
|Name | Type | Description | Notes|
|
|
91
|
+
|------------- | ------------- | ------------- | -------------|
|
|
92
|
+
| **id** | [**number**] | | defaults to undefined|
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Return type
|
|
96
|
+
|
|
97
|
+
**any**
|
|
98
|
+
|
|
99
|
+
### Authorization
|
|
100
|
+
|
|
101
|
+
No authorization required
|
|
102
|
+
|
|
103
|
+
### HTTP request headers
|
|
104
|
+
|
|
105
|
+
- **Content-Type**: Not defined
|
|
106
|
+
- **Accept**: application/json
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### HTTP response details
|
|
110
|
+
| Status code | Description | Response headers |
|
|
111
|
+
|-------------|-------------|------------------|
|
|
112
|
+
|**200** | OK | - |
|
|
113
|
+
|
|
114
|
+
[[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)
|
|
115
|
+
|
|
116
|
+
# **changelogsIdGet**
|
|
117
|
+
> any changelogsIdGet()
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
### Example
|
|
121
|
+
|
|
122
|
+
```typescript
|
|
123
|
+
import {
|
|
124
|
+
ChangelogResourceApi,
|
|
125
|
+
Configuration
|
|
126
|
+
} from '@joao.sumi/qdule';
|
|
127
|
+
|
|
128
|
+
const configuration = new Configuration();
|
|
129
|
+
const apiInstance = new ChangelogResourceApi(configuration);
|
|
130
|
+
|
|
131
|
+
let id: number; // (default to undefined)
|
|
132
|
+
|
|
133
|
+
const { status, data } = await apiInstance.changelogsIdGet(
|
|
134
|
+
id
|
|
135
|
+
);
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Parameters
|
|
139
|
+
|
|
140
|
+
|Name | Type | Description | Notes|
|
|
141
|
+
|------------- | ------------- | ------------- | -------------|
|
|
142
|
+
| **id** | [**number**] | | defaults to undefined|
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
### Return type
|
|
146
|
+
|
|
147
|
+
**any**
|
|
148
|
+
|
|
149
|
+
### Authorization
|
|
150
|
+
|
|
151
|
+
No authorization required
|
|
152
|
+
|
|
153
|
+
### HTTP request headers
|
|
154
|
+
|
|
155
|
+
- **Content-Type**: Not defined
|
|
156
|
+
- **Accept**: application/json
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
### HTTP response details
|
|
160
|
+
| Status code | Description | Response headers |
|
|
161
|
+
|-------------|-------------|------------------|
|
|
162
|
+
|**200** | OK | - |
|
|
163
|
+
|
|
164
|
+
[[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)
|
|
165
|
+
|
|
166
|
+
# **changelogsIdPut**
|
|
167
|
+
> any changelogsIdPut(changelogUpdateRequest)
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
### Example
|
|
171
|
+
|
|
172
|
+
```typescript
|
|
173
|
+
import {
|
|
174
|
+
ChangelogResourceApi,
|
|
175
|
+
Configuration,
|
|
176
|
+
ChangelogUpdateRequest
|
|
177
|
+
} from '@joao.sumi/qdule';
|
|
178
|
+
|
|
179
|
+
const configuration = new Configuration();
|
|
180
|
+
const apiInstance = new ChangelogResourceApi(configuration);
|
|
181
|
+
|
|
182
|
+
let id: number; // (default to undefined)
|
|
183
|
+
let changelogUpdateRequest: ChangelogUpdateRequest; //
|
|
184
|
+
|
|
185
|
+
const { status, data } = await apiInstance.changelogsIdPut(
|
|
186
|
+
id,
|
|
187
|
+
changelogUpdateRequest
|
|
188
|
+
);
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### Parameters
|
|
192
|
+
|
|
193
|
+
|Name | Type | Description | Notes|
|
|
194
|
+
|------------- | ------------- | ------------- | -------------|
|
|
195
|
+
| **changelogUpdateRequest** | **ChangelogUpdateRequest**| | |
|
|
196
|
+
| **id** | [**number**] | | defaults to undefined|
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
### Return type
|
|
200
|
+
|
|
201
|
+
**any**
|
|
202
|
+
|
|
203
|
+
### Authorization
|
|
204
|
+
|
|
205
|
+
No authorization required
|
|
206
|
+
|
|
207
|
+
### HTTP request headers
|
|
208
|
+
|
|
209
|
+
- **Content-Type**: application/json
|
|
210
|
+
- **Accept**: application/json
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
### HTTP response details
|
|
214
|
+
| Status code | Description | Response headers |
|
|
215
|
+
|-------------|-------------|------------------|
|
|
216
|
+
|**200** | OK | - |
|
|
217
|
+
|**400** | Bad Request | - |
|
|
218
|
+
|
|
219
|
+
[[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)
|
|
220
|
+
|
|
221
|
+
# **changelogsPost**
|
|
222
|
+
> any changelogsPost(changelogCreateRequest)
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
### Example
|
|
226
|
+
|
|
227
|
+
```typescript
|
|
228
|
+
import {
|
|
229
|
+
ChangelogResourceApi,
|
|
230
|
+
Configuration,
|
|
231
|
+
ChangelogCreateRequest
|
|
232
|
+
} from '@joao.sumi/qdule';
|
|
233
|
+
|
|
234
|
+
const configuration = new Configuration();
|
|
235
|
+
const apiInstance = new ChangelogResourceApi(configuration);
|
|
236
|
+
|
|
237
|
+
let changelogCreateRequest: ChangelogCreateRequest; //
|
|
238
|
+
|
|
239
|
+
const { status, data } = await apiInstance.changelogsPost(
|
|
240
|
+
changelogCreateRequest
|
|
241
|
+
);
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
### Parameters
|
|
245
|
+
|
|
246
|
+
|Name | Type | Description | Notes|
|
|
247
|
+
|------------- | ------------- | ------------- | -------------|
|
|
248
|
+
| **changelogCreateRequest** | **ChangelogCreateRequest**| | |
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
### Return type
|
|
252
|
+
|
|
253
|
+
**any**
|
|
254
|
+
|
|
255
|
+
### Authorization
|
|
256
|
+
|
|
257
|
+
No authorization required
|
|
258
|
+
|
|
259
|
+
### HTTP request headers
|
|
260
|
+
|
|
261
|
+
- **Content-Type**: application/json
|
|
262
|
+
- **Accept**: application/json
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
### HTTP response details
|
|
266
|
+
| Status code | Description | Response headers |
|
|
267
|
+
|-------------|-------------|------------------|
|
|
268
|
+
|**200** | OK | - |
|
|
269
|
+
|**400** | Bad Request | - |
|
|
270
|
+
|
|
271
|
+
[[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)
|
|
272
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ChangelogUpdateRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**dateTime** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**scheduleId** | **number** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ChangelogUpdateRequest } from '@joao.sumi/qdule';
|
|
16
|
+
|
|
17
|
+
const instance: ChangelogUpdateRequest = {
|
|
18
|
+
dateTime,
|
|
19
|
+
description,
|
|
20
|
+
scheduleId,
|
|
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)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ClientCreateRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**cellPhone** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ClientCreateRequest } from '@joao.sumi/qdule';
|
|
16
|
+
|
|
17
|
+
const instance: ClientCreateRequest = {
|
|
18
|
+
name,
|
|
19
|
+
email,
|
|
20
|
+
cellPhone,
|
|
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)
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
# ClientResourceApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**clientsIdDelete**](#clientsiddelete) | **DELETE** /clients/{id} | Delete Client|
|
|
8
|
+
|[**clientsIdGet**](#clientsidget) | **GET** /clients/{id} | Find Client By Id|
|
|
9
|
+
|[**clientsIdPut**](#clientsidput) | **PUT** /clients/{id} | Update Client|
|
|
10
|
+
|[**clientsPost**](#clientspost) | **POST** /clients | Create Client|
|
|
11
|
+
|
|
12
|
+
# **clientsIdDelete**
|
|
13
|
+
> any clientsIdDelete()
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import {
|
|
20
|
+
ClientResourceApi,
|
|
21
|
+
Configuration
|
|
22
|
+
} from '@joao.sumi/qdule';
|
|
23
|
+
|
|
24
|
+
const configuration = new Configuration();
|
|
25
|
+
const apiInstance = new ClientResourceApi(configuration);
|
|
26
|
+
|
|
27
|
+
let id: number; // (default to undefined)
|
|
28
|
+
|
|
29
|
+
const { status, data } = await apiInstance.clientsIdDelete(
|
|
30
|
+
id
|
|
31
|
+
);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Parameters
|
|
35
|
+
|
|
36
|
+
|Name | Type | Description | Notes|
|
|
37
|
+
|------------- | ------------- | ------------- | -------------|
|
|
38
|
+
| **id** | [**number**] | | defaults to undefined|
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Return type
|
|
42
|
+
|
|
43
|
+
**any**
|
|
44
|
+
|
|
45
|
+
### Authorization
|
|
46
|
+
|
|
47
|
+
[SecurityScheme](../README.md#SecurityScheme)
|
|
48
|
+
|
|
49
|
+
### HTTP request headers
|
|
50
|
+
|
|
51
|
+
- **Content-Type**: Not defined
|
|
52
|
+
- **Accept**: application/json
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### HTTP response details
|
|
56
|
+
| Status code | Description | Response headers |
|
|
57
|
+
|-------------|-------------|------------------|
|
|
58
|
+
|**200** | OK | - |
|
|
59
|
+
|**401** | Not Authorized | - |
|
|
60
|
+
|**403** | Not Allowed | - |
|
|
61
|
+
|
|
62
|
+
[[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)
|
|
63
|
+
|
|
64
|
+
# **clientsIdGet**
|
|
65
|
+
> any clientsIdGet()
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### Example
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
import {
|
|
72
|
+
ClientResourceApi,
|
|
73
|
+
Configuration
|
|
74
|
+
} from '@joao.sumi/qdule';
|
|
75
|
+
|
|
76
|
+
const configuration = new Configuration();
|
|
77
|
+
const apiInstance = new ClientResourceApi(configuration);
|
|
78
|
+
|
|
79
|
+
let id: number; // (default to undefined)
|
|
80
|
+
|
|
81
|
+
const { status, data } = await apiInstance.clientsIdGet(
|
|
82
|
+
id
|
|
83
|
+
);
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### Parameters
|
|
87
|
+
|
|
88
|
+
|Name | Type | Description | Notes|
|
|
89
|
+
|------------- | ------------- | ------------- | -------------|
|
|
90
|
+
| **id** | [**number**] | | defaults to undefined|
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
### Return type
|
|
94
|
+
|
|
95
|
+
**any**
|
|
96
|
+
|
|
97
|
+
### Authorization
|
|
98
|
+
|
|
99
|
+
[SecurityScheme](../README.md#SecurityScheme)
|
|
100
|
+
|
|
101
|
+
### HTTP request headers
|
|
102
|
+
|
|
103
|
+
- **Content-Type**: Not defined
|
|
104
|
+
- **Accept**: application/json
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
### HTTP response details
|
|
108
|
+
| Status code | Description | Response headers |
|
|
109
|
+
|-------------|-------------|------------------|
|
|
110
|
+
|**200** | OK | - |
|
|
111
|
+
|**401** | Not Authorized | - |
|
|
112
|
+
|**403** | Not Allowed | - |
|
|
113
|
+
|
|
114
|
+
[[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)
|
|
115
|
+
|
|
116
|
+
# **clientsIdPut**
|
|
117
|
+
> any clientsIdPut(clientUpdateRequest)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
### Example
|
|
121
|
+
|
|
122
|
+
```typescript
|
|
123
|
+
import {
|
|
124
|
+
ClientResourceApi,
|
|
125
|
+
Configuration,
|
|
126
|
+
ClientUpdateRequest
|
|
127
|
+
} from '@joao.sumi/qdule';
|
|
128
|
+
|
|
129
|
+
const configuration = new Configuration();
|
|
130
|
+
const apiInstance = new ClientResourceApi(configuration);
|
|
131
|
+
|
|
132
|
+
let id: number; // (default to undefined)
|
|
133
|
+
let clientUpdateRequest: ClientUpdateRequest; //
|
|
134
|
+
|
|
135
|
+
const { status, data } = await apiInstance.clientsIdPut(
|
|
136
|
+
id,
|
|
137
|
+
clientUpdateRequest
|
|
138
|
+
);
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### Parameters
|
|
142
|
+
|
|
143
|
+
|Name | Type | Description | Notes|
|
|
144
|
+
|------------- | ------------- | ------------- | -------------|
|
|
145
|
+
| **clientUpdateRequest** | **ClientUpdateRequest**| | |
|
|
146
|
+
| **id** | [**number**] | | defaults to undefined|
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### Return type
|
|
150
|
+
|
|
151
|
+
**any**
|
|
152
|
+
|
|
153
|
+
### Authorization
|
|
154
|
+
|
|
155
|
+
[SecurityScheme](../README.md#SecurityScheme)
|
|
156
|
+
|
|
157
|
+
### HTTP request headers
|
|
158
|
+
|
|
159
|
+
- **Content-Type**: application/json
|
|
160
|
+
- **Accept**: application/json
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
### HTTP response details
|
|
164
|
+
| Status code | Description | Response headers |
|
|
165
|
+
|-------------|-------------|------------------|
|
|
166
|
+
|**200** | OK | - |
|
|
167
|
+
|**401** | Not Authorized | - |
|
|
168
|
+
|**403** | Not Allowed | - |
|
|
169
|
+
|**400** | Bad Request | - |
|
|
170
|
+
|
|
171
|
+
[[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)
|
|
172
|
+
|
|
173
|
+
# **clientsPost**
|
|
174
|
+
> any clientsPost(clientCreateRequest)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
### Example
|
|
178
|
+
|
|
179
|
+
```typescript
|
|
180
|
+
import {
|
|
181
|
+
ClientResourceApi,
|
|
182
|
+
Configuration,
|
|
183
|
+
ClientCreateRequest
|
|
184
|
+
} from '@joao.sumi/qdule';
|
|
185
|
+
|
|
186
|
+
const configuration = new Configuration();
|
|
187
|
+
const apiInstance = new ClientResourceApi(configuration);
|
|
188
|
+
|
|
189
|
+
let clientCreateRequest: ClientCreateRequest; //
|
|
190
|
+
|
|
191
|
+
const { status, data } = await apiInstance.clientsPost(
|
|
192
|
+
clientCreateRequest
|
|
193
|
+
);
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### Parameters
|
|
197
|
+
|
|
198
|
+
|Name | Type | Description | Notes|
|
|
199
|
+
|------------- | ------------- | ------------- | -------------|
|
|
200
|
+
| **clientCreateRequest** | **ClientCreateRequest**| | |
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
### Return type
|
|
204
|
+
|
|
205
|
+
**any**
|
|
206
|
+
|
|
207
|
+
### Authorization
|
|
208
|
+
|
|
209
|
+
No authorization required
|
|
210
|
+
|
|
211
|
+
### HTTP request headers
|
|
212
|
+
|
|
213
|
+
- **Content-Type**: application/json
|
|
214
|
+
- **Accept**: application/json
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
### HTTP response details
|
|
218
|
+
| Status code | Description | Response headers |
|
|
219
|
+
|-------------|-------------|------------------|
|
|
220
|
+
|**200** | OK | - |
|
|
221
|
+
|**400** | Bad Request | - |
|
|
222
|
+
|
|
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
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# ClientUpdateRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**name** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**email** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**cellPhone** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ClientUpdateRequest } from '@joao.sumi/qdule';
|
|
16
|
+
|
|
17
|
+
const instance: ClientUpdateRequest = {
|
|
18
|
+
name,
|
|
19
|
+
email,
|
|
20
|
+
cellPhone,
|
|
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)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# DayOfWeek
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Monday` (value: `'MONDAY'`)
|
|
7
|
+
|
|
8
|
+
* `Tuesday` (value: `'TUESDAY'`)
|
|
9
|
+
|
|
10
|
+
* `Wednesday` (value: `'WEDNESDAY'`)
|
|
11
|
+
|
|
12
|
+
* `Thursday` (value: `'THURSDAY'`)
|
|
13
|
+
|
|
14
|
+
* `Friday` (value: `'FRIDAY'`)
|
|
15
|
+
|
|
16
|
+
* `Saturday` (value: `'SATURDAY'`)
|
|
17
|
+
|
|
18
|
+
* `Sunday` (value: `'SUNDAY'`)
|
|
19
|
+
|
|
20
|
+
[[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,30 @@
|
|
|
1
|
+
# ScheduleCreateRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**treatmentId** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**clientId** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**startDateTime** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**endDateTime** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**reason** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**status** | [**ScheduleStatus**](ScheduleStatus.md) | | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { ScheduleCreateRequest } from '@joao.sumi/qdule';
|
|
19
|
+
|
|
20
|
+
const instance: ScheduleCreateRequest = {
|
|
21
|
+
treatmentId,
|
|
22
|
+
clientId,
|
|
23
|
+
startDateTime,
|
|
24
|
+
endDateTime,
|
|
25
|
+
reason,
|
|
26
|
+
status,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|